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

Don't emit warning when VPC has IPv6 CIDR associated #490

Merged

Conversation

dnmvisser
Copy link
Contributor

SUMMARY

Setting ipv6_cidr: yes on an ec2_vpc_net task will create a VPC with an associated IPv6 CIDR. Running the same task again will result in no changes as the VPC will already contain an IPv6 CIDR (i.e. idempotence).
But the task will now raise a warning every time:

[WARNING]: Only one IPv6 CIDR is permitted per VPC, vpc-01d8cfbcb7c00bbd4 already has CIDR 2a05:d014:c53:d00::/56

This warning is unnecessary because what happens is actually expected, i.e. "the right thing": idempotence.
So, the warning should be removed.

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

ec2_vpc_net

@dnmvisser dnmvisser changed the title Don't emit warning when IPv6 prefix exists Don't emit warning when VPC has IPv6 CIDR associated Sep 4, 2021
@ansibullbot
Copy link

@ansibullbot ansibullbot added bug This issue/PR relates to a bug community_review module module needs_triage new_contributor Help guide this first time contributor plugins plugin (any type) small_patch Hopefully easy to review labels Sep 4, 2021
@tremble
Copy link
Contributor

tremble commented Sep 5, 2021

While I agree that this is probably the right behaviour, the integration test needs updating to remove the check for this warning (tests/integration/targets/ec2_vpc_net)

@ansibullbot ansibullbot added integration tests/integration tests tests labels Sep 7, 2021
@tremble
Copy link
Contributor

tremble commented Sep 9, 2021

recheck

@tremble tremble added the gate label Sep 10, 2021
Copy link
Contributor

@ansible-zuul ansible-zuul bot left a comment

Choose a reason for hiding this comment

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

LGTM!

@ansible-zuul ansible-zuul bot merged commit 715e72e into ansible-collections:main Sep 10, 2021
@dnmvisser dnmvisser deleted the dv_remove_ipv6_warning branch September 13, 2021 15:24
abikouo pushed a commit to abikouo/amazon.aws that referenced this pull request Oct 24, 2023
Run DMS integration tests in CI

SUMMARY
Tests are minimal, but they exercise the basic functions.
retry ansible-collections#490 it's a little wonky due to CI moving about
ISSUE TYPE

Tests Pull Request

COMPONENT NAME
dms_endpoint
dms_replication_subnet_group
ADDITIONAL INFORMATION

Reviewed-by: Jill R <None>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue/PR relates to a bug community_review integration tests/integration module module new_contributor Help guide this first time contributor plugins plugin (any type) small_patch Hopefully easy to review tests tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants