-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
aws_ssm_parameter Intelligent-Tiering will not create Advanced Tier parameters #18521
Comments
I have done this test again with version 1.0.0 of Terraform and 3.45 of the AWS provider, however it is still giving the same message.
|
It also doesn't automatically use the advanced tier after reaching the limit of standard tier parameters. Tested with AWS provider v3.52.0.
|
When an SSM parameter uses tier of Standard or Advanced the Terraform plan shows the ssm parameter creation with the tier in the parameter. When Intellligent-Tiering is used the plan does not show the tier in the plan, I assume its because tier is ignored as a property by Terraform as it may change. However looking at the Terraform debug logs with aws provider 3.58.0 I can see the following warning
and then the debug of the PUT request to ssm/putparameter shows the body of the message with the Tier set to Standard
|
Any chance this could get looked at, Intelligent-Tiering as it stands does not work. It does not change the parameter type based on its size threshold or the number of standard parameters threshold. |
Got bit by this bug today. |
This functionality has been released in v4.18.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. Thank you! |
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. |
Community Note
Terraform CLI and Terraform AWS Provider Version
Terraform v0.15.0
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Debug Output
https://gist.github.com/seanpascual/ff93fc20e6eae7010171ff729df7eb81
Panic Output
Expected Behavior
SSM parameter should've been created with the Advanced tier automatically
Actual Behavior
SSM parameter was attempted to be created in the Standard Tier even though it meets the requirements for Advanced Tier with Intelligent-Tiering. Thus was producing an error as the string is more than the 4kb limit for the Standard Tier.
I've run this with the aws cli ssm put-parameter command it successfully chooses the correct tier for the long string.
Steps to Reproduce
terraform apply
the above codeImportant Factoids
References
The text was updated successfully, but these errors were encountered: