Open ohmer opened 2 years ago
Hey @ohmer π Thank you for taking the time to file this issue. In looking into it, it seems this is an error message coming back from the AWS API itself, rather than a bug within the provider (I suspect you've already deduced this). Based on the "potential Terraform configuration" section, it looks like you're interested in a new data source that uses the describeRegionSettings
API to determine the supported settings; is that accurate?
Hey @justinretzolk ,
New data source, yes it is a suggestion. I thought that silently handling this inside the resource would be less ideal. What do you think?
Bumping as I am hitting the same issue. Has a work around been found?
It seems that the available settings are different for different regions. For example Timestream
at this moment can be set for eu-west-1 but not for eu-west-3.
Skipping this setting causes perpetual change to be displayed in eu-west-1. Including this setting causes an error on apply in eu-west-3.
I've started working on this feature that might at least answer the perpetual change issue. https://github.com/hashicorp/terraform-provider-aws/pull/33993
Unfortunately I'm not at capacity to get into the acceptance testing framework. If anyone would like to give me direction of missing pieces - would really appreciate it βοΈ
Community Note
Description
I have a module which contains the following:
It is part of a baseline and I would like it to apply to any region. It fails to apply in
us-west-1
with the error message below:I believe the root cause is the list of service differs by region:
DocumentDB is not in
us-west-1
but is inus-east-1
New or Affected Resource(s)
Potential Terraform Configuration
Not tested but probably something like that:
References
13449