-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
f/Support ApplyOnlyAtCronInterval for aws_ssm_association #15038
Conversation
Is there any word on this getting merged? We're currently waiting for it as we need to apply a bunch of aws_ssm_association resources but don't want them all immediately firing when we do. |
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.
After splitting out the tests, looks good, thank you @nikhil-goenka 🚀
Output from acceptance testing in AWS Commercial:
--- PASS: TestAccAWSSSMAssociation_withDocumentVersion (26.48s)
--- PASS: TestAccAWSSSMAssociation_rateControl (36.32s)
--- PASS: TestAccAWSSSMAssociation_withScheduleExpression (39.12s)
--- PASS: TestAccAWSSSMAssociation_withAssociationNameAndScheduleExpression (39.44s)
--- PASS: TestAccAWSSSMAssociation_withParameters (41.73s)
--- PASS: TestAccAWSSSMAssociation_withAssociationName (41.97s)
--- PASS: TestAccAWSSSMAssociation_withComplianceSeverity (49.30s)
--- PASS: TestAccAWSSSMAssociation_ApplyOnlyAtCronInterval (53.28s)
--- PASS: TestAccAWSSSMAssociation_withTargets (57.36s)
--- PASS: TestAccAWSSSMAssociation_withAutomationTargetParamName (57.49s)
--- PASS: TestAccAWSSSMAssociation_withOutputLocation (87.00s)
--- PASS: TestAccAWSSSMAssociation_basic (98.52s)
--- PASS: TestAccAWSSSMAssociation_disappears (116.82s)
Output from acceptance testing in AWS GovCloud (US):
--- PASS: TestAccAWSSSMAssociation_withDocumentVersion (38.37s)
--- PASS: TestAccAWSSSMAssociation_withParameters (49.05s)
--- PASS: TestAccAWSSSMAssociation_rateControl (49.73s)
--- PASS: TestAccAWSSSMAssociation_ApplyOnlyAtCronInterval (52.95s)
--- PASS: TestAccAWSSSMAssociation_withAssociationName (52.95s)
--- PASS: TestAccAWSSSMAssociation_withComplianceSeverity (56.16s)
--- PASS: TestAccAWSSSMAssociation_withAssociationNameAndScheduleExpression (63.14s)
--- PASS: TestAccAWSSSMAssociation_withScheduleExpression (63.99s)
--- PASS: TestAccAWSSSMAssociation_withAutomationTargetParamName (64.88s)
--- PASS: TestAccAWSSSMAssociation_withTargets (71.86s)
--- PASS: TestAccAWSSSMAssociation_withOutputLocation (87.33s)
--- PASS: TestAccAWSSSMAssociation_basic (112.52s)
--- PASS: TestAccAWSSSMAssociation_disappears (119.66s)
@@ -958,6 +958,7 @@ DOC | |||
resource "aws_ssm_association" "test" { | |||
name = aws_ssm_document.test.name | |||
schedule_expression = "cron(0 16 ? * TUE *)" | |||
apply_only_at_cron_interval = 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.
To ensure we are not introducing any regressions, going to split this new argument into its own testing on merge.
…d add CHANGELOG entry for #15038 Output from acceptance testing in AWS Commercial: ``` --- PASS: TestAccAWSSSMAssociation_withDocumentVersion (26.48s) --- PASS: TestAccAWSSSMAssociation_rateControl (36.32s) --- PASS: TestAccAWSSSMAssociation_withScheduleExpression (39.12s) --- PASS: TestAccAWSSSMAssociation_withAssociationNameAndScheduleExpression (39.44s) --- PASS: TestAccAWSSSMAssociation_withParameters (41.73s) --- PASS: TestAccAWSSSMAssociation_withAssociationName (41.97s) --- PASS: TestAccAWSSSMAssociation_withComplianceSeverity (49.30s) --- PASS: TestAccAWSSSMAssociation_ApplyOnlyAtCronInterval (53.28s) --- PASS: TestAccAWSSSMAssociation_withTargets (57.36s) --- PASS: TestAccAWSSSMAssociation_withAutomationTargetParamName (57.49s) --- PASS: TestAccAWSSSMAssociation_withOutputLocation (87.00s) --- PASS: TestAccAWSSSMAssociation_basic (98.52s) --- PASS: TestAccAWSSSMAssociation_disappears (116.82s) ``` Output from acceptance testing in AWS GovCloud (US): ``` --- PASS: TestAccAWSSSMAssociation_withDocumentVersion (38.37s) --- PASS: TestAccAWSSSMAssociation_withParameters (49.05s) --- PASS: TestAccAWSSSMAssociation_rateControl (49.73s) --- PASS: TestAccAWSSSMAssociation_ApplyOnlyAtCronInterval (52.95s) --- PASS: TestAccAWSSSMAssociation_withAssociationName (52.95s) --- PASS: TestAccAWSSSMAssociation_withComplianceSeverity (56.16s) --- PASS: TestAccAWSSSMAssociation_withAssociationNameAndScheduleExpression (63.14s) --- PASS: TestAccAWSSSMAssociation_withScheduleExpression (63.99s) --- PASS: TestAccAWSSSMAssociation_withAutomationTargetParamName (64.88s) --- PASS: TestAccAWSSSMAssociation_withTargets (71.86s) --- PASS: TestAccAWSSSMAssociation_withOutputLocation (87.33s) --- PASS: TestAccAWSSSMAssociation_basic (112.52s) --- PASS: TestAccAWSSSMAssociation_disappears (119.66s) ```
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
Relates OR Closes #15034
Release note for CHANGELOG:
Output from acceptance testing: