-
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
Migrate Route 53 Resolver
resources to AWS SDK V2
#38813
Migrate Route 53 Resolver
resources to AWS SDK V2
#38813
Conversation
Community NoteVoting for Prioritization
For Submitters
|
Thank you for your contribution! 🚀 Please note that typically Go dependency changes are handled in this repository by dependabot or the maintainers. This is to prevent pull request merge conflicts and further delay reviews of contributions. Remove any changes to the Additional details:
|
…e creation of recursive rule. Only the Resolver service can make these types of rules and for the scope of the test scenario this is not needed.
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=TestAccRoute53Resolver' PKG=route53resolver ACCTEST_PARALLELISM=3
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.22.6 test ./internal/service/route53resolver/... -v -count 1 -parallel 3 -run=TestAccRoute53Resolver -timeout 360m
=== RUN TestAccRoute53ResolverConfig_basic
=== PAUSE TestAccRoute53ResolverConfig_basic
=== RUN TestAccRoute53ResolverConfig_Disappears_vpc
=== PAUSE TestAccRoute53ResolverConfig_Disappears_vpc
=== RUN TestAccRoute53ResolverDNSSECConfig_basic
=== PAUSE TestAccRoute53ResolverDNSSECConfig_basic
=== RUN TestAccRoute53ResolverDNSSECConfig_disappear
=== PAUSE TestAccRoute53ResolverDNSSECConfig_disappear
=== RUN TestAccRoute53ResolverEndpointDataSource_basic
=== PAUSE TestAccRoute53ResolverEndpointDataSource_basic
=== RUN TestAccRoute53ResolverEndpointDataSource_filter
=== PAUSE TestAccRoute53ResolverEndpointDataSource_filter
=== RUN TestAccRoute53ResolverEndpoint_basic
=== PAUSE TestAccRoute53ResolverEndpoint_basic
=== RUN TestAccRoute53ResolverEndpoint_disappears
=== PAUSE TestAccRoute53ResolverEndpoint_disappears
=== RUN TestAccRoute53ResolverEndpoint_tags
=== PAUSE TestAccRoute53ResolverEndpoint_tags
=== RUN TestAccRoute53ResolverEndpoint_updateOutbound
=== PAUSE TestAccRoute53ResolverEndpoint_updateOutbound
=== RUN TestAccRoute53ResolverEndpoint_resolverEndpointType
=== PAUSE TestAccRoute53ResolverEndpoint_resolverEndpointType
=== RUN TestAccRoute53ResolverFirewallConfigDataSource_basic
--- PASS: TestAccRoute53ResolverFirewallConfigDataSource_basic (17.65s)
=== RUN TestAccRoute53ResolverFirewallConfig_basic
=== PAUSE TestAccRoute53ResolverFirewallConfig_basic
=== RUN TestAccRoute53ResolverFirewallConfig_disappears
=== PAUSE TestAccRoute53ResolverFirewallConfig_disappears
=== RUN TestAccRoute53ResolverFirewallDomainListDataSource_basic
--- PASS: TestAccRoute53ResolverFirewallDomainListDataSource_basic (96.65s)
=== RUN TestAccRoute53ResolverFirewallDomainList_basic
=== PAUSE TestAccRoute53ResolverFirewallDomainList_basic
=== RUN TestAccRoute53ResolverFirewallDomainList_domains
=== PAUSE TestAccRoute53ResolverFirewallDomainList_domains
=== RUN TestAccRoute53ResolverFirewallDomainList_disappears
=== PAUSE TestAccRoute53ResolverFirewallDomainList_disappears
=== RUN TestAccRoute53ResolverFirewallDomainList_tags
=== PAUSE TestAccRoute53ResolverFirewallDomainList_tags
=== RUN TestAccRoute53ResolverRuleGroupAssociationDataSource_basic
--- PASS: TestAccRoute53ResolverRuleGroupAssociationDataSource_basic (153.59s)
=== RUN TestAccRoute53ResolverFirewallRuleGroupAssociation_basic
=== PAUSE TestAccRoute53ResolverFirewallRuleGroupAssociation_basic
=== RUN TestAccRoute53ResolverFirewallRuleGroupAssociation_name
=== PAUSE TestAccRoute53ResolverFirewallRuleGroupAssociation_name
=== RUN TestAccRoute53ResolverFirewallRuleGroupAssociation_mutationProtection
=== PAUSE TestAccRoute53ResolverFirewallRuleGroupAssociation_mutationProtection
=== RUN TestAccRoute53ResolverFirewallRuleGroupAssociation_priority
=== PAUSE TestAccRoute53ResolverFirewallRuleGroupAssociation_priority
=== RUN TestAccRoute53ResolverFirewallRuleGroupAssociation_disappears
=== PAUSE TestAccRoute53ResolverFirewallRuleGroupAssociation_disappears
=== RUN TestAccRoute53ResolverFirewallRuleGroupAssociation_tags
=== PAUSE TestAccRoute53ResolverFirewallRuleGroupAssociation_tags
=== RUN TestAccRoute53ResolverFirewallRuleGroupDataSource_basic
--- PASS: TestAccRoute53ResolverFirewallRuleGroupDataSource_basic (9.44s)
=== RUN TestAccRoute53ResolverFirewallRuleGroup_basic
=== PAUSE TestAccRoute53ResolverFirewallRuleGroup_basic
=== RUN TestAccRoute53ResolverFirewallRuleGroup_disappears
=== PAUSE TestAccRoute53ResolverFirewallRuleGroup_disappears
=== RUN TestAccRoute53ResolverFirewallRuleGroup_tags
=== PAUSE TestAccRoute53ResolverFirewallRuleGroup_tags
=== RUN TestAccRoute53ResolverFirewallRule_basic
=== PAUSE TestAccRoute53ResolverFirewallRule_basic
=== RUN TestAccRoute53ResolverFirewallRule_update_firewallDomainRedirectionAction
=== PAUSE TestAccRoute53ResolverFirewallRule_update_firewallDomainRedirectionAction
=== RUN TestAccRoute53ResolverFirewallRule_block
=== PAUSE TestAccRoute53ResolverFirewallRule_block
=== RUN TestAccRoute53ResolverFirewallRule_blockOverride
=== PAUSE TestAccRoute53ResolverFirewallRule_blockOverride
=== RUN TestAccRoute53ResolverFirewallRule_qType
=== PAUSE TestAccRoute53ResolverFirewallRule_qType
=== RUN TestAccRoute53ResolverFirewallRule_disappears
=== PAUSE TestAccRoute53ResolverFirewallRule_disappears
=== RUN TestAccRoute53ResolverFirewallRulesDataSource_basic
=== PAUSE TestAccRoute53ResolverFirewallRulesDataSource_basic
=== RUN TestAccRoute53ResolverQueryLogConfigAssociation_basic
=== PAUSE TestAccRoute53ResolverQueryLogConfigAssociation_basic
=== RUN TestAccRoute53ResolverQueryLogConfigAssociation_disappears
=== PAUSE TestAccRoute53ResolverQueryLogConfigAssociation_disappears
=== RUN TestAccRoute53ResolverQueryLogConfigDataSource_basic
=== PAUSE TestAccRoute53ResolverQueryLogConfigDataSource_basic
=== RUN TestAccRoute53ResolverQueryLogConfigDataSource_filter
=== PAUSE TestAccRoute53ResolverQueryLogConfigDataSource_filter
=== RUN TestAccRoute53ResolverQueryLogConfig_basic
=== PAUSE TestAccRoute53ResolverQueryLogConfig_basic
=== RUN TestAccRoute53ResolverQueryLogConfig_disappears
=== PAUSE TestAccRoute53ResolverQueryLogConfig_disappears
=== RUN TestAccRoute53ResolverQueryLogConfig_tags
=== PAUSE TestAccRoute53ResolverQueryLogConfig_tags
=== RUN TestAccRoute53ResolverRuleAssociation_basic
=== PAUSE TestAccRoute53ResolverRuleAssociation_basic
=== RUN TestAccRoute53ResolverRuleAssociation_disappears
=== PAUSE TestAccRoute53ResolverRuleAssociation_disappears
=== RUN TestAccRoute53ResolverRuleAssociation_Disappears_vpc
=== PAUSE TestAccRoute53ResolverRuleAssociation_Disappears_vpc
=== RUN TestAccRoute53ResolverRuleDataSource_basic
=== PAUSE TestAccRoute53ResolverRuleDataSource_basic
=== RUN TestAccRoute53ResolverRuleDataSource_resolverEndpointIdWithTags
=== PAUSE TestAccRoute53ResolverRuleDataSource_resolverEndpointIdWithTags
=== RUN TestAccRoute53ResolverRuleDataSource_sharedByMe
=== PAUSE TestAccRoute53ResolverRuleDataSource_sharedByMe
=== RUN TestAccRoute53ResolverRuleDataSource_sharedWithMe
=== PAUSE TestAccRoute53ResolverRuleDataSource_sharedWithMe
=== RUN TestAccRoute53ResolverRule_basic
=== PAUSE TestAccRoute53ResolverRule_basic
=== RUN TestAccRoute53ResolverRule_disappears
=== PAUSE TestAccRoute53ResolverRule_disappears
=== RUN TestAccRoute53ResolverRule_tags
=== PAUSE TestAccRoute53ResolverRule_tags
=== RUN TestAccRoute53ResolverRule_justDotDomainName
=== PAUSE TestAccRoute53ResolverRule_justDotDomainName
=== RUN TestAccRoute53ResolverRule_trailingDotDomainName
=== PAUSE TestAccRoute53ResolverRule_trailingDotDomainName
=== RUN TestAccRoute53ResolverRule_updateName
=== PAUSE TestAccRoute53ResolverRule_updateName
=== RUN TestAccRoute53ResolverRule_forward
=== PAUSE TestAccRoute53ResolverRule_forward
=== RUN TestAccRoute53ResolverRule_forwardMultiProtocol
=== PAUSE TestAccRoute53ResolverRule_forwardMultiProtocol
=== RUN TestAccRoute53ResolverRule_forwardEndpointRecreate
=== PAUSE TestAccRoute53ResolverRule_forwardEndpointRecreate
=== RUN TestAccRoute53ResolverRulesDataSource_basic
=== PAUSE TestAccRoute53ResolverRulesDataSource_basic
=== RUN TestAccRoute53ResolverRulesDataSource_resolverEndpointID
=== PAUSE TestAccRoute53ResolverRulesDataSource_resolverEndpointID
=== RUN TestAccRoute53ResolverRulesDataSource_nameRegex
=== PAUSE TestAccRoute53ResolverRulesDataSource_nameRegex
=== RUN TestAccRoute53ResolverRulesDataSource_nonExistentNameRegex
=== PAUSE TestAccRoute53ResolverRulesDataSource_nonExistentNameRegex
=== CONT TestAccRoute53ResolverConfig_basic
=== CONT TestAccRoute53ResolverFirewallRule_qType
=== CONT TestAccRoute53ResolverRulesDataSource_nonExistentNameRegex
--- PASS: TestAccRoute53ResolverRulesDataSource_nonExistentNameRegex (6.75s)
=== CONT TestAccRoute53ResolverRulesDataSource_nameRegex
--- PASS: TestAccRoute53ResolverRulesDataSource_nameRegex (9.53s)
=== CONT TestAccRoute53ResolverRulesDataSource_resolverEndpointID
--- PASS: TestAccRoute53ResolverFirewallRule_qType (54.92s)
=== CONT TestAccRoute53ResolverRulesDataSource_basic
--- PASS: TestAccRoute53ResolverRulesDataSource_basic (6.70s)
=== CONT TestAccRoute53ResolverRule_forwardEndpointRecreate
--- PASS: TestAccRoute53ResolverRulesDataSource_resolverEndpointID (252.29s)
=== CONT TestAccRoute53ResolverRule_forwardMultiProtocol
--- PASS: TestAccRoute53ResolverConfig_basic (331.83s)
=== CONT TestAccRoute53ResolverRule_forward
--- PASS: TestAccRoute53ResolverRule_forwardEndpointRecreate (509.47s)
=== CONT TestAccRoute53ResolverRule_updateName
--- PASS: TestAccRoute53ResolverRule_forwardMultiProtocol (314.99s)
=== CONT TestAccRoute53ResolverRule_trailingDotDomainName
--- PASS: TestAccRoute53ResolverRule_updateName (18.81s)
=== CONT TestAccRoute53ResolverRule_justDotDomainName
--- PASS: TestAccRoute53ResolverRule_trailingDotDomainName (11.41s)
=== CONT TestAccRoute53ResolverRule_tags
--- PASS: TestAccRoute53ResolverRule_justDotDomainName (11.25s)
=== CONT TestAccRoute53ResolverQueryLogConfig_tags
--- PASS: TestAccRoute53ResolverRule_tags (24.95s)
=== CONT TestAccRoute53ResolverQueryLogConfig_disappears
--- PASS: TestAccRoute53ResolverRule_forward (290.30s)
=== CONT TestAccRoute53ResolverQueryLogConfig_basic
--- PASS: TestAccRoute53ResolverQueryLogConfig_tags (29.79s)
=== CONT TestAccRoute53ResolverQueryLogConfigDataSource_filter
--- PASS: TestAccRoute53ResolverQueryLogConfig_disappears (16.15s)
=== CONT TestAccRoute53ResolverQueryLogConfigDataSource_basic
--- PASS: TestAccRoute53ResolverQueryLogConfig_basic (18.54s)
=== CONT TestAccRoute53ResolverQueryLogConfigAssociation_disappears
--- PASS: TestAccRoute53ResolverQueryLogConfigDataSource_filter (12.10s)
=== CONT TestAccRoute53ResolverRuleAssociation_basic
--- PASS: TestAccRoute53ResolverQueryLogConfigDataSource_basic (12.48s)
=== CONT TestAccRoute53ResolverQueryLogConfigAssociation_basic
--- PASS: TestAccRoute53ResolverQueryLogConfigAssociation_disappears (27.91s)
=== CONT TestAccRoute53ResolverRule_disappears
--- PASS: TestAccRoute53ResolverQueryLogConfigAssociation_basic (28.81s)
=== CONT TestAccRoute53ResolverFirewallRulesDataSource_basic
--- PASS: TestAccRoute53ResolverRule_disappears (9.62s)
=== CONT TestAccRoute53ResolverRule_basic
--- PASS: TestAccRoute53ResolverRule_basic (11.86s)
=== CONT TestAccRoute53ResolverFirewallRule_disappears
--- PASS: TestAccRoute53ResolverFirewallRule_disappears (54.46s)
=== CONT TestAccRoute53ResolverRuleDataSource_sharedWithMe
rule_data_source_test.go:157: skipping test because at least one environment variable of [AWS_ALTERNATE_PROFILE AWS_ALTERNATE_ACCESS_KEY_ID] must be set. Usage: credentials for running acceptance testing in alternate AWS account.
--- SKIP: TestAccRoute53ResolverRuleDataSource_sharedWithMe (0.00s)
=== CONT TestAccRoute53ResolverRuleDataSource_sharedByMe
rule_data_source_test.go:119: skipping test because at least one environment variable of [AWS_ALTERNATE_PROFILE AWS_ALTERNATE_ACCESS_KEY_ID] must be set. Usage: credentials for running acceptance testing in alternate AWS account.
--- SKIP: TestAccRoute53ResolverRuleDataSource_sharedByMe (0.00s)
=== CONT TestAccRoute53ResolverRuleDataSource_resolverEndpointIdWithTags
--- PASS: TestAccRoute53ResolverFirewallRulesDataSource_basic (127.02s)
=== CONT TestAccRoute53ResolverRuleDataSource_basic
--- PASS: TestAccRoute53ResolverRuleDataSource_basic (11.27s)
=== CONT TestAccRoute53ResolverRuleAssociation_Disappears_vpc
--- PASS: TestAccRoute53ResolverRuleAssociation_basic (208.13s)
=== CONT TestAccRoute53ResolverRuleAssociation_disappears
--- PASS: TestAccRoute53ResolverRuleDataSource_resolverEndpointIdWithTags (254.16s)
=== CONT TestAccRoute53ResolverEndpoint_tags
--- PASS: TestAccRoute53ResolverRuleAssociation_Disappears_vpc (205.66s)
=== CONT TestAccRoute53ResolverFirewallDomainList_disappears
--- PASS: TestAccRoute53ResolverRuleAssociation_disappears (196.52s)
=== CONT TestAccRoute53ResolverFirewallRule_blockOverride
--- PASS: TestAccRoute53ResolverFirewallDomainList_disappears (52.93s)
=== CONT TestAccRoute53ResolverFirewallDomainList_domains
--- PASS: TestAccRoute53ResolverFirewallRule_blockOverride (55.33s)
=== CONT TestAccRoute53ResolverFirewallRule_block
--- PASS: TestAccRoute53ResolverFirewallRule_block (55.61s)
=== CONT TestAccRoute53ResolverFirewallRule_update_firewallDomainRedirectionAction
--- PASS: TestAccRoute53ResolverFirewallRule_update_firewallDomainRedirectionAction (62.87s)
=== CONT TestAccRoute53ResolverFirewallDomainList_basic
--- PASS: TestAccRoute53ResolverEndpoint_tags (237.39s)
=== CONT TestAccRoute53ResolverFirewallRule_basic
--- PASS: TestAccRoute53ResolverFirewallDomainList_domains (200.52s)
=== CONT TestAccRoute53ResolverFirewallRuleGroup_tags
--- PASS: TestAccRoute53ResolverFirewallDomainList_basic (54.96s)
=== CONT TestAccRoute53ResolverFirewallConfig_disappears
--- PASS: TestAccRoute53ResolverFirewallRule_basic (55.22s)
=== CONT TestAccRoute53ResolverFirewallRuleGroup_disappears
--- PASS: TestAccRoute53ResolverFirewallConfig_disappears (20.98s)
=== CONT TestAccRoute53ResolverFirewallRuleGroup_basic
--- PASS: TestAccRoute53ResolverFirewallRuleGroup_tags (24.86s)
=== CONT TestAccRoute53ResolverFirewallConfig_basic
--- PASS: TestAccRoute53ResolverFirewallRuleGroup_disappears (9.53s)
=== CONT TestAccRoute53ResolverFirewallRuleGroupAssociation_tags
--- PASS: TestAccRoute53ResolverFirewallRuleGroup_basic (11.08s)
=== CONT TestAccRoute53ResolverEndpoint_resolverEndpointType
--- PASS: TestAccRoute53ResolverFirewallConfig_basic (22.18s)
=== CONT TestAccRoute53ResolverFirewallRuleGroupAssociation_disappears
--- PASS: TestAccRoute53ResolverEndpoint_resolverEndpointType (135.86s)
=== CONT TestAccRoute53ResolverEndpoint_updateOutbound
--- PASS: TestAccRoute53ResolverFirewallRuleGroupAssociation_disappears (142.02s)
=== CONT TestAccRoute53ResolverEndpointDataSource_basic
--- PASS: TestAccRoute53ResolverFirewallRuleGroupAssociation_tags (172.32s)
=== CONT TestAccRoute53ResolverFirewallRuleGroupAssociation_priority
--- PASS: TestAccRoute53ResolverEndpointDataSource_basic (90.02s)
=== CONT TestAccRoute53ResolverEndpoint_disappears
--- PASS: TestAccRoute53ResolverEndpoint_disappears (90.51s)
=== CONT TestAccRoute53ResolverFirewallRuleGroupAssociation_mutationProtection
--- PASS: TestAccRoute53ResolverFirewallRuleGroupAssociation_priority (218.08s)
=== CONT TestAccRoute53ResolverEndpoint_basic
--- PASS: TestAccRoute53ResolverEndpoint_basic (92.86s)
=== CONT TestAccRoute53ResolverFirewallRuleGroupAssociation_name
--- PASS: TestAccRoute53ResolverFirewallRuleGroupAssociation_mutationProtection (164.22s)
=== CONT TestAccRoute53ResolverEndpointDataSource_filter
--- PASS: TestAccRoute53ResolverEndpoint_updateOutbound (400.31s)
=== CONT TestAccRoute53ResolverFirewallRuleGroupAssociation_basic
--- PASS: TestAccRoute53ResolverFirewallRuleGroupAssociation_basic (154.26s)
=== CONT TestAccRoute53ResolverFirewallDomainList_tags
--- PASS: TestAccRoute53ResolverFirewallDomainList_tags (69.36s)
=== CONT TestAccRoute53ResolverDNSSECConfig_basic
--- PASS: TestAccRoute53ResolverEndpointDataSource_filter (263.71s)
=== CONT TestAccRoute53ResolverDNSSECConfig_disappear
--- PASS: TestAccRoute53ResolverFirewallRuleGroupAssociation_name (303.08s)
=== CONT TestAccRoute53ResolverConfig_Disappears_vpc
--- PASS: TestAccRoute53ResolverConfig_Disappears_vpc (14.15s)
--- PASS: TestAccRoute53ResolverDNSSECConfig_basic (327.40s)
--- PASS: TestAccRoute53ResolverDNSSECConfig_disappear (325.03s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/route53resolver 2672.523s
@DanielRieske Thanks for the contribution 🎉 👏. |
This functionality has been released in v5.63.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 migrates the
Route 53 Resolver
resources to AWS SDKv2.Relations
Closes #36206
Relates #32976
References
Output from Acceptance Testing
Currently running tests