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: Add egress rule update support #107

Merged
merged 7 commits into from
Aug 31, 2024

Conversation

renebarbosafl
Copy link
Contributor

@renebarbosafl renebarbosafl commented Jun 10, 2024

Description

This PR complements #106 by adding a new variable, allowing the submodule to update egress rules. This PR also adds support for setting static IP address on the resolver endpoint instances.

Motivation and Context

The previous pull request was hardcoding an egress rule allowing All the traffic. Users could want to update these rules as their needs.

How Has This Been Tested?

  • I have updated at least one of the examples/* to demonstrate and validate my change(s)
  • I have tested and validated these changes using one or more of the provided examples/* projects
  • I have executed pre-commit run -a on my pull request

@renebarbosafl
Copy link
Contributor Author

Hi @antonbabenko, Is there any chance we could get this approved and merged?
Thank you very much!

Copy link

This PR has been automatically marked as stale because it has been open 30 days
with no activity. Remove stale label or comment or this PR will be closed in 10 days

@github-actions github-actions bot added the stale label Jul 15, 2024
@renebarbosafl
Copy link
Contributor Author

Commenting to remove stale mark.

@github-actions github-actions bot removed the stale label Jul 16, 2024
Copy link

This PR has been automatically marked as stale because it has been open 30 days
with no activity. Remove stale label or comment or this PR will be closed in 10 days

@github-actions github-actions bot added the stale label Aug 15, 2024
@renebarbosafl
Copy link
Contributor Author

Commenting to remove stale mark.

@github-actions github-actions bot removed the stale label Aug 16, 2024
Copy link
Member

@antonbabenko antonbabenko left a comment

Choose a reason for hiding this comment

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

Let's make this change not as a breaking change.

Add support for ip_address variable like now; keep subnet_ids as before.

In for_each try to use ip_address (if not empty) or subnet_ids converted in the same structure as ip_address.

Make sure to show the usage of both variables in examples.

modules/resolver-endpoints/main.tf Outdated Show resolved Hide resolved
modules/resolver-endpoints/variables.tf Outdated Show resolved Hide resolved
@antonbabenko antonbabenko merged commit bbcab64 into terraform-aws-modules:master Aug 31, 2024
11 checks passed
antonbabenko pushed a commit that referenced this pull request Aug 31, 2024
## [4.0.1](v4.0.0...v4.0.1) (2024-08-31)

### Bug Fixes

* Add egress rule update support ([#107](#107)) ([bbcab64](bbcab64))
@antonbabenko
Copy link
Member

This PR is included in version 4.0.1 🎉

Copy link

github-actions bot commented Oct 1, 2024

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants