Skip to content
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

fix(route53): handle escape codes correctly in zone and record name #40154

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

nabeken
Copy link
Contributor

@nabeken nabeken commented Nov 16, 2024

Description

When Route53 hosted zone name and/or record name contains escaped characters, Terraform can't recognize its resources so it continues showing the diff repeatedly.

This PR normalizes an user input into strings in Route53 API's representation so that Terraform can find the resources correctly.

Relations

Closes #40153
Closes #11445

Plese find the details in the above issue.

Output from Acceptance Testing

%  make testacc TESTS="TestAccRoute53(Zone|Record)_" PKG=route53
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.3 test ./internal/service/route53/... -v -count 1 -parallel 20 -run='TestAccRoute53(Zone|Record)_'  -timeout 360m
2024/12/22 00:31:30 Initializing Terraform AWS Provider...
=== RUN   TestAccRoute53Record_basic
=== PAUSE TestAccRoute53Record_basic
=== RUN   TestAccRoute53Record_Create_escape_code_slash
=== PAUSE TestAccRoute53Record_Create_escape_code_slash
=== RUN   TestAccRoute53Record_Create_escape_code_space
=== PAUSE TestAccRoute53Record_Create_escape_code_space
=== RUN   TestAccRoute53Record_Create_escape_code_just_space
=== PAUSE TestAccRoute53Record_Create_escape_code_just_space
=== RUN   TestAccRoute53Record_disappears
=== PAUSE TestAccRoute53Record_disappears
=== RUN   TestAccRoute53Record_Disappears_multipleRecords
=== PAUSE TestAccRoute53Record_Disappears_multipleRecords
=== RUN   TestAccRoute53Record_underscored
=== PAUSE TestAccRoute53Record_underscored
=== RUN   TestAccRoute53Record_fqdn
=== PAUSE TestAccRoute53Record_fqdn
=== RUN   TestAccRoute53Record_trailingPeriodAndZoneID
=== PAUSE TestAccRoute53Record_trailingPeriodAndZoneID
=== RUN   TestAccRoute53Record_Support_txt
=== PAUSE TestAccRoute53Record_Support_txt
=== RUN   TestAccRoute53Record_Support_spf
=== PAUSE TestAccRoute53Record_Support_spf
=== RUN   TestAccRoute53Record_Support_caa
=== PAUSE TestAccRoute53Record_Support_caa
=== RUN   TestAccRoute53Record_Support_ds
=== PAUSE TestAccRoute53Record_Support_ds
=== RUN   TestAccRoute53Record_generatesSuffix
=== PAUSE TestAccRoute53Record_generatesSuffix
=== RUN   TestAccRoute53Record_wildcard
=== PAUSE TestAccRoute53Record_wildcard
=== RUN   TestAccRoute53Record_failover
=== PAUSE TestAccRoute53Record_failover
=== RUN   TestAccRoute53Record_Weighted_basic
=== PAUSE TestAccRoute53Record_Weighted_basic
=== RUN   TestAccRoute53Record_WeightedToSimple_basic
=== PAUSE TestAccRoute53Record_WeightedToSimple_basic
=== RUN   TestAccRoute53Record_Alias_elb
=== PAUSE TestAccRoute53Record_Alias_elb
=== RUN   TestAccRoute53Record_Alias_s3
=== PAUSE TestAccRoute53Record_Alias_s3
=== RUN   TestAccRoute53Record_Alias_vpcEndpoint
=== PAUSE TestAccRoute53Record_Alias_vpcEndpoint
=== RUN   TestAccRoute53Record_Alias_uppercase
=== PAUSE TestAccRoute53Record_Alias_uppercase
=== RUN   TestAccRoute53Record_Weighted_alias
=== PAUSE TestAccRoute53Record_Weighted_alias
=== RUN   TestAccRoute53Record_cidr
=== PAUSE TestAccRoute53Record_cidr
=== RUN   TestAccRoute53Record_Geolocation_basic
=== PAUSE TestAccRoute53Record_Geolocation_basic
=== RUN   TestAccRoute53Record_Geoproximity_basic
=== PAUSE TestAccRoute53Record_Geoproximity_basic
=== RUN   TestAccRoute53Record_HealthCheckID_setIdentifierChange
=== PAUSE TestAccRoute53Record_HealthCheckID_setIdentifierChange
=== RUN   TestAccRoute53Record_HealthCheckID_typeChange
=== PAUSE TestAccRoute53Record_HealthCheckID_typeChange
=== RUN   TestAccRoute53Record_Latency_basic
=== PAUSE TestAccRoute53Record_Latency_basic
=== RUN   TestAccRoute53Record_typeChange
=== PAUSE TestAccRoute53Record_typeChange
=== RUN   TestAccRoute53Record_nameChange
=== PAUSE TestAccRoute53Record_nameChange
=== RUN   TestAccRoute53Record_setIdentifierChangeBasicToWeighted
=== PAUSE TestAccRoute53Record_setIdentifierChangeBasicToWeighted
=== RUN   TestAccRoute53Record_SetIdentifierRename_geolocationContinent
=== PAUSE TestAccRoute53Record_SetIdentifierRename_geolocationContinent
=== RUN   TestAccRoute53Record_SetIdentifierRename_geolocationCountryDefault
=== PAUSE TestAccRoute53Record_SetIdentifierRename_geolocationCountryDefault
=== RUN   TestAccRoute53Record_SetIdentifierRename_geolocationCountrySpecified
=== PAUSE TestAccRoute53Record_SetIdentifierRename_geolocationCountrySpecified
=== RUN   TestAccRoute53Record_SetIdentifierRename_geolocationCountrySubdivision
=== PAUSE TestAccRoute53Record_SetIdentifierRename_geolocationCountrySubdivision
=== RUN   TestAccRoute53Record_SetIdentifierRename_geoproximityRegion
=== PAUSE TestAccRoute53Record_SetIdentifierRename_geoproximityRegion
=== RUN   TestAccRoute53Record_SetIdentifierRename_geoproximityLocalZoneGroup
=== PAUSE TestAccRoute53Record_SetIdentifierRename_geoproximityLocalZoneGroup
=== RUN   TestAccRoute53Record_SetIdentifierRename_geoproximityCoordinates
=== PAUSE TestAccRoute53Record_SetIdentifierRename_geoproximityCoordinates
=== RUN   TestAccRoute53Record_SetIdentifierRename_failover
=== PAUSE TestAccRoute53Record_SetIdentifierRename_failover
=== RUN   TestAccRoute53Record_SetIdentifierRename_latency
=== PAUSE TestAccRoute53Record_SetIdentifierRename_latency
=== RUN   TestAccRoute53Record_SetIdentifierRename_multiValueAnswer
=== PAUSE TestAccRoute53Record_SetIdentifierRename_multiValueAnswer
=== RUN   TestAccRoute53Record_SetIdentifierRename_weighted
=== PAUSE TestAccRoute53Record_SetIdentifierRename_weighted
=== RUN   TestAccRoute53Record_Alias_change
=== PAUSE TestAccRoute53Record_Alias_change
=== RUN   TestAccRoute53Record_Alias_changeDualstack
=== PAUSE TestAccRoute53Record_Alias_changeDualstack
=== RUN   TestAccRoute53Record_empty
=== PAUSE TestAccRoute53Record_empty
=== RUN   TestAccRoute53Record_longTXTrecord
=== PAUSE TestAccRoute53Record_longTXTrecord
=== RUN   TestAccRoute53Record_MultiValueAnswer_basic
=== PAUSE TestAccRoute53Record_MultiValueAnswer_basic
=== RUN   TestAccRoute53Record_Allow_doNotOverwrite
=== PAUSE TestAccRoute53Record_Allow_doNotOverwrite
=== RUN   TestAccRoute53Record_Allow_overwrite
=== PAUSE TestAccRoute53Record_Allow_overwrite
=== RUN   TestAccRoute53Record_ttl0
=== PAUSE TestAccRoute53Record_ttl0
=== RUN   TestAccRoute53Zone_basic
=== PAUSE TestAccRoute53Zone_basic
=== RUN   TestAccRoute53Zone_Create_escape_code_slash
=== PAUSE TestAccRoute53Zone_Create_escape_code_slash
=== RUN   TestAccRoute53Zone_Create_escape_code_space
=== PAUSE TestAccRoute53Zone_Create_escape_code_space
=== RUN   TestAccRoute53Zone_disappears
=== PAUSE TestAccRoute53Zone_disappears
=== RUN   TestAccRoute53Zone_multiple
=== PAUSE TestAccRoute53Zone_multiple
=== RUN   TestAccRoute53Zone_comment
=== PAUSE TestAccRoute53Zone_comment
=== RUN   TestAccRoute53Zone_delegationSetID
=== PAUSE TestAccRoute53Zone_delegationSetID
=== RUN   TestAccRoute53Zone_forceDestroy
=== PAUSE TestAccRoute53Zone_forceDestroy
=== RUN   TestAccRoute53Zone_ForceDestroy_trailingPeriod
=== PAUSE TestAccRoute53Zone_ForceDestroy_trailingPeriod
=== RUN   TestAccRoute53Zone_tags
=== PAUSE TestAccRoute53Zone_tags
=== RUN   TestAccRoute53Zone_VPC_single
=== PAUSE TestAccRoute53Zone_VPC_single
=== RUN   TestAccRoute53Zone_VPC_multiple
=== PAUSE TestAccRoute53Zone_VPC_multiple
=== RUN   TestAccRoute53Zone_VPC_updates
=== PAUSE TestAccRoute53Zone_VPC_updates
=== RUN   TestAccRoute53Zone_VPC_single_forceDestroy
=== PAUSE TestAccRoute53Zone_VPC_single_forceDestroy
=== CONT  TestAccRoute53Record_basic
=== CONT  TestAccRoute53Record_SetIdentifierRename_geolocationCountryDefault
=== CONT  TestAccRoute53Record_WeightedToSimple_basic
=== CONT  TestAccRoute53Record_SetIdentifierRename_geolocationContinent
=== CONT  TestAccRoute53Record_setIdentifierChangeBasicToWeighted
=== CONT  TestAccRoute53Record_nameChange
=== CONT  TestAccRoute53Record_typeChange
=== CONT  TestAccRoute53Record_Latency_basic
=== CONT  TestAccRoute53Record_HealthCheckID_typeChange
=== CONT  TestAccRoute53Record_HealthCheckID_setIdentifierChange
=== CONT  TestAccRoute53Record_Geoproximity_basic
=== CONT  TestAccRoute53Record_Geolocation_basic
=== CONT  TestAccRoute53Record_cidr
=== CONT  TestAccRoute53Record_Weighted_alias
=== CONT  TestAccRoute53Record_Alias_uppercase
=== CONT  TestAccRoute53Record_Alias_vpcEndpoint
=== CONT  TestAccRoute53Record_Alias_s3
=== CONT  TestAccRoute53Record_Alias_elb
=== CONT  TestAccRoute53Record_SetIdentifierRename_multiValueAnswer
=== CONT  TestAccRoute53Record_Allow_doNotOverwrite
--- PASS: TestAccRoute53Record_Latency_basic (183.13s)
=== CONT  TestAccRoute53Record_MultiValueAnswer_basic
--- PASS: TestAccRoute53Record_Allow_doNotOverwrite (189.59s)
=== CONT  TestAccRoute53Record_longTXTrecord
--- PASS: TestAccRoute53Record_Alias_s3 (202.42s)
=== CONT  TestAccRoute53Record_empty
--- PASS: TestAccRoute53Record_Alias_uppercase (206.66s)
=== CONT  TestAccRoute53Record_Alias_changeDualstack
--- PASS: TestAccRoute53Record_Geoproximity_basic (207.64s)
=== CONT  TestAccRoute53Record_Alias_change
--- PASS: TestAccRoute53Record_Geolocation_basic (212.36s)
=== CONT  TestAccRoute53Record_SetIdentifierRename_weighted
--- PASS: TestAccRoute53Record_basic (214.92s)
=== CONT  TestAccRoute53Record_SetIdentifierRename_geoproximityLocalZoneGroup
--- PASS: TestAccRoute53Record_Alias_elb (224.44s)
=== CONT  TestAccRoute53Record_SetIdentifierRename_latency
--- PASS: TestAccRoute53Record_SetIdentifierRename_multiValueAnswer (239.47s)
=== CONT  TestAccRoute53Record_Allow_overwrite
--- PASS: TestAccRoute53Record_typeChange (244.00s)
=== CONT  TestAccRoute53Record_SetIdentifierRename_failover
--- PASS: TestAccRoute53Record_setIdentifierChangeBasicToWeighted (252.26s)
=== CONT  TestAccRoute53Record_SetIdentifierRename_geoproximityCoordinates
--- PASS: TestAccRoute53Record_SetIdentifierRename_geolocationContinent (257.34s)
=== CONT  TestAccRoute53Zone_VPC_single_forceDestroy
--- PASS: TestAccRoute53Record_SetIdentifierRename_geolocationCountryDefault (264.09s)
=== CONT  TestAccRoute53Zone_delegationSetID
--- PASS: TestAccRoute53Record_HealthCheckID_setIdentifierChange (269.30s)
=== CONT  TestAccRoute53Zone_comment
--- PASS: TestAccRoute53Record_WeightedToSimple_basic (271.05s)
=== CONT  TestAccRoute53Zone_VPC_updates
--- PASS: TestAccRoute53Record_HealthCheckID_typeChange (284.52s)
=== CONT  TestAccRoute53Zone_multiple
--- PASS: TestAccRoute53Record_nameChange (302.61s)
=== CONT  TestAccRoute53Zone_VPC_multiple
--- PASS: TestAccRoute53Record_cidr (312.18s)
=== CONT  TestAccRoute53Zone_disappears
--- PASS: TestAccRoute53Record_Weighted_alias (349.87s)
=== CONT  TestAccRoute53Zone_VPC_single
--- PASS: TestAccRoute53Zone_delegationSetID (89.13s)
=== CONT  TestAccRoute53Zone_Create_escape_code_space
--- PASS: TestAccRoute53Record_empty (160.85s)
=== CONT  TestAccRoute53Zone_tags
--- PASS: TestAccRoute53Record_MultiValueAnswer_basic (182.74s)
=== CONT  TestAccRoute53Zone_Create_escape_code_slash
--- PASS: TestAccRoute53Record_longTXTrecord (180.90s)
=== CONT  TestAccRoute53Zone_ForceDestroy_trailingPeriod
--- PASS: TestAccRoute53Zone_comment (109.09s)
=== CONT  TestAccRoute53Zone_basic
--- PASS: TestAccRoute53Zone_multiple (100.46s)
=== CONT  TestAccRoute53Zone_forceDestroy
--- PASS: TestAccRoute53Record_Alias_changeDualstack (201.17s)
=== CONT  TestAccRoute53Record_ttl0
--- PASS: TestAccRoute53Zone_disappears (97.45s)
=== CONT  TestAccRoute53Record_SetIdentifierRename_geolocationCountrySubdivision
--- PASS: TestAccRoute53Record_Alias_vpcEndpoint (422.61s)
=== CONT  TestAccRoute53Record_SetIdentifierRename_geoproximityRegion
--- PASS: TestAccRoute53Record_Alias_change (228.75s)
=== CONT  TestAccRoute53Record_SetIdentifierRename_geolocationCountrySpecified
--- PASS: TestAccRoute53Record_SetIdentifierRename_weighted (224.44s)
=== CONT  TestAccRoute53Record_Support_txt
--- PASS: TestAccRoute53Record_SetIdentifierRename_geoproximityLocalZoneGroup (230.69s)
=== CONT  TestAccRoute53Record_Weighted_basic
--- PASS: TestAccRoute53Record_SetIdentifierRename_failover (202.10s)
=== CONT  TestAccRoute53Record_failover
--- PASS: TestAccRoute53Zone_Create_escape_code_space (93.18s)
=== CONT  TestAccRoute53Record_wildcard
--- PASS: TestAccRoute53Record_SetIdentifierRename_latency (223.08s)
=== CONT  TestAccRoute53Record_generatesSuffix
--- PASS: TestAccRoute53Record_Allow_overwrite (210.98s)
=== CONT  TestAccRoute53Record_Support_ds
--- PASS: TestAccRoute53Zone_Create_escape_code_slash (95.50s)
=== CONT  TestAccRoute53Record_Support_caa
--- PASS: TestAccRoute53Zone_tags (108.55s)
=== CONT  TestAccRoute53Record_Support_spf
--- PASS: TestAccRoute53Zone_VPC_single_forceDestroy (216.89s)
=== CONT  TestAccRoute53Record_Disappears_multipleRecords
--- PASS: TestAccRoute53Zone_basic (100.23s)
=== CONT  TestAccRoute53Record_Create_escape_code_just_space
--- PASS: TestAccRoute53Record_SetIdentifierRename_geoproximityCoordinates (236.52s)
=== CONT  TestAccRoute53Record_trailingPeriodAndZoneID
--- PASS: TestAccRoute53Zone_VPC_single (147.47s)
=== CONT  TestAccRoute53Record_disappears
--- PASS: TestAccRoute53Zone_VPC_multiple (212.28s)
=== CONT  TestAccRoute53Record_fqdn
--- PASS: TestAccRoute53Zone_VPC_updates (297.38s)
=== CONT  TestAccRoute53Record_Create_escape_code_space
--- PASS: TestAccRoute53Record_Support_txt (165.33s)
=== CONT  TestAccRoute53Record_underscored
--- PASS: TestAccRoute53Record_generatesSuffix (154.63s)
=== CONT  TestAccRoute53Record_Create_escape_code_slash
--- PASS: TestAccRoute53Record_Support_ds (157.98s)
--- PASS: TestAccRoute53Zone_ForceDestroy_trailingPeriod (243.60s)
--- PASS: TestAccRoute53Record_failover (172.10s)
--- PASS: TestAccRoute53Record_SetIdentifierRename_geolocationCountrySubdivision (215.26s)
--- PASS: TestAccRoute53Record_Weighted_basic (184.20s)
--- PASS: TestAccRoute53Record_Support_caa (172.78s)
--- PASS: TestAccRoute53Zone_forceDestroy (250.40s)
--- PASS: TestAccRoute53Record_Create_escape_code_just_space (163.91s)
--- PASS: TestAccRoute53Record_Support_spf (175.50s)
--- PASS: TestAccRoute53Record_trailingPeriodAndZoneID (166.64s)
--- PASS: TestAccRoute53Record_SetIdentifierRename_geoproximityRegion (236.03s)
--- PASS: TestAccRoute53Record_ttl0 (255.73s)
--- PASS: TestAccRoute53Record_disappears (171.14s)
--- PASS: TestAccRoute53Record_wildcard (230.21s)
--- PASS: TestAccRoute53Record_SetIdentifierRename_geolocationCountrySpecified (244.98s)
--- PASS: TestAccRoute53Record_Disappears_multipleRecords (215.23s)
--- PASS: TestAccRoute53Record_fqdn (188.25s)
--- PASS: TestAccRoute53Record_Create_escape_code_space (171.44s)
--- PASS: TestAccRoute53Record_underscored (152.46s)
--- PASS: TestAccRoute53Record_Create_escape_code_slash (186.71s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/route53	793.155s

@nabeken nabeken requested a review from a team as a code owner November 16, 2024 14:59
Copy link

Community Note

Voting for Prioritization

  • Please vote on this pull request by adding a 👍 reaction to the original post to help the community and maintainers prioritize this pull request.
  • Please see our prioritization guide for information on how we prioritize.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

For Submitters

  • Review the contribution guide relating to the type of change you are making to ensure all of the necessary steps have been taken.
  • For new resources and data sources, use skaff to generate scaffolding with comments detailing common expectations.
  • Whether or not the branch has been rebased will not impact prioritization, but doing so is always a welcome surprise.

@github-actions github-actions bot added tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. service/route53 Issues and PRs that pertain to the route53 service. needs-triage Waiting for first response or review from a maintainer. labels Nov 16, 2024
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Welcome @nabeken 👋

It looks like this is your first Pull Request submission to the Terraform AWS Provider! If you haven’t already done so please make sure you have checked out our CONTRIBUTOR guide and FAQ to make sure your contribution is adhering to best practice and has all the necessary elements in place for a successful approval.

Also take a look at our FAQ which details how we prioritize Pull Requests for inclusion.

Thanks again, and welcome to the community! 😃

@justinretzolk
Copy link
Member

Hey @nabeken 👋 Thank you for taking the time to raise this! It looks like this would also close #11445 -- does that seem correct to you?

@justinretzolk justinretzolk added bug Addresses a defect in current functionality. and removed needs-triage Waiting for first response or review from a maintainer. labels Nov 19, 2024
@nabeken nabeken changed the title fix(route53): handle escaped characters correctly in zone and record name fix(route53): handle escape codes correctly in zone and record name Dec 21, 2024
@nabeken
Copy link
Contributor Author

nabeken commented Dec 21, 2024

@justinretzolk Sorry for the quiet for a while.

It looks like this would also close #11445 -- does that seem correct to you?

I found that my initial fix didn't fully resolve the issue described above the case. I pushed commits taking another approach and I believe then it closes #11445.

Could you take another look?

Copy link
Contributor

@ewbankkit ewbankkit left a 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=TestAccRoute53Zone_' PKG=route53 ACCTEST_PARALLELISM=3
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.3 test ./internal/service/route53/... -v -count 1 -parallel 3  -run=TestAccRoute53Zone_ -timeout 360m
2024/12/26 15:29:50 Initializing Terraform AWS Provider...
=== RUN   TestAccRoute53Zone_basic
=== PAUSE TestAccRoute53Zone_basic
=== RUN   TestAccRoute53Zone_disappears
=== PAUSE TestAccRoute53Zone_disappears
=== RUN   TestAccRoute53Zone_multiple
=== PAUSE TestAccRoute53Zone_multiple
=== RUN   TestAccRoute53Zone_comment
=== PAUSE TestAccRoute53Zone_comment
=== RUN   TestAccRoute53Zone_delegationSetID
=== PAUSE TestAccRoute53Zone_delegationSetID
=== RUN   TestAccRoute53Zone_forceDestroy
=== PAUSE TestAccRoute53Zone_forceDestroy
=== RUN   TestAccRoute53Zone_ForceDestroy_trailingPeriod
=== PAUSE TestAccRoute53Zone_ForceDestroy_trailingPeriod
=== RUN   TestAccRoute53Zone_tags
=== PAUSE TestAccRoute53Zone_tags
=== RUN   TestAccRoute53Zone_VPC_single
=== PAUSE TestAccRoute53Zone_VPC_single
=== RUN   TestAccRoute53Zone_VPC_multiple
=== PAUSE TestAccRoute53Zone_VPC_multiple
=== RUN   TestAccRoute53Zone_VPC_updates
=== PAUSE TestAccRoute53Zone_VPC_updates
=== RUN   TestAccRoute53Zone_VPC_single_forceDestroy
=== PAUSE TestAccRoute53Zone_VPC_single_forceDestroy
=== RUN   TestAccRoute53Zone_escapedCharacter
=== PAUSE TestAccRoute53Zone_escapedCharacter
=== RUN   TestAccRoute53Zone_classlessDelegation
=== PAUSE TestAccRoute53Zone_classlessDelegation
=== RUN   TestAccRoute53Zone_escapedSlash
=== PAUSE TestAccRoute53Zone_escapedSlash
=== RUN   TestAccRoute53Zone_escapedSpace
=== PAUSE TestAccRoute53Zone_escapedSpace
=== CONT  TestAccRoute53Zone_basic
=== CONT  TestAccRoute53Zone_VPC_single_forceDestroy
=== CONT  TestAccRoute53Zone_ForceDestroy_trailingPeriod
--- PASS: TestAccRoute53Zone_basic (103.12s)
=== CONT  TestAccRoute53Zone_escapedSlash
--- PASS: TestAccRoute53Zone_escapedSlash (84.68s)
=== CONT  TestAccRoute53Zone_escapedSpace
--- PASS: TestAccRoute53Zone_ForceDestroy_trailingPeriod (242.85s)
=== CONT  TestAccRoute53Zone_classlessDelegation
--- PASS: TestAccRoute53Zone_VPC_single_forceDestroy (249.86s)
=== CONT  TestAccRoute53Zone_VPC_multiple
--- PASS: TestAccRoute53Zone_escapedSpace (86.31s)
=== CONT  TestAccRoute53Zone_VPC_updates
--- PASS: TestAccRoute53Zone_classlessDelegation (93.94s)
=== CONT  TestAccRoute53Zone_escapedCharacter
--- PASS: TestAccRoute53Zone_escapedCharacter (91.58s)
=== CONT  TestAccRoute53Zone_VPC_single
--- PASS: TestAccRoute53Zone_VPC_multiple (224.23s)
=== CONT  TestAccRoute53Zone_comment
--- PASS: TestAccRoute53Zone_VPC_updates (288.80s)
=== CONT  TestAccRoute53Zone_forceDestroy
--- PASS: TestAccRoute53Zone_comment (101.20s)
=== CONT  TestAccRoute53Zone_delegationSetID
--- PASS: TestAccRoute53Zone_VPC_single (147.10s)
=== CONT  TestAccRoute53Zone_multiple
--- PASS: TestAccRoute53Zone_delegationSetID (84.12s)
=== CONT  TestAccRoute53Zone_disappears
--- PASS: TestAccRoute53Zone_multiple (96.95s)
=== CONT  TestAccRoute53Zone_tags
--- PASS: TestAccRoute53Zone_disappears (78.13s)
--- PASS: TestAccRoute53Zone_tags (84.84s)
--- PASS: TestAccRoute53Zone_forceDestroy (223.54s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/route53	791.870s
% make testacc TESTARGS='-run=TestAccRoute53Record_' PKG=route53 ACCTEST_PARALLELISM=3
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.3 test ./internal/service/route53/... -v -count 1 -parallel 3  -run=TestAccRoute53Record_ -timeout 360m
2024/12/26 15:53:38 Initializing Terraform AWS Provider...
=== RUN   TestAccRoute53Record_basic
=== PAUSE TestAccRoute53Record_basic
=== RUN   TestAccRoute53Record_disappears
=== PAUSE TestAccRoute53Record_disappears
=== RUN   TestAccRoute53Record_Disappears_multipleRecords
=== PAUSE TestAccRoute53Record_Disappears_multipleRecords
=== RUN   TestAccRoute53Record_underscored
=== PAUSE TestAccRoute53Record_underscored
=== RUN   TestAccRoute53Record_fqdn
=== PAUSE TestAccRoute53Record_fqdn
=== RUN   TestAccRoute53Record_trailingPeriodAndZoneID
=== PAUSE TestAccRoute53Record_trailingPeriodAndZoneID
=== RUN   TestAccRoute53Record_Support_txt
=== PAUSE TestAccRoute53Record_Support_txt
=== RUN   TestAccRoute53Record_Support_spf
=== PAUSE TestAccRoute53Record_Support_spf
=== RUN   TestAccRoute53Record_Support_caa
=== PAUSE TestAccRoute53Record_Support_caa
=== RUN   TestAccRoute53Record_Support_ds
=== PAUSE TestAccRoute53Record_Support_ds
=== RUN   TestAccRoute53Record_generatesSuffix
=== PAUSE TestAccRoute53Record_generatesSuffix
=== RUN   TestAccRoute53Record_wildcard
=== PAUSE TestAccRoute53Record_wildcard
=== RUN   TestAccRoute53Record_failover
=== PAUSE TestAccRoute53Record_failover
=== RUN   TestAccRoute53Record_Weighted_basic
=== PAUSE TestAccRoute53Record_Weighted_basic
=== RUN   TestAccRoute53Record_WeightedToSimple_basic
=== PAUSE TestAccRoute53Record_WeightedToSimple_basic
=== RUN   TestAccRoute53Record_Alias_elb
=== PAUSE TestAccRoute53Record_Alias_elb
=== RUN   TestAccRoute53Record_Alias_s3
=== PAUSE TestAccRoute53Record_Alias_s3
=== RUN   TestAccRoute53Record_Alias_vpcEndpoint
=== PAUSE TestAccRoute53Record_Alias_vpcEndpoint
=== RUN   TestAccRoute53Record_Alias_uppercase
=== PAUSE TestAccRoute53Record_Alias_uppercase
=== RUN   TestAccRoute53Record_Weighted_alias
=== PAUSE TestAccRoute53Record_Weighted_alias
=== RUN   TestAccRoute53Record_cidr
=== PAUSE TestAccRoute53Record_cidr
=== RUN   TestAccRoute53Record_Geolocation_basic
=== PAUSE TestAccRoute53Record_Geolocation_basic
=== RUN   TestAccRoute53Record_Geoproximity_basic
=== PAUSE TestAccRoute53Record_Geoproximity_basic
=== RUN   TestAccRoute53Record_HealthCheckID_setIdentifierChange
=== PAUSE TestAccRoute53Record_HealthCheckID_setIdentifierChange
=== RUN   TestAccRoute53Record_HealthCheckID_typeChange
=== PAUSE TestAccRoute53Record_HealthCheckID_typeChange
=== RUN   TestAccRoute53Record_Latency_basic
=== PAUSE TestAccRoute53Record_Latency_basic
=== RUN   TestAccRoute53Record_typeChange
=== PAUSE TestAccRoute53Record_typeChange
=== RUN   TestAccRoute53Record_nameChange
=== PAUSE TestAccRoute53Record_nameChange
=== RUN   TestAccRoute53Record_setIdentifierChangeBasicToWeighted
=== PAUSE TestAccRoute53Record_setIdentifierChangeBasicToWeighted
=== RUN   TestAccRoute53Record_SetIdentifierRename_geolocationContinent
=== PAUSE TestAccRoute53Record_SetIdentifierRename_geolocationContinent
=== RUN   TestAccRoute53Record_SetIdentifierRename_geolocationCountryDefault
=== PAUSE TestAccRoute53Record_SetIdentifierRename_geolocationCountryDefault
=== RUN   TestAccRoute53Record_SetIdentifierRename_geolocationCountrySpecified
=== PAUSE TestAccRoute53Record_SetIdentifierRename_geolocationCountrySpecified
=== RUN   TestAccRoute53Record_SetIdentifierRename_geolocationCountrySubdivision
=== PAUSE TestAccRoute53Record_SetIdentifierRename_geolocationCountrySubdivision
=== RUN   TestAccRoute53Record_SetIdentifierRename_geoproximityRegion
=== PAUSE TestAccRoute53Record_SetIdentifierRename_geoproximityRegion
=== RUN   TestAccRoute53Record_SetIdentifierRename_geoproximityLocalZoneGroup
=== PAUSE TestAccRoute53Record_SetIdentifierRename_geoproximityLocalZoneGroup
=== RUN   TestAccRoute53Record_SetIdentifierRename_geoproximityCoordinates
=== PAUSE TestAccRoute53Record_SetIdentifierRename_geoproximityCoordinates
=== RUN   TestAccRoute53Record_SetIdentifierRename_failover
=== PAUSE TestAccRoute53Record_SetIdentifierRename_failover
=== RUN   TestAccRoute53Record_SetIdentifierRename_latency
=== PAUSE TestAccRoute53Record_SetIdentifierRename_latency
=== RUN   TestAccRoute53Record_SetIdentifierRename_multiValueAnswer
=== PAUSE TestAccRoute53Record_SetIdentifierRename_multiValueAnswer
=== RUN   TestAccRoute53Record_SetIdentifierRename_weighted
=== PAUSE TestAccRoute53Record_SetIdentifierRename_weighted
=== RUN   TestAccRoute53Record_Alias_change
=== PAUSE TestAccRoute53Record_Alias_change
=== RUN   TestAccRoute53Record_Alias_changeDualstack
=== PAUSE TestAccRoute53Record_Alias_changeDualstack
=== RUN   TestAccRoute53Record_empty
=== PAUSE TestAccRoute53Record_empty
=== RUN   TestAccRoute53Record_longTXTrecord
=== PAUSE TestAccRoute53Record_longTXTrecord
=== RUN   TestAccRoute53Record_MultiValueAnswer_basic
=== PAUSE TestAccRoute53Record_MultiValueAnswer_basic
=== RUN   TestAccRoute53Record_Allow_doNotOverwrite
=== PAUSE TestAccRoute53Record_Allow_doNotOverwrite
=== RUN   TestAccRoute53Record_Allow_overwrite
=== PAUSE TestAccRoute53Record_Allow_overwrite
=== RUN   TestAccRoute53Record_ttl0
=== PAUSE TestAccRoute53Record_ttl0
=== RUN   TestAccRoute53Record_aliasWildcardName
=== PAUSE TestAccRoute53Record_aliasWildcardName
=== RUN   TestAccRoute53Record_escapedSlash
=== PAUSE TestAccRoute53Record_escapedSlash
=== RUN   TestAccRoute53Record_escapedSpace
=== PAUSE TestAccRoute53Record_escapedSpace
=== RUN   TestAccRoute53Record_secapedJustSpace
=== PAUSE TestAccRoute53Record_secapedJustSpace
=== CONT  TestAccRoute53Record_basic
=== CONT  TestAccRoute53Record_secapedJustSpace
=== CONT  TestAccRoute53Record_SetIdentifierRename_weighted
--- PASS: TestAccRoute53Record_basic (146.97s)
=== CONT  TestAccRoute53Record_Allow_doNotOverwrite
--- PASS: TestAccRoute53Record_secapedJustSpace (155.44s)
=== CONT  TestAccRoute53Record_escapedSpace
--- PASS: TestAccRoute53Record_SetIdentifierRename_weighted (206.80s)
=== CONT  TestAccRoute53Record_escapedSlash
--- PASS: TestAccRoute53Record_Allow_doNotOverwrite (159.32s)
=== CONT  TestAccRoute53Record_aliasWildcardName
--- PASS: TestAccRoute53Record_escapedSpace (152.44s)
=== CONT  TestAccRoute53Record_ttl0
--- PASS: TestAccRoute53Record_escapedSlash (152.38s)
=== CONT  TestAccRoute53Record_Allow_overwrite
--- PASS: TestAccRoute53Record_ttl0 (261.92s)
=== CONT  TestAccRoute53Record_empty
--- PASS: TestAccRoute53Record_Allow_overwrite (220.20s)
=== CONT  TestAccRoute53Record_MultiValueAnswer_basic
--- PASS: TestAccRoute53Record_MultiValueAnswer_basic (167.51s)
=== CONT  TestAccRoute53Record_longTXTrecord
--- PASS: TestAccRoute53Record_empty (188.58s)
=== CONT  TestAccRoute53Record_cidr
--- PASS: TestAccRoute53Record_aliasWildcardName (532.64s)
=== CONT  TestAccRoute53Record_SetIdentifierRename_multiValueAnswer
--- PASS: TestAccRoute53Record_longTXTrecord (166.86s)
=== CONT  TestAccRoute53Record_SetIdentifierRename_latency
--- PASS: TestAccRoute53Record_cidr (268.20s)
=== CONT  TestAccRoute53Record_SetIdentifierRename_failover
=== CONT  TestAccRoute53Record_SetIdentifierRename_geoproximityCoordinates
--- PASS: TestAccRoute53Record_SetIdentifierRename_multiValueAnswer (235.27s)
--- PASS: TestAccRoute53Record_SetIdentifierRename_latency (217.37s)
=== CONT  TestAccRoute53Record_SetIdentifierRename_geoproximityLocalZoneGroup
--- PASS: TestAccRoute53Record_SetIdentifierRename_failover (211.88s)
=== CONT  TestAccRoute53Record_SetIdentifierRename_geoproximityRegion
--- PASS: TestAccRoute53Record_SetIdentifierRename_geoproximityCoordinates (236.43s)
=== CONT  TestAccRoute53Record_SetIdentifierRename_geolocationCountrySubdivision
--- PASS: TestAccRoute53Record_SetIdentifierRename_geoproximityLocalZoneGroup (226.13s)
=== CONT  TestAccRoute53Record_SetIdentifierRename_geolocationCountrySpecified
--- PASS: TestAccRoute53Record_SetIdentifierRename_geoproximityRegion (229.27s)
=== CONT  TestAccRoute53Record_SetIdentifierRename_geolocationCountryDefault
--- PASS: TestAccRoute53Record_SetIdentifierRename_geolocationCountrySubdivision (222.28s)
=== CONT  TestAccRoute53Record_SetIdentifierRename_geolocationContinent
--- PASS: TestAccRoute53Record_SetIdentifierRename_geolocationCountrySpecified (216.66s)
=== CONT  TestAccRoute53Record_setIdentifierChangeBasicToWeighted
--- PASS: TestAccRoute53Record_SetIdentifierRename_geolocationCountryDefault (213.20s)
=== CONT  TestAccRoute53Record_nameChange
--- PASS: TestAccRoute53Record_SetIdentifierRename_geolocationContinent (222.20s)
=== CONT  TestAccRoute53Record_typeChange
--- PASS: TestAccRoute53Record_setIdentifierChangeBasicToWeighted (216.05s)
=== CONT  TestAccRoute53Record_Latency_basic
--- PASS: TestAccRoute53Record_nameChange (249.08s)
=== CONT  TestAccRoute53Record_HealthCheckID_typeChange
--- PASS: TestAccRoute53Record_typeChange (197.96s)
=== CONT  TestAccRoute53Record_HealthCheckID_setIdentifierChange
--- PASS: TestAccRoute53Record_Latency_basic (179.44s)
=== CONT  TestAccRoute53Record_Geoproximity_basic
--- PASS: TestAccRoute53Record_HealthCheckID_typeChange (213.37s)
=== CONT  TestAccRoute53Record_Geolocation_basic
--- PASS: TestAccRoute53Record_HealthCheckID_setIdentifierChange (197.18s)
=== CONT  TestAccRoute53Record_Alias_elb
--- PASS: TestAccRoute53Record_Geoproximity_basic (186.24s)
=== CONT  TestAccRoute53Record_Weighted_alias
--- PASS: TestAccRoute53Record_Alias_elb (170.50s)
=== CONT  TestAccRoute53Record_generatesSuffix
--- PASS: TestAccRoute53Record_Geolocation_basic (177.78s)
=== CONT  TestAccRoute53Record_Alias_uppercase
--- PASS: TestAccRoute53Record_Weighted_alias (301.74s)
=== CONT  TestAccRoute53Record_WeightedToSimple_basic
--- PASS: TestAccRoute53Record_Alias_uppercase (169.70s)
=== CONT  TestAccRoute53Record_Alias_vpcEndpoint
--- PASS: TestAccRoute53Record_generatesSuffix (178.20s)
=== CONT  TestAccRoute53Record_Weighted_basic
--- PASS: TestAccRoute53Record_WeightedToSimple_basic (213.67s)
=== CONT  TestAccRoute53Record_Alias_s3
--- PASS: TestAccRoute53Record_Weighted_basic (177.31s)
=== CONT  TestAccRoute53Record_failover
--- PASS: TestAccRoute53Record_failover (151.34s)
=== CONT  TestAccRoute53Record_Alias_changeDualstack
--- PASS: TestAccRoute53Record_Alias_s3 (164.21s)
=== CONT  TestAccRoute53Record_wildcard
--- PASS: TestAccRoute53Record_Alias_vpcEndpoint (408.90s)
=== CONT  TestAccRoute53Record_Alias_change
--- PASS: TestAccRoute53Record_Alias_changeDualstack (196.65s)
=== CONT  TestAccRoute53Record_trailingPeriodAndZoneID
--- PASS: TestAccRoute53Record_wildcard (201.55s)
=== CONT  TestAccRoute53Record_underscored
--- PASS: TestAccRoute53Record_Alias_change (206.71s)
=== CONT  TestAccRoute53Record_Support_ds
=== CONT  TestAccRoute53Record_fqdn
--- PASS: TestAccRoute53Record_trailingPeriodAndZoneID (1068.99s)
--- PASS: TestAccRoute53Record_underscored (1056.84s)
=== CONT  TestAccRoute53Record_Support_caa
--- PASS: TestAccRoute53Record_Support_ds (1068.87s)
=== CONT  TestAccRoute53Record_Support_txt
--- PASS: TestAccRoute53Record_Support_caa (157.55s)
=== CONT  TestAccRoute53Record_Support_spf
--- PASS: TestAccRoute53Record_fqdn (167.03s)
=== CONT  TestAccRoute53Record_Disappears_multipleRecords
--- PASS: TestAccRoute53Record_Support_txt (169.48s)
=== CONT  TestAccRoute53Record_disappears
--- PASS: TestAccRoute53Record_Support_spf (168.44s)
--- PASS: TestAccRoute53Record_Disappears_multipleRecords (212.88s)
--- PASS: TestAccRoute53Record_disappears (158.91s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/route53	4508.922s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Addresses a defect in current functionality. service/route53 Issues and PRs that pertain to the route53 service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
3 participants