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

fixed tf-tests: TestAccRoute53Zone, TestAccRoute53ZoneDataSource #5229

Merged
merged 2 commits into from
Jun 15, 2022

Conversation

macnev2013
Copy link
Contributor

TF Tests

  • TestAccRoute53ZoneAssociation
    • TestAccRoute53ZoneAssociation_basic
    • TestAccRoute53ZoneAssociation_disappears
    • TestAccRoute53ZoneAssociation_Disappears_vpc
    • TestAccRoute53ZoneAssociation_Disappears_zone
    • TestAccRoute53ZoneAssociation_crossAccount
    • TestAccRoute53ZoneAssociation_crossRegion
  • TestAccRoute53ZoneDataSource_id
  • TestAccRoute53ZoneDataSource_name
  • TestAccRoute53ZoneDataSource_tags
  • TestAccRoute53ZoneDataSource_vpc

Fixed

  • ListHostedZoneByVPC
  • Updated association response to be more precise

@macnev2013 macnev2013 changed the title fixed tf-suite: Route53 fixed tf-tests: TestAccRoute53Zone, TestAccRoute53ZoneDataSource Jun 14, 2022
zone_list.append(
{
"HostedZoneId": this_id,
"HostedZoneId": zone.id,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Did you verify this against AWS @macnev2013? The docs for get_hosted_zone specifically say that the output should follow this format, but nothing about the format in list_hosted_zones_by_vpc

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes. you can check this doc here.
Also verified it with terraform.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Gotcha. It looks good to me - happy to merge once the unit tests pass

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Test passed. :)

Copy link
Collaborator

@bblommers bblommers left a comment

Choose a reason for hiding this comment

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

Awesome - thanks @macnev2013!

@bblommers bblommers merged commit b66e04f into getmoto:master Jun 15, 2022
@bblommers bblommers added this to the 3.1.14 milestone Jun 15, 2022
@github-actions
Copy link
Contributor

This is now part of moto >= 3.1.14.dev10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants