-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
r/dynamodb_table: fix crash when table is updated without GSI updates #39752
Conversation
Community NoteVoting for Prioritization
For Submitters
|
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.
Looks good! 🚀
--- PASS: TestAccDynamoDBTable_streamSpecificationValidation (5.60s)
--- PASS: TestAccDynamoDBTable_TTL_validate (13.03s)
--- PASS: TestAccDynamoDBTable_tags_DefaultTags_nullNonOverlappingResourceTag (54.02s)
--- PASS: TestAccDynamoDBTable_tags_DefaultTags_nullOverlappingResourceTag (54.25s)
--- PASS: TestAccDynamoDBTable_tags_DefaultTags_emptyProviderOnlyTag (54.90s)
--- PASS: TestAccDynamoDBTable_tags_ComputedTag_OnCreate (55.68s)
--- PASS: TestAccDynamoDBTable_tags_DefaultTags_emptyResourceTag (57.24s)
--- PASS: TestAccDynamoDBTable_GsiUpdateNonKeyAttributes_emptyPlan (69.85s)
--- PASS: TestAccDynamoDBTable_tags_DefaultTags_updateToProviderOnly (70.50s)
--- PASS: TestAccDynamoDBTable_tags_DefaultTags_updateToResourceOnly (73.37s)
--- PASS: TestAccDynamoDBTable_tags_ComputedTag_OnUpdate_Add (75.83s)
--- PASS: TestAccDynamoDBTable_tags_ComputedTag_OnUpdate_Replace (78.97s)
--- PASS: TestAccDynamoDBTable_tags_EmptyTag_OnUpdate_Add (97.56s)
--- PASS: TestAccDynamoDBTable_lsiNonKeyAttributes (36.64s)
--- PASS: TestAccDynamoDBTable_tags_DefaultTags_overlapping (108.13s)
--- PASS: TestAccDynamoDBTable_enablePITR (66.86s)
--- PASS: TestAccDynamoDBTable_gsiOnDemandThroughput (67.29s)
--- PASS: TestAccDynamoDBTable_onDemandThroughput (65.19s)
--- PASS: TestAccDynamoDBTable_streamSpecification (71.71s)
--- PASS: TestAccDynamoDBTable_tags (126.34s)
--- PASS: TestAccDynamoDBTable_attributeUpdateValidation (6.95s)
--- PASS: TestAccDynamoDBTable_extended (134.94s)
--- PASS: TestAccDynamoDBTable_lsiUpdate (61.75s)
--- PASS: TestAccDynamoDBTable_streamSpecificationDiffs (147.97s)
--- PASS: TestAccDynamoDBTable_tags_EmptyMap (37.05s)
--- PASS: TestAccDynamoDBTable_encryption (121.43s)
--- PASS: TestAccDynamoDBTable_tags_AddOnUpdate (57.30s)
--- PASS: TestAccDynamoDBTable_tags_DefaultTags_nonOverlapping (78.75s)
--- PASS: TestAccDynamoDBTable_tags_EmptyTag_OnCreate (48.48s)
--- PASS: TestAccDynamoDBTable_disappears (21.11s)
--- PASS: TestAccDynamoDBTable_tags_DefaultTags_providerOnly (103.21s)
--- PASS: TestAccDynamoDBTable_BillingMode_payPerRequestToProvisionedIgnoreChanges (208.03s)
--- PASS: TestAccDynamoDBTable_tags_null (28.03s)
--- PASS: TestAccDynamoDBTable_BillingMode_payPerRequestToProvisioned (218.51s)
--- PASS: TestAccDynamoDBTable_gsiUpdateCapacity (55.01s)
--- PASS: TestAccDynamoDBTable_Replica_singleDefaultKeyEncrypted (228.23s)
--- PASS: TestAccDynamoDBTable_tags_EmptyTag_OnUpdate_Replace (40.25s)
--- PASS: TestAccDynamoDBTable_TTL_disabled (28.17s)
--- PASS: TestAccDynamoDBTable_restoreCrossRegion (247.18s)
--- PASS: TestAccDynamoDBTable_TTL_update (32.51s)
--- PASS: TestAccDynamoDBTable_Disappears_payPerRequestWithGSI (77.27s)
--- PASS: TestAccDynamoDBTable_tableClass_migrate (37.17s)
--- PASS: TestAccDynamoDBTable_Replica_singleStreamSpecification (262.76s)
--- PASS: TestAccDynamoDBTable_BillingModeGSI_payPerRequestToProvisioned (215.88s)
--- PASS: TestAccDynamoDBTable_importTable (160.17s)
--- PASS: TestAccDynamoDBTable_tableClass_ConcurrentModification (46.60s)
--- PASS: TestAccDynamoDBTable_TTL_enabled (29.78s)
--- PASS: TestAccDynamoDBTable_tableClassExplicitDefault (26.23s)
--- PASS: TestAccDynamoDBTable_tableClassInfrequentAccess (44.72s)
--- PASS: TestAccDynamoDBTable_deletion_protection (30.77s)
--- PASS: TestAccDynamoDBTable_BillingMode_payPerRequestBasic (345.30s)
--- PASS: TestAccDynamoDBTable_gsiUpdateNonKeyAttributes (385.30s)
--- PASS: TestAccDynamoDBTable_basic (22.10s)
--- PASS: TestAccDynamoDBTable_Replica_tagsOneOfTwo (266.90s)
--- PASS: TestAccDynamoDBTable_Replica_pitrKMS (333.85s)
--- PASS: TestAccDynamoDBTable_Replica_single (489.52s)
--- PASS: TestAccDynamoDBTable_Replica_tagsTwoOfTwo (317.62s)
--- PASS: TestAccDynamoDBTable_Replica_tagsUpdate (393.31s)
--- PASS: TestAccDynamoDBTable_BillingMode_provisionedToPayPerRequest (612.65s)
--- PASS: TestAccDynamoDBTable_Replica_singleDefaultKeyEncryptedAmazonOwned (230.44s)
--- PASS: TestAccDynamoDBTable_Replica_pitr (332.20s)
--- PASS: TestAccDynamoDBTable_Replica_singleCMK (250.07s)
--- PASS: TestAccDynamoDBTable_attributeUpdate (661.48s)
--- PASS: TestAccDynamoDBTable_gsiUpdateOtherAttributes (627.31s)
--- PASS: TestAccDynamoDBTable_Replica_tagsNext (578.05s)
--- PASS: TestAccDynamoDBTable_Replica_multiple (619.92s)
--- PASS: TestAccDynamoDBTable_backupEncryption (781.73s)
--- PASS: TestAccDynamoDBTable_backup_overrideEncryption (863.20s)
--- PASS: TestAccDynamoDBTable_Replica_doubleAddCMK (925.39s)
--- PASS: TestAccDynamoDBTable_BillingMode_provisionedToPayPerRequestIgnoreChanges (1071.67s)
--- PASS: TestAccDynamoDBTable_BillingModeGSI_provisionedToPayPerRequest (1260.60s)
acctest.MatchResourceAttrRegionalARNRegion(resourceName, names.AttrARN, "dynamodb", acctest.Region(), regexache.MustCompile(`table/XXX`)), | ||
acctest.MatchResourceAttrRegionalARNRegion(resourceNameRestore, names.AttrARN, "dynamodb", acctest.AlternateRegion(), regexache.MustCompile(`table/YYY`)), | ||
acctest.MatchResourceAttrRegionalARNRegion(resourceName, names.AttrARN, "dynamodb", acctest.Region(), regexache.MustCompile(`table/.+$`)), | ||
acctest.MatchResourceAttrRegionalARNRegion(resourceNameRestore, names.AttrARN, "dynamodb", acctest.AlternateRegion(), regexache.MustCompile(`table/.+$`)), |
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.
Oops
This functionality has been released in v5.72.1 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! |
Description
Relations
Relates #37799
Closes #39747
References
Output from Acceptance Testing
Before
After