-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
provider/consul: consul_key_prefix.subkeys
improperly handles keys containing '.'
#6471
Comments
Ping @apparentlymart |
This is caused by a known core bug: #2143 |
Yah, unfortunately this (maps with keys that have periods) is just something Terraform can't do for any provider right now... If the core were fixed I expect this would just start working. In the mean time all I can suggest is to choose Consul key names that don't contain periods. Sorry :( |
The way we worked around this in some API Gateway resources recently was to add a field I think that such workarounds should be limited to cases where map keys are not fully in user's control (i.e. keys are prescribed by the API) and also such workarounds will be deprecated once we get the core bug fixed. |
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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Terraform Version
Terraform v0.6.15
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
Actual Behavior
Steps to Reproduce
consul_key_prefix
withsubkeys
key containing a.
characterterraform plan
orterraform apply
The text was updated successfully, but these errors were encountered: