Skip to content

Stack Tags merging bug #38

@starchx

Description

@starchx
  timtest:
    template_file: templates/global/alb.rb
    on_failure: DO_NOTHING
    tags:
      CostCentre: EDS
    capabilities: [CAPABILITY_IAM]
    stacks:
      qa:
        tags:
          Account: NONPROD
          Environment: QA
        params:
          Environment: QA
          AlbSchema: internal
          targetgroups:
            XXXXX:
              healthcheck_path: '/healthcheck.html'
              listenerrules:
                - priority: 100
                  conditions:
                    host-header: 'xxxxx.x.x'
      stg:
        tags:
          Account: NONPROD
          Environment: STG
        params:
          Environment: STG
          AlbSchema: internal
          targetgroups:
            XXXXX:
              healthcheck_path: '/healthcheck.html'
              listenerrules:
                - priority: 100
                  conditions:
                    host-header: 'xxxxx.x.x'

I run bora apply timtest-qa, the stack it created has Tags:

  CostCentre: EDS
  Account: NONPROD
  Environment: STG  <--- Should be QA

Based on my testing, Bora always uses the last stack Tags.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions