-
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
New resource for Route53 Traffic Policy and Traffic Policy Instance, datasource for Route53 Traffic Policy #23602
Conversation
Acceptance test output: % make testacc TESTS=TestAccTrafficPolicy_basic PKG=route53 ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/route53/... -v -count 1 -parallel 20 -run='TestAccTrafficPolicy_basic' -timeout 180m === RUN TestAccTrafficPolicy_basic === PAUSE TestAccTrafficPolicy_basic === CONT TestAccTrafficPolicy_basic --- PASS: TestAccTrafficPolicy_basic (19.28s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/route53 26.600s
Acceptance test output: % make testacc TESTS=TestAccTrafficPolicy_ PKG=route53 ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/route53/... -v -count 1 -parallel 20 -run='TestAccTrafficPolicy_' -timeout 180m === RUN TestAccTrafficPolicy_basic === PAUSE TestAccTrafficPolicy_basic === RUN TestAccTrafficPolicy_disappears === PAUSE TestAccTrafficPolicy_disappears === RUN TestAccTrafficPolicy_update === PAUSE TestAccTrafficPolicy_update === CONT TestAccTrafficPolicy_basic === CONT TestAccTrafficPolicy_update === CONT TestAccTrafficPolicy_disappears --- PASS: TestAccTrafficPolicy_disappears (13.66s) --- PASS: TestAccTrafficPolicy_basic (18.33s) --- PASS: TestAccTrafficPolicy_update (29.13s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/route53 33.269s
…anceByID' and callers.
Acceptance test output: % make testacc TESTS=TestAccRoute53TrafficPolicyInstance_ PKG=route53 ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/route53/... -v -count 1 -parallel 20 -run='TestAccRoute53TrafficPolicyInstance_' -timeout 180m === RUN TestAccRoute53TrafficPolicyInstance_basic === PAUSE TestAccRoute53TrafficPolicyInstance_basic === RUN TestAccRoute53TrafficPolicyInstance_disappears === PAUSE TestAccRoute53TrafficPolicyInstance_disappears === RUN TestAccRoute53TrafficPolicyInstance_update === PAUSE TestAccRoute53TrafficPolicyInstance_update === CONT TestAccRoute53TrafficPolicyInstance_basic === CONT TestAccRoute53TrafficPolicyInstance_update === CONT TestAccRoute53TrafficPolicyInstance_disappears --- PASS: TestAccRoute53TrafficPolicyInstance_basic (134.02s) --- PASS: TestAccRoute53TrafficPolicyInstance_disappears (139.24s) --- PASS: TestAccRoute53TrafficPolicyInstance_update (199.29s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/route53 206.030s
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 🚀.
Commercial
% make testacc TESTS=TestAccRoute53TrafficPolicy PKG=route53 ACCTEST_PARALLELISM=3
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/route53/... -v -count 1 -parallel 3 -run='TestAccRoute53TrafficPolicy' -timeout 180m
=== RUN TestAccRoute53TrafficPolicyDocumentDataSource_basic
=== PAUSE TestAccRoute53TrafficPolicyDocumentDataSource_basic
=== RUN TestAccRoute53TrafficPolicyDocumentDataSource_complete
=== PAUSE TestAccRoute53TrafficPolicyDocumentDataSource_complete
=== RUN TestAccRoute53TrafficPolicyInstance_basic
=== PAUSE TestAccRoute53TrafficPolicyInstance_basic
=== RUN TestAccRoute53TrafficPolicyInstance_disappears
=== PAUSE TestAccRoute53TrafficPolicyInstance_disappears
=== RUN TestAccRoute53TrafficPolicyInstance_update
=== PAUSE TestAccRoute53TrafficPolicyInstance_update
=== RUN TestAccRoute53TrafficPolicy_basic
=== PAUSE TestAccRoute53TrafficPolicy_basic
=== RUN TestAccRoute53TrafficPolicy_disappears
=== PAUSE TestAccRoute53TrafficPolicy_disappears
=== RUN TestAccRoute53TrafficPolicy_update
=== PAUSE TestAccRoute53TrafficPolicy_update
=== CONT TestAccRoute53TrafficPolicyDocumentDataSource_basic
=== CONT TestAccRoute53TrafficPolicyInstance_update
=== CONT TestAccRoute53TrafficPolicy_disappears
--- PASS: TestAccRoute53TrafficPolicyDocumentDataSource_basic (13.92s)
=== CONT TestAccRoute53TrafficPolicy_update
--- PASS: TestAccRoute53TrafficPolicy_disappears (15.53s)
=== CONT TestAccRoute53TrafficPolicyInstance_basic
--- PASS: TestAccRoute53TrafficPolicy_update (30.47s)
=== CONT TestAccRoute53TrafficPolicyInstance_disappears
--- PASS: TestAccRoute53TrafficPolicyInstance_basic (139.79s)
=== CONT TestAccRoute53TrafficPolicy_basic
--- PASS: TestAccRoute53TrafficPolicy_basic (18.04s)
=== CONT TestAccRoute53TrafficPolicyDocumentDataSource_complete
--- PASS: TestAccRoute53TrafficPolicyDocumentDataSource_complete (11.99s)
--- PASS: TestAccRoute53TrafficPolicyInstance_disappears (158.03s)
--- PASS: TestAccRoute53TrafficPolicyInstance_update (205.30s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/route53 210.736s
GovCloud
% make testacc TESTS=TestAccRoute53TrafficPolicy PKG=route53 ACCTEST_PARALLELISM=3
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/route53/... -v -count 1 -parallel 3 -run='TestAccRoute53TrafficPolicy' -timeout 180m
=== RUN TestAccRoute53TrafficPolicyDocumentDataSource_basic
=== PAUSE TestAccRoute53TrafficPolicyDocumentDataSource_basic
=== RUN TestAccRoute53TrafficPolicyDocumentDataSource_complete
=== PAUSE TestAccRoute53TrafficPolicyDocumentDataSource_complete
=== RUN TestAccRoute53TrafficPolicyInstance_basic
=== PAUSE TestAccRoute53TrafficPolicyInstance_basic
=== RUN TestAccRoute53TrafficPolicyInstance_disappears
=== PAUSE TestAccRoute53TrafficPolicyInstance_disappears
=== RUN TestAccRoute53TrafficPolicyInstance_update
=== PAUSE TestAccRoute53TrafficPolicyInstance_update
=== RUN TestAccRoute53TrafficPolicy_basic
=== PAUSE TestAccRoute53TrafficPolicy_basic
=== RUN TestAccRoute53TrafficPolicy_disappears
=== PAUSE TestAccRoute53TrafficPolicy_disappears
=== RUN TestAccRoute53TrafficPolicy_update
=== PAUSE TestAccRoute53TrafficPolicy_update
=== CONT TestAccRoute53TrafficPolicyDocumentDataSource_basic
=== CONT TestAccRoute53TrafficPolicyInstance_update
=== CONT TestAccRoute53TrafficPolicy_disappears
=== CONT TestAccRoute53TrafficPolicyInstance_update
traffic_policy_instance_test.go:23: Route 53 Traffic Policies are not supported in aws-us-gov partition
--- SKIP: TestAccRoute53TrafficPolicyInstance_update (1.13s)
=== CONT TestAccRoute53TrafficPolicy_update
=== CONT TestAccRoute53TrafficPolicy_disappears
traffic_policy_instance_test.go:23: Route 53 Traffic Policies are not supported in aws-us-gov partition
=== CONT TestAccRoute53TrafficPolicy_update
traffic_policy_instance_test.go:23: Route 53 Traffic Policies are not supported in aws-us-gov partition
--- SKIP: TestAccRoute53TrafficPolicy_update (0.00s)
=== CONT TestAccRoute53TrafficPolicy_basic
--- SKIP: TestAccRoute53TrafficPolicy_disappears (1.13s)
=== CONT TestAccRoute53TrafficPolicyInstance_basic
=== CONT TestAccRoute53TrafficPolicy_basic
traffic_policy_instance_test.go:23: Route 53 Traffic Policies are not supported in aws-us-gov partition
--- SKIP: TestAccRoute53TrafficPolicy_basic (0.00s)
=== CONT TestAccRoute53TrafficPolicyInstance_disappears
traffic_policy_instance_test.go:23: Route 53 Traffic Policies are not supported in aws-us-gov partition
--- SKIP: TestAccRoute53TrafficPolicyInstance_disappears (0.00s)
=== CONT TestAccRoute53TrafficPolicyDocumentDataSource_complete
=== CONT TestAccRoute53TrafficPolicyInstance_basic
traffic_policy_instance_test.go:23: Route 53 Traffic Policies are not supported in aws-us-gov partition
--- SKIP: TestAccRoute53TrafficPolicyInstance_basic (0.00s)
--- PASS: TestAccRoute53TrafficPolicyDocumentDataSource_basic (10.86s)
--- PASS: TestAccRoute53TrafficPolicyDocumentDataSource_complete (10.04s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/route53 14.856s
@coderGo93 Thanks for the contribution 🎉 👏. |
This functionality has been released in v4.7.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. |
aws_route53_traffic_policy
aws_route53_traffic_policy_document
aws_route53_traffic_policy_instance
Community Note
Closes #11256.
Output from acceptance testing:
Resource Route 53 Traffic Policy
Datasource Route 53 Traffic Policy Document
Resource Route 53 Traffic Policy Instance