Skip to content

ec2_vpc_nacl - fix issue occurring when updating existing NACL rule #2626

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

abikouo
Copy link
Contributor

@abikouo abikouo commented May 13, 2025

SUMMARY

Closes #2592
ec2_vpc_nacl - Module fails when updating an existing NACL rule.
The module currently adds a new rule before removing the old ones. This generates the NetworkAclEntryAlreadyExists error when trying to update an existing rule. The way to fix that is to remove the rule before adding it.

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

ec2_vpc_nacl

Copy link
Contributor

Build succeeded.
https://ansible.softwarefactory-project.io/zuul/buildset/ec4d0b1d7c824994a31b8df680240ad8

✔️ ansible-galaxy-importer SUCCESS in 3m 59s
✔️ build-ansible-collection SUCCESS in 10m 50s
✔️ ansible-test-splitter SUCCESS in 4m 07s
✔️ integration-amazon.aws-1 SUCCESS in 6m 54s
Skipped 43 jobs

@abikouo abikouo requested a review from tremble May 13, 2025 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ec2_vpc_nacl cannot replace Network ACL rule
2 participants