acceptable-kilobyte-27376
12/29/2023, 7:26 PMlocals {
tags = {
App = "${<http://var.app|var.app>}"
ManagedBy = "Terraform"
TfSource = "<repo>"
Environment = "${var.aws_env}"
}
}
provider "aws" {
default_tags {
tags = merge(var.snowflake_tags, local.tags)
}
}
However in a lot of cases we populate environment via a data lookup and the Tagging Policy is showing the values as empty. The resources are being made with the correct tags, however it feels like the infracost poll is not interpreting the values.
ex:
locals {
tags = {
App = "${<http://var.app|var.app>}"
ManagedBy = "Terraform"
TfSource = "<repo>"
Environment = module.account_lookup[var.aws_env].data.env_tag
}
}
provider "aws" {
default_tags {
tags = merge(var.snowflake_tags, local.tags)
}
}
This creates a huge issue for us from a usability/governance/review perspective. Which is fine if we can't use these features, it just seems like something that could or should work.white-airport-8778