-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Add validate DynamoDB indexes #6364
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR, @178inaba. I made a few changes to it and merged the PR manually
--- PASS: TestAccAWSDynamoDbTable_streamSpecificationValidation (63.20s)
--- PASS: TestAccAWSDynamoDbTable_attributeUpdateValidation (116.53s)
--- PASS: TestAccAWSDynamoDbTable_basic (242.64s)
--- PASS: TestAccAWSDynamoDbTable_lsiNonKeyAttributes (267.30s)
--- PASS: TestAccAWSDynamoDbTable_tags (278.20s)
--- PASS: TestAccAWSDynamoDbTable_Ttl_Enabled (289.55s)
--- PASS: TestAccAWSDynamoDbTable_gsiUpdateNonKeyAttributes_emptyPlan (356.93s)
--- PASS: TestAccAWSDynamoDbTable_streamSpecification (377.45s)
--- PASS: TestAccAWSDynamoDbTable_lsiUpdate (385.36s)
--- PASS: TestAccAWSDynamoDbTable_enablePitr (392.53s)
--- PASS: TestAccAWSDynamoDbTable_gsiUpdateCapacity (393.50s)
--- PASS: TestAccAWSDynamoDbTable_BillingMode_GSI_PayPerRequestToProvisioned (395.66s)
--- PASS: TestAccAWSDynamoDbTable_disappears (137.51s)
--- PASS: TestAccAWSDynamoDbTable_Ttl_Disabled (353.13s)
--- PASS: TestAccAWSDynamoDbTable_disappears_PayPerRequestWithGSI (315.35s)
--- PASS: TestAccAWSDynamoDbTable_BillingMode_PayPerRequestToProvisioned (209.88s)
--- PASS: TestAccAWSDynamoDbTable_encryption (526.61s)
--- PASS: TestAccAWSDynamoDbTable_extended (318.67s)
--- PASS: TestAccAWSDynamoDbTable_gsiUpdateNonKeyAttributes (569.22s)
--- PASS: TestAccAWSDynamoDbTable_attributeUpdate (875.70s)
--- PASS: TestAccAWSDynamoDbTable_gsiUpdateOtherAttributes (879.16s)
--- PASS: TestAccAWSDynamoDbTable_Replica_Single (1503.61s)
--- PASS: TestAccAWSDynamoDbTable_BillingMode_GSI_ProvisionedToPayPerRequest (1518.81s)
--- PASS: TestAccAWSDynamoDbTable_BillingMode_ProvisionedToPayPerRequest (1672.09s)
--- PASS: TestAccAWSDynamoDbTable_Replica_Multiple (1763.84s)
PR merged manually |
This has been released in version 3.28.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 for triage. Thanks! |
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. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Nice to meet you.
Changes proposed in this pull request:
There was no original test in
validateDynamoDbTableAttributes
.I thought about writing a test but stopped because I did not know how to create the argument
schema.ResourceDiff
.I performed this fix on
terraform plan
and confirmed that the results are correct.The following is the execution log at that time.
main.tf
log