dynamodb_table_item does not update after change is made #15700
Labels
bug
Addresses a defect in current functionality.
service/dynamodb
Issues and PRs that pertain to the dynamodb service.
Milestone
When I create a dynamodb item in terraform, it works fine. But when I then make a change to the item, the
terraform apply
succeeds, but the change does not take effect in the actual Dynamo table.Terraform version
Affected Resource
aws_dynamodb_table_item
Terraform Configuration Files
I am just using the official example on the resource page.
First apply:
If I run
terraform apply
, this produces the expected table, with all five columns.Second apply:
If I then change the item configuration to:
and run an
apply
, no change is made in the table in AWS. All columns still exist.Debug Output
After running the second apply:
Expected Behavior
I expect the second
terraform apply
to update the dynamo table in AWS and remove the"two": {"N": "22222"}
column from the table.Actual Behavior
The
terraform apply
succeeds according to the output. However, the table in AWS is not updated. All original columns still exist in the table.Steps to Reproduce
terraform apply
using the first apply configuration.terraform apply
a second time.The text was updated successfully, but these errors were encountered: