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

feature: Refactor role and policy #75

Merged
merged 5 commits into from
Jun 11, 2024
Merged

feature: Refactor role and policy #75

merged 5 commits into from
Jun 11, 2024

Conversation

fatbasstard
Copy link
Contributor

@fatbasstard fatbasstard commented Apr 23, 2024

This PR refactors all the logic and complexity of creating roles and policies by replacing it with the mcaf-role module.

Unfortunately the create_policy boolean is still needed since TF doesn't like the var.string !== null checks

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

github-actions bot commented Apr 23, 2024

Terraform Format and Style 🖌success

Terraform Initialization ⚙️``

Terraform Lint 📖success

Terraform Validation 🤖success

Validation Output

Success! The configuration is valid.


@fatbasstard fatbasstard added breaking This change is not backwards compatible and removed breaking This change is not backwards compatible labels Apr 23, 2024
Copy link
Contributor

@jverhoeks jverhoeks left a comment

Choose a reason for hiding this comment

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

Looks great, i just encountered an issue with the old code

@stefanwb stefanwb self-assigned this Jun 5, 2024
@stefanwb
Copy link
Contributor

LGTM, also have bugfix PR pending on this one :)

@stefanwb stefanwb merged commit a13af2c into master Jun 11, 2024
@stefanwb stefanwb deleted the fvb/role-refactor branch June 11, 2024 09:35
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.

3 participants