-
Notifications
You must be signed in to change notification settings - Fork 10.2k
No method to ignore changes in DynamoDB GSI #671
Copy link
Copy link
Labels
bugAddresses a defect in current functionality.Addresses a defect in current functionality.service/dynamodbIssues and PRs that pertain to the dynamodb service.Issues and PRs that pertain to the dynamodb service.upstream-terraformAddresses functionality related to the Terraform core binary.Addresses functionality related to the Terraform core binary.
Milestone
Metadata
Metadata
Assignees
Labels
bugAddresses a defect in current functionality.Addresses a defect in current functionality.service/dynamodbIssues and PRs that pertain to the dynamodb service.Issues and PRs that pertain to the dynamodb service.upstream-terraformAddresses functionality related to the Terraform core binary.Addresses functionality related to the Terraform core binary.
Type
Fields
Give feedbackNo fields configured for issues without a type.
This issue was originally opened by @cypai as hashicorp/terraform#13393. It was migrated here as part of the provider split. The original body of the issue is below.
Terraform Version
$ terraform -v
Terraform v0.8.8
Affected Resource(s)
Terraform Configuration Files
References
We would like to ignore read/write capacity for the GSI as well, but this configuration only ignores the read/write capacity of the top-level table. We weren't able to find any usable workaround, since we can't interpolate variables in the lifecycle, and wildcards are not supported.
Technically we could hardcode the randomly generated number like
ignore_changes = ["global_secondary_index.3291674533.read_capacity"], but that's obviously a terrible solution since it would change every time we make a change.