-
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
Fixed diff suppress function on canary schedule expression #34084
Fixed diff suppress function on canary schedule expression #34084
Conversation
Community NoteVoting for Prioritization
For Submitters
|
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 PKG=synthetics TESTS=TestAccSyntheticsCanary_
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/synthetics/... -v -count 1 -parallel 20 -run='TestAccSyntheticsCanary_' -timeout 360m
--- PASS: TestAccSyntheticsCanary_disappears (590.47s)
--- PASS: TestAccSyntheticsCanary_s3 (704.57s)
--- PASS: TestAccSyntheticsCanary_runEnvironmentVariables (904.62s)
--- PASS: TestAccSyntheticsCanary_basic (929.99s)
--- PASS: TestAccSyntheticsCanary_StartCanary_codeChanges (931.49s)
--- PASS: TestAccSyntheticsCanary_runtimeVersion (939.72s)
--- PASS: TestAccSyntheticsCanary_artifactEncryption (952.73s)
--- PASS: TestAccSyntheticsCanary_tags (1003.79s)
--- PASS: TestAccSyntheticsCanary_runTracing (1069.99s)
--- PASS: TestAccSyntheticsCanary_startCanary (1074.48s)
--- PASS: TestAccSyntheticsCanary_run (1078.09s)
--- PASS: TestAccSyntheticsCanary_vpc (3070.32s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/synthetics 3073.647s
Thanks for your contribution, @carcher5432! 👍 |
This functionality has been released in v5.26.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
Fixes the diff suppress function on the schedule expression for aws_synthetics_canary to cover both "rate(0 minute)" and "rate(0 minutes)" being equivalent to the aws internal representation of "rate(0 hour)". Previously, the function had only suppressed changes if it was "rate(0 minute)".
Relations
References
Output from Acceptance Testing
Change does not affect tests