-
Notifications
You must be signed in to change notification settings - Fork 9.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
aws_dynamodb_table_item does not work if one of the field contains a hyphen #10385
Comments
Similar situation when the key contains a
|
FYI this bug happens when evaluating the state of aws_dynamodb_table_item. So once you have a aws_dynamodb_table_item resource in your state with one of the bad cases above it can't be fixed without manually clearing that out. I just spent hours recreating my table, renaming attributes, changing attribute values, completely removing any references to aws_dynamodb_table_item, etc. all of which had no impact since the bad values were cached in my S3 state file. |
Same here 😢
Added |
This functionality has been released in v4.9.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Terraform Version
Terraform v0.11.14
Affected Resource(s)
Terraform Configuration Files
Debug Output
https://gist.github.com/thelo-gaultier/d540ff24beebadca969d9db454ca8f4d
Expected Behavior
the
item_2
should be created successfullyActual Behavior
Terraform throw this exception
Steps to Reproduce
terraform apply
References
Dynamo offers expression projection to solve this problem, however this does not seem to be available in the current terraform provider documentation
The text was updated successfully, but these errors were encountered: