When creating aws_lakeformation_resource_lf_tags tags on all columns in a table, specifying wildcard alone without column_names is not working as expected.
The goal is to not specify individual/all column names and just use the wildcard = true flag but Terraform is expecting column names
resource "aws_lakeformation_lf_tag" "product" {
key = "example_key" // The key for the tag
values = ["example_value", "example_value1", "example_value2"] // The values for the tag
}
resource "aws_lakeformation_lf_tag" "tag1" {
key = "example_key" // The key for the tag
values = ["example_value", "example_value1", "example_value2"] // The values for the tag
}
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
Volunteering to Work on This Issue
If you are interested in working on this issue, please leave a comment.
If this would be your first contribution, please review the contribution guide.
Terraform Core Version
1.6.2
AWS Provider Version
5.34.0
Affected Resource(s)
When creating
aws_lakeformation_resource_lf_tags
tags on all columns in a table, specifyingwildcard
alone withoutcolumn_names
is not working as expected.The goal is to not specify individual/all column names and just use the
wildcard = true
flag but Terraform is expecting column namesExpected Behavior
This should tag all columns in the specified table except for
col2
with the specifiedlf_tag
Actual Behavior
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Steps to Reproduce
Create LakeFormation tag resource https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lakeformation_lf_tag
Apply LakeFormation tags to a particular table with
table_with_columns
parameter andexclude_column_names
parameter https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lakeformation_permissions#table_with_columnsDebug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None