-
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
resource/aws_ssm_parameter: Remove Tier from PutParameter if unsupported, fix testing for GovCloud #8664
Conversation
…lARN to make testing partition agnostic Output from AWS Standard acceptance testing: ``` --- PASS: TestAccAWSSSMParameter_disappears (11.87s) --- PASS: TestAccAWSSSMParameter_fullPath (18.76s) --- PASS: TestAccAWSSSMParameter_secure (19.57s) --- PASS: TestAccAWSSSMParameter_importBasic (21.88s) --- PASS: TestAccAWSSSMParameter_basic (22.18s) --- PASS: TestAccAWSSSMParameter_updateTags (27.94s) --- PASS: TestAccAWSSSMParameter_changeNameForcesNew (28.67s) --- PASS: TestAccAWSSSMParameter_overwrite (29.42s) --- PASS: TestAccAWSSSMParameter_updateDescription (39.28s) --- PASS: TestAccAWSSSMParameter_Tier (44.38s) --- PASS: TestAccAWSSSMParameter_secure_with_key (47.89s) --- PASS: TestAccAWSSSMParameter_secure_keyUpdate (71.05s) ``` Output from AWS GovCloud (US) acceptance testing: ``` --- PASS: TestAccAWSSSMParameter_disappears (15.13s) --- PASS: TestAccAWSSSMParameter_importBasic (22.73s) --- PASS: TestAccAWSSSMParameter_fullPath (22.85s) --- PASS: TestAccAWSSSMParameter_secure (23.19s) --- PASS: TestAccAWSSSMParameter_basic (23.31s) --- PASS: TestAccAWSSSMParameter_changeNameForcesNew (35.53s) --- PASS: TestAccAWSSSMParameter_overwrite (35.85s) --- PASS: TestAccAWSSSMParameter_updateDescription (37.38s) --- PASS: TestAccAWSSSMParameter_updateTags (38.71s) --- PASS: TestAccAWSSSMParameter_Tier (49.46s) --- PASS: TestAccAWSSSMParameter_secure_with_key (59.80s) --- PASS: TestAccAWSSSMParameter_secure_keyUpdate (66.03s) ```
…all where unsupported and default during Read if omitted Reference: #8662 Output from AWS Standard acceptance testing: ``` --- PASS: TestAccAWSSSMParameter_disappears (11.04s) --- PASS: TestAccAWSSSMParameter_fullPath (15.19s) --- PASS: TestAccAWSSSMParameter_secure (15.33s) --- PASS: TestAccAWSSSMParameter_basic (15.34s) --- PASS: TestAccAWSSSMParameter_importBasic (19.48s) --- PASS: TestAccAWSSSMParameter_changeNameForcesNew (26.56s) --- PASS: TestAccAWSSSMParameter_updateTags (29.97s) --- PASS: TestAccAWSSSMParameter_updateDescription (31.60s) --- PASS: TestAccAWSSSMParameter_overwrite (32.77s) --- PASS: TestAccAWSSSMParameter_secure_with_key (46.83s) --- PASS: TestAccAWSSSMParameter_Tier (52.33s) --- PASS: TestAccAWSSSMParameter_secure_keyUpdate (69.30s) ``` Output from AWS GovCloud (US) acceptance testing: ``` --- PASS: TestAccAWSSSMParameter_disappears (15.31s) --- PASS: TestAccAWSSSMParameter_basic (21.15s) --- PASS: TestAccAWSSSMParameter_secure (21.27s) --- PASS: TestAccAWSSSMParameter_importBasic (22.57s) --- PASS: TestAccAWSSSMParameter_fullPath (22.80s) --- PASS: TestAccAWSSSMParameter_overwrite (35.12s) --- PASS: TestAccAWSSSMParameter_changeNameForcesNew (38.59s) --- PASS: TestAccAWSSSMParameter_updateDescription (39.42s) --- PASS: TestAccAWSSSMParameter_updateTags (41.84s) --- PASS: TestAccAWSSSMParameter_Tier (48.40s) --- PASS: TestAccAWSSSMParameter_secure_with_key (51.69s) --- PASS: TestAccAWSSSMParameter_secure_keyUpdate (65.74s) ```
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.
LGTM
This has been released in version 2.11.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. |
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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Community Note
Closes #8662
AWS China does not yet support the API field. As noted in #8662 another option would instead be to switch to removing the attribute
Default
, usingd.GetOk()
with thePutParameter
API call, and implementingDiffSuppressFunc
on the attribute to prevent the difference of"Standard"
to""
.Release note for CHANGELOG:
Output from AWS Standard acceptance testing:
Output from AWS GovCloud (US) acceptance testing: