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: Acls created for network cidr are open to Any IP #569

Merged
merged 5 commits into from
Jul 10, 2023
Merged

Conversation

Aashiq-J
Copy link
Member

@Aashiq-J Aashiq-J commented Jun 23, 2023

Description

Fix the issue of acls created for network cidr which allows any IP.
More details: #542 (comment)

Types of changes in this PR

Changes that affect the core Terraform module or submodules

  • Bug fix
  • New feature
  • Dependency update

Changes that don't affect the core Terraform module or submodules

  • Examples or tests (addition or updates of examples or tests)
  • Documentation update
  • CI-related update (pipeline, etc.)
  • Other

Release required?

Identify the type of release. For information about the changes in a semantic versioning release, see Release versioning.

  • No release
  • Patch release (x.x.X)
  • Minor release (x.X.x)
  • Major release (X.x.x)
Release notes content
  • fix to the bug which was introduced in v7.3.0.
  • The logic was creating inbound rule for each network_cidr with Any IP in the destination field.

Run the pipeline

If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.

Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:

/run pipeline

Checklist for reviewers

  • If relevant, a test for the change is included or updated with this PR.
  • If relevant, documentation for the change is included or updated with this PR.

Merge actions for mergers

  • Use a relevant conventional commit message that is based on the PR contents and any release notes provided by the PR author. The commit message determines whether a new version of the module is needed, and if so, which semver increment to use (major, minor, or patch).
  • Merge by using "Squash and merge".

@Aashiq-J
Copy link
Member Author

/run pipeline

@Aashiq-J
Copy link
Member Author

Screenshot 2023-06-23 at 4 33 29 PM Screenshot 2023-06-23 at 4 33 22 PM

@Aashiq-J
Copy link
Member Author

Also updated the loop so that
for inbound:
each of the network_cidr -> each of the vpc address prefix

for outbound:
each of the vpc address prefix -> each of the network_cidr

@Aashiq-J Aashiq-J marked this pull request as ready for review June 23, 2023 12:46
@Aashiq-J
Copy link
Member Author

/run pipeline

1 similar comment
@Aashiq-J
Copy link
Member Author

/run pipeline

@Aashiq-J Aashiq-J requested a review from vburckhardt July 4, 2023 04:28
@Aashiq-J
Copy link
Member Author

Aashiq-J commented Jul 4, 2023

/run pipeline

@Aashiq-J
Copy link
Member Author

Aashiq-J commented Jul 6, 2023

/run pipeline

@ocofaigh
Copy link
Member

ocofaigh commented Jul 7, 2023

/run pipeline

@Aashiq-J Aashiq-J changed the title fix: network cidr inbound Any IP fix: Acls created for network cidr are open to Any IP Jul 10, 2023
@jojustin
Copy link
Member

I see Conall has approved this PR. Just merging this PR.

@jojustin jojustin merged commit 2f74af0 into main Jul 10, 2023
2 checks passed
@jojustin jojustin deleted the network branch July 10, 2023 14:24
@terraform-ibm-modules-ops
Copy link
Contributor

🎉 This PR is included in version 7.3.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

None yet

4 participants