Skip to content
This repository has been archived by the owner on Jul 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #116 from iriahk89/master
Browse files Browse the repository at this point in the history
update tag inheritance
  • Loading branch information
arnaudlh authored Dec 10, 2020
2 parents dbb48d4 + e818056 commit d60741e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ locals {
"landingzone" = var.landingzone.key
}

tags = merge(var.tags, local.landingzone_tag, { "level" = var.landingzone.level }, { "environment" = local.global_settings.environment }, { "rover_version" = var.rover_version })
tags = merge(var.tags, local.landingzone_tag, local.global_settings.tags, { "level" = var.landingzone.level }, { "environment" = local.global_settings.environment }, { "rover_version" = var.rover_version })

global_settings = {
prefix = data.terraform_remote_state.remote[var.landingzone.global_settings_key].outputs.global_settings.prefix
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ locals {
"landingzone" = var.landingzone.key
}

tags = merge(var.tags, local.landingzone_tag, { "level" = var.landingzone.level }, { "environment" = local.global_settings.environment }, { "rover_version" = var.rover_version })
tags = merge(var.tags, local.landingzone_tag, local.global_settings.tags, { "level" = var.landingzone.level }, { "environment" = local.global_settings.environment }, { "rover_version" = var.rover_version })

global_settings = data.terraform_remote_state.remote[var.landingzone.global_settings_key].outputs.global_settings

Expand Down

0 comments on commit d60741e

Please sign in to comment.