-
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
r/aws_ssm_document - support VersionName parameter #14128
Conversation
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.
Thank you for submitting this as well, @drexler. Overall looks pretty good, just some minor things to retrigger CI and will verify the UpdateDocument
API behavior. 👍
Type: schema.TypeString, | ||
Optional: true, | ||
Computed: true, | ||
ForceNew: true, |
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.
Oddly enough, the UpdateDocument
API operation also accepts VersionName
, so going to verify its behavior on merge.
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.
Thank you for this, @drexler 🚀 I was able to verify that the UpdateDocument
VersionName
support works as long as the content is updated as well. 👍
Output from acceptance testing in AWS Commercial:
--- PASS: TestAccAWSSSMDocument_params (30.50s)
--- PASS: TestAccAWSSSMDocument_basic (32.24s)
--- PASS: TestAccAWSSSMDocument_session (32.29s)
--- PASS: TestAccAWSSSMDocument_permission_private (32.51s)
--- PASS: TestAccAWSSSMDocument_permission_batching (32.78s)
--- PASS: TestAccAWSSSMDocument_permission_public (32.80s)
--- PASS: TestAccAWSSSMDocument_automation (37.50s)
--- PASS: TestAccAWSSSMDocument_VersionName (46.97s)
--- PASS: TestAccAWSSSMDocument_DocumentFormat_YAML (46.99s)
--- PASS: TestAccAWSSSMDocument_target_type (48.06s)
--- PASS: TestAccAWSSSMDocument_update (48.17s)
--- PASS: TestAccAWSSSMDocument_SchemaVersion_1 (48.20s)
--- PASS: TestAccAWSSSMDocument_Tags (57.02s)
--- PASS: TestAccAWSSSMDocument_permission_change (57.33s)
--- PASS: TestAccAWSSSMDocument_package (73.74s)
Output from acceptance testing in AWS GovCloud (US):
--- PASS: TestAccAWSSSMDocument_basic (34.86s)
--- PASS: TestAccAWSSSMDocument_session (39.41s)
--- PASS: TestAccAWSSSMDocument_params (39.84s)
--- PASS: TestAccAWSSSMDocument_permission_private (40.26s)
--- PASS: TestAccAWSSSMDocument_permission_public (40.37s)
--- PASS: TestAccAWSSSMDocument_permission_batching (40.94s)
--- PASS: TestAccAWSSSMDocument_automation (52.65s)
--- PASS: TestAccAWSSSMDocument_target_type (54.33s)
--- PASS: TestAccAWSSSMDocument_update (55.65s)
--- PASS: TestAccAWSSSMDocument_DocumentFormat_YAML (55.72s)
--- PASS: TestAccAWSSSMDocument_VersionName (55.79s)
--- PASS: TestAccAWSSSMDocument_SchemaVersion_1 (55.96s)
--- PASS: TestAccAWSSSMDocument_Tags (66.39s)
--- PASS: TestAccAWSSSMDocument_permission_change (68.28s)
--- PASS: TestAccAWSSSMDocument_package (80.15s)
… CHANGELOG entry for #14128 Output from acceptance testing in AWS Commercial: ``` --- PASS: TestAccAWSSSMDocument_params (30.50s) --- PASS: TestAccAWSSSMDocument_basic (32.24s) --- PASS: TestAccAWSSSMDocument_session (32.29s) --- PASS: TestAccAWSSSMDocument_permission_private (32.51s) --- PASS: TestAccAWSSSMDocument_permission_batching (32.78s) --- PASS: TestAccAWSSSMDocument_permission_public (32.80s) --- PASS: TestAccAWSSSMDocument_automation (37.50s) --- PASS: TestAccAWSSSMDocument_VersionName (46.97s) --- PASS: TestAccAWSSSMDocument_DocumentFormat_YAML (46.99s) --- PASS: TestAccAWSSSMDocument_target_type (48.06s) --- PASS: TestAccAWSSSMDocument_update (48.17s) --- PASS: TestAccAWSSSMDocument_SchemaVersion_1 (48.20s) --- PASS: TestAccAWSSSMDocument_Tags (57.02s) --- PASS: TestAccAWSSSMDocument_permission_change (57.33s) --- PASS: TestAccAWSSSMDocument_package (73.74s) ``` Output from acceptance testing in AWS GovCloud (US): ``` --- PASS: TestAccAWSSSMDocument_basic (34.86s) --- PASS: TestAccAWSSSMDocument_session (39.41s) --- PASS: TestAccAWSSSMDocument_params (39.84s) --- PASS: TestAccAWSSSMDocument_permission_private (40.26s) --- PASS: TestAccAWSSSMDocument_permission_public (40.37s) --- PASS: TestAccAWSSSMDocument_permission_batching (40.94s) --- PASS: TestAccAWSSSMDocument_automation (52.65s) --- PASS: TestAccAWSSSMDocument_target_type (54.33s) --- PASS: TestAccAWSSSMDocument_update (55.65s) --- PASS: TestAccAWSSSMDocument_DocumentFormat_YAML (55.72s) --- PASS: TestAccAWSSSMDocument_VersionName (55.79s) --- PASS: TestAccAWSSSMDocument_SchemaVersion_1 (55.96s) --- PASS: TestAccAWSSSMDocument_Tags (66.39s) --- PASS: TestAccAWSSSMDocument_permission_change (68.28s) --- PASS: TestAccAWSSSMDocument_package (80.15s) ```
This has been released in version 3.28.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 for triage. Thanks! |
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 #14107
Release note for CHANGELOG:
Output from acceptance testing: