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

feat: add SG as input (refactored) #68

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

stefanwb
Copy link
Contributor

@stefanwb stefanwb commented Mar 4, 2024

No description provided.

@github-actions github-actions bot added the feature New feature or request label Mar 4, 2024
Copy link
Contributor

github-actions bot commented Mar 4, 2024

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Terraform Lint 📖success

Terraform Validation 🤖success

Validation Output

Success! The configuration is valid.


@stefanwb stefanwb force-pushed the stefanwb/securitygroup-refactor branch 6 times, most recently from 03cf265 to 8bf4754 Compare March 4, 2024 20:07
@stefanwb stefanwb force-pushed the stefanwb/securitygroup-refactor branch from 8a60c22 to 3808df4 Compare March 4, 2024 20:13
@stefanwb stefanwb marked this pull request as draft March 7, 2024 13:13
fatbasstard and others added 7 commits March 7, 2024 14:14
…bject that allows validating all the security group related values

* Create local variable to determine SG creation making the code more readable. Removes default value for from- and to_ports as this is in line with the expected value when allowing all ip_protocols.
* Adds validation on security_group_config.
* An empty config means to not create a SG.

Signed-off-by: Stefan Wessels Beljaars <[email protected]>
* fix trying to create a aws_iam_role_policy when no policy is given
* fix when role_arn is set, do not create a role in this module and create an empty role when create_policy is set to false

Signed-off-by: Stefan Wessels Beljaars <[email protected]>
Signed-off-by: Stefan Wessels Beljaars <[email protected]>
Signed-off-by: Stefan Wessels Beljaars <[email protected]>
@stefanwb stefanwb force-pushed the stefanwb/securitygroup-refactor branch from c61428e to 1072fbc Compare March 7, 2024 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants