[Bug]: Terraform cannot handle aws_lakeformation_lf_tag with colon in Tag Key name #26920
Labels
bug
Addresses a defect in current functionality.
service/lakeformation
Issues and PRs that pertain to the lakeformation service.
Milestone
Terraform Core Version
1.0.3
AWS Provider Version
4.31.0
Affected Resource(s)
Expected Behavior
When creating a Lake Formation Tag with a colon in the name, the resource should create successfully, and
terraform apply
should succeed for theaws_lakeformation_tag
resources.Actual Behavior
terraform apply
fails, the tags are created, the tags are added to the terraform state file, and futureterraform plan
runs fail due to terraform expecting a different input from the state file (colons interfering with thecatalog:tagkey
structure)Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Steps to Reproduce
aws_lakeformation_tag
resource with a colon in the tag Key nameterraform plan
terraform apply
After apply failure, future
terraform plan
runs will failDebug Output
terraform plan
outputterraform apply
outputTerraform State File (after failed apply)
Future
terraform plan
outputsProof of Tag Creation (AWS Console)
Panic Output
No response
Important Factoids
No response
References
Naming convention follows AWS guidance on creating a centralized Glue Data Catalog (in support of Data Mesh architecture): https://aws.amazon.com/blogs/big-data/build-a-modern-data-architecture-and-data-mesh-pattern-at-scale-using-aws-lake-formation-tag-based-access-control/
Would you like to implement a fix?
No response
The text was updated successfully, but these errors were encountered: