hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.84k stars 9.19k forks source link

r/aws_route53_record: Fix `panic: interface conversion` when `geolocation_routing_policy` is empty #39944

Closed ewbankkit closed 2 weeks ago

ewbankkit commented 2 weeks ago

Description

Use standard expander for blocks.

Relations

Closes https://github.com/hashicorp/terraform-provider-aws/issues/39936.

Output from Acceptance Testing

--- PASS: TestAccRoute53Record_SetIdentifierRename_geoproximityCoordinates (221.29s)
=== CONT  TestAccRoute53Record_nameChange
--- PASS: TestAccRoute53Record_SetIdentifierRename_weighted (220.74s)
=== CONT  TestAccRoute53Record_SetIdentifierRename_geoproximityLocalZoneGroup
--- PASS: TestAccRoute53Record_Alias_change (225.71s)
=== CONT  TestAccRoute53Record_SetIdentifierRename_geoproximityRegion
--- PASS: TestAccRoute53Record_Alias_changeDualstack (243.19s)
=== CONT  TestAccRoute53Record_SetIdentifierRename_geolocationCountrySubdivision
--- PASS: TestAccRoute53Record_nameChange (284.31s)
=== CONT  TestAccRoute53Record_SetIdentifierRename_geolocationCountrySpecified
--- PASS: TestAccRoute53Record_SetIdentifierRename_geoproximityRegion (205.02s)
=== CONT  TestAccRoute53Record_SetIdentifierRename_geolocationCountryDefault
--- PASS: TestAccRoute53Record_SetIdentifierRename_geoproximityLocalZoneGroup (227.60s)
=== CONT  TestAccRoute53Record_SetIdentifierRename_geolocationContinent
--- PASS: TestAccRoute53Record_SetIdentifierRename_geolocationCountrySubdivision (259.52s)
=== CONT  TestAccRoute53Record_setIdentifierChangeBasicToWeighted
--- PASS: TestAccRoute53Record_SetIdentifierRename_geolocationCountrySpecified (217.18s)
=== CONT  TestAccRoute53Record_SetIdentifierRename_latency
--- PASS: TestAccRoute53Record_SetIdentifierRename_geolocationContinent (233.54s)
=== CONT  TestAccRoute53Record_SetIdentifierRename_multiValueAnswer
--- PASS: TestAccRoute53Record_SetIdentifierRename_geolocationCountryDefault (245.52s)
=== CONT  TestAccRoute53Record_SetIdentifierRename_failover
github-actions[bot] commented 2 weeks ago

Community Note

Voting for Prioritization

For Submitters

github-actions[bot] commented 2 weeks ago

This functionality has been released in v5.74.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!