aws_glue_catalog_table fails modification due to implicit column values #19739
Labels
bug
Addresses a defect in current functionality.
service/glue
Issues and PRs that pertain to the glue service.
Milestone
I've just recently started to work with Glue tables in terraform, and I'm running into a problem with the Glue schema registry integration. I saw the following comment while searching for solutions in other issues, and I think it does a good job of describing the problem.
There is a specific issue relating to
aws_glue_catalog_table
[...] because onlyschema_reference
ORcolumns
can be specified - it's invalid to specify both. If I specifyschema_reference
, any future updates to the resource pulls back an implicit value for columns, so that updates attempts to set both values, even though only 1 is explicitly set in my tf files. This appears fine in the plan phase, but in the apply phase you'll see:This issue is causing any modifications to the table to require me to taint the resource, causing it to destroy and re-create.
Originally posted by @jeremyolliver in #19157 (comment)
The text was updated successfully, but these errors were encountered: