-
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
feat: Add tags support to aws_ssm_association #38271
feat: Add tags support to aws_ssm_association #38271
Conversation
Community NoteVoting for Prioritization
For Submitters
|
e4e7a78
to
66c439a
Compare
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 🚀.
% make testacc TESTARGS='-run=TestAccSSMAssociation_' PKG=ssm ACCTEST_PARALLELISM=3
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.22.4 test ./internal/service/ssm/... -v -count 1 -parallel 3 -run=TestAccSSMAssociation_ -timeout 360m
=== RUN TestAccSSMAssociation_tags
=== PAUSE TestAccSSMAssociation_tags
=== RUN TestAccSSMAssociation_tags_null
=== PAUSE TestAccSSMAssociation_tags_null
=== RUN TestAccSSMAssociation_tags_AddOnUpdate
=== PAUSE TestAccSSMAssociation_tags_AddOnUpdate
=== RUN TestAccSSMAssociation_tags_EmptyTag_OnCreate
=== PAUSE TestAccSSMAssociation_tags_EmptyTag_OnCreate
=== RUN TestAccSSMAssociation_tags_EmptyTag_OnUpdate_Add
=== PAUSE TestAccSSMAssociation_tags_EmptyTag_OnUpdate_Add
=== RUN TestAccSSMAssociation_tags_EmptyTag_OnUpdate_Replace
=== PAUSE TestAccSSMAssociation_tags_EmptyTag_OnUpdate_Replace
=== RUN TestAccSSMAssociation_tags_DefaultTags_providerOnly
=== PAUSE TestAccSSMAssociation_tags_DefaultTags_providerOnly
=== RUN TestAccSSMAssociation_tags_DefaultTags_nonOverlapping
=== PAUSE TestAccSSMAssociation_tags_DefaultTags_nonOverlapping
=== RUN TestAccSSMAssociation_tags_DefaultTags_overlapping
=== PAUSE TestAccSSMAssociation_tags_DefaultTags_overlapping
=== RUN TestAccSSMAssociation_tags_DefaultTags_updateToProviderOnly
=== PAUSE TestAccSSMAssociation_tags_DefaultTags_updateToProviderOnly
=== RUN TestAccSSMAssociation_tags_DefaultTags_updateToResourceOnly
=== PAUSE TestAccSSMAssociation_tags_DefaultTags_updateToResourceOnly
=== RUN TestAccSSMAssociation_tags_DefaultTags_emptyResourceTag
=== PAUSE TestAccSSMAssociation_tags_DefaultTags_emptyResourceTag
=== RUN TestAccSSMAssociation_tags_DefaultTags_emptyProviderOnlyTag
=== PAUSE TestAccSSMAssociation_tags_DefaultTags_emptyProviderOnlyTag
=== RUN TestAccSSMAssociation_tags_DefaultTags_nullOverlappingResourceTag
=== PAUSE TestAccSSMAssociation_tags_DefaultTags_nullOverlappingResourceTag
=== RUN TestAccSSMAssociation_tags_DefaultTags_nullNonOverlappingResourceTag
=== PAUSE TestAccSSMAssociation_tags_DefaultTags_nullNonOverlappingResourceTag
=== RUN TestAccSSMAssociation_tags_ComputedTag_OnCreate
=== PAUSE TestAccSSMAssociation_tags_ComputedTag_OnCreate
=== RUN TestAccSSMAssociation_tags_ComputedTag_OnUpdate_Add
=== PAUSE TestAccSSMAssociation_tags_ComputedTag_OnUpdate_Add
=== RUN TestAccSSMAssociation_tags_ComputedTag_OnUpdate_Replace
=== PAUSE TestAccSSMAssociation_tags_ComputedTag_OnUpdate_Replace
=== RUN TestAccSSMAssociation_basic
=== PAUSE TestAccSSMAssociation_basic
=== RUN TestAccSSMAssociation_disappears
=== PAUSE TestAccSSMAssociation_disappears
=== RUN TestAccSSMAssociation_disappears_document
=== PAUSE TestAccSSMAssociation_disappears_document
=== RUN TestAccSSMAssociation_applyOnlyAtCronInterval
=== PAUSE TestAccSSMAssociation_applyOnlyAtCronInterval
=== RUN TestAccSSMAssociation_withTargets
=== PAUSE TestAccSSMAssociation_withTargets
=== RUN TestAccSSMAssociation_withParameters
=== PAUSE TestAccSSMAssociation_withParameters
=== RUN TestAccSSMAssociation_withAssociationName
=== PAUSE TestAccSSMAssociation_withAssociationName
=== RUN TestAccSSMAssociation_withAssociationNameAndScheduleExpression
=== PAUSE TestAccSSMAssociation_withAssociationNameAndScheduleExpression
=== RUN TestAccSSMAssociation_withDocumentVersion
=== PAUSE TestAccSSMAssociation_withDocumentVersion
=== RUN TestAccSSMAssociation_withOutputLocation
=== PAUSE TestAccSSMAssociation_withOutputLocation
=== RUN TestAccSSMAssociation_withOutputLocation_s3Region
=== PAUSE TestAccSSMAssociation_withOutputLocation_s3Region
=== RUN TestAccSSMAssociation_withOutputLocation_waitForSuccessTimeout
=== PAUSE TestAccSSMAssociation_withOutputLocation_waitForSuccessTimeout
=== RUN TestAccSSMAssociation_withAutomationTargetParamName
=== PAUSE TestAccSSMAssociation_withAutomationTargetParamName
=== RUN TestAccSSMAssociation_withScheduleExpression
=== PAUSE TestAccSSMAssociation_withScheduleExpression
=== RUN TestAccSSMAssociation_withComplianceSeverity
=== PAUSE TestAccSSMAssociation_withComplianceSeverity
=== RUN TestAccSSMAssociation_rateControl
=== PAUSE TestAccSSMAssociation_rateControl
=== RUN TestAccSSMAssociation_syncCompliance
=== PAUSE TestAccSSMAssociation_syncCompliance
=== CONT TestAccSSMAssociation_tags
=== CONT TestAccSSMAssociation_basic
=== CONT TestAccSSMAssociation_withOutputLocation
--- PASS: TestAccSSMAssociation_withOutputLocation (37.31s)
=== CONT TestAccSSMAssociation_withParameters
--- PASS: TestAccSSMAssociation_tags (46.12s)
=== CONT TestAccSSMAssociation_withDocumentVersion
--- PASS: TestAccSSMAssociation_withDocumentVersion (12.16s)
=== CONT TestAccSSMAssociation_withAssociationNameAndScheduleExpression
--- PASS: TestAccSSMAssociation_withParameters (21.07s)
=== CONT TestAccSSMAssociation_withAssociationName
--- PASS: TestAccSSMAssociation_withAssociationName (19.97s)
=== CONT TestAccSSMAssociation_applyOnlyAtCronInterval
--- PASS: TestAccSSMAssociation_withAssociationNameAndScheduleExpression (22.24s)
=== CONT TestAccSSMAssociation_withTargets
--- PASS: TestAccSSMAssociation_applyOnlyAtCronInterval (20.14s)
=== CONT TestAccSSMAssociation_withScheduleExpression
--- PASS: TestAccSSMAssociation_withTargets (27.51s)
=== CONT TestAccSSMAssociation_syncCompliance
--- PASS: TestAccSSMAssociation_withScheduleExpression (20.05s)
=== CONT TestAccSSMAssociation_rateControl
--- PASS: TestAccSSMAssociation_syncCompliance (15.72s)
=== CONT TestAccSSMAssociation_withComplianceSeverity
--- PASS: TestAccSSMAssociation_basic (126.95s)
=== CONT TestAccSSMAssociation_tags_DefaultTags_updateToProviderOnly
--- PASS: TestAccSSMAssociation_rateControl (20.10s)
=== CONT TestAccSSMAssociation_tags_ComputedTag_OnUpdate_Replace
--- PASS: TestAccSSMAssociation_withComplianceSeverity (19.93s)
=== CONT TestAccSSMAssociation_tags_ComputedTag_OnUpdate_Add
--- PASS: TestAccSSMAssociation_tags_DefaultTags_updateToProviderOnly (22.35s)
=== CONT TestAccSSMAssociation_tags_ComputedTag_OnCreate
--- PASS: TestAccSSMAssociation_tags_ComputedTag_OnUpdate_Replace (25.56s)
=== CONT TestAccSSMAssociation_tags_DefaultTags_nullNonOverlappingResourceTag
--- PASS: TestAccSSMAssociation_tags_ComputedTag_OnCreate (16.59s)
=== CONT TestAccSSMAssociation_tags_DefaultTags_nullOverlappingResourceTag
--- PASS: TestAccSSMAssociation_tags_ComputedTag_OnUpdate_Add (25.33s)
=== CONT TestAccSSMAssociation_tags_DefaultTags_emptyProviderOnlyTag
--- PASS: TestAccSSMAssociation_tags_DefaultTags_nullNonOverlappingResourceTag (13.49s)
=== CONT TestAccSSMAssociation_tags_DefaultTags_emptyResourceTag
--- PASS: TestAccSSMAssociation_tags_DefaultTags_nullOverlappingResourceTag (13.59s)
=== CONT TestAccSSMAssociation_tags_DefaultTags_updateToResourceOnly
--- PASS: TestAccSSMAssociation_tags_DefaultTags_emptyProviderOnlyTag (13.89s)
=== CONT TestAccSSMAssociation_tags_EmptyTag_OnUpdate_Replace
--- PASS: TestAccSSMAssociation_tags_DefaultTags_emptyResourceTag (13.78s)
=== CONT TestAccSSMAssociation_tags_DefaultTags_overlapping
--- PASS: TestAccSSMAssociation_tags_DefaultTags_updateToResourceOnly (21.80s)
=== CONT TestAccSSMAssociation_tags_DefaultTags_nonOverlapping
--- PASS: TestAccSSMAssociation_tags_EmptyTag_OnUpdate_Replace (21.79s)
=== CONT TestAccSSMAssociation_tags_DefaultTags_providerOnly
--- PASS: TestAccSSMAssociation_tags_DefaultTags_overlapping (36.99s)
=== CONT TestAccSSMAssociation_tags_EmptyTag_OnCreate
--- PASS: TestAccSSMAssociation_tags_DefaultTags_nonOverlapping (36.79s)
=== CONT TestAccSSMAssociation_tags_EmptyTag_OnUpdate_Add
--- PASS: TestAccSSMAssociation_tags_EmptyTag_OnCreate (24.63s)
=== CONT TestAccSSMAssociation_tags_AddOnUpdate
--- PASS: TestAccSSMAssociation_tags_DefaultTags_providerOnly (49.15s)
=== CONT TestAccSSMAssociation_disappears_document
--- PASS: TestAccSSMAssociation_tags_EmptyTag_OnUpdate_Add (32.54s)
=== CONT TestAccSSMAssociation_tags_null
--- PASS: TestAccSSMAssociation_tags_AddOnUpdate (21.73s)
=== CONT TestAccSSMAssociation_withOutputLocation_waitForSuccessTimeout
--- PASS: TestAccSSMAssociation_tags_null (16.76s)
=== CONT TestAccSSMAssociation_withAutomationTargetParamName
--- PASS: TestAccSSMAssociation_withOutputLocation_waitForSuccessTimeout (15.79s)
=== CONT TestAccSSMAssociation_disappears
--- PASS: TestAccSSMAssociation_withAutomationTargetParamName (49.29s)
=== CONT TestAccSSMAssociation_withOutputLocation_s3Region
--- PASS: TestAccSSMAssociation_disappears_document (117.71s)
--- PASS: TestAccSSMAssociation_withOutputLocation_s3Region (42.07s)
--- PASS: TestAccSSMAssociation_disappears (119.51s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/ssm 414.557s
@acwwat Thanks for the contribution 🎉 👏. |
This functionality has been released in v5.58.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 pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Description
This PR is to add tags support to the
aws_ssm_association
resource.Relations
Closes #33904
References
Referred to the API reference for specs.
Output from Acceptance Testing