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

Add support for iam_additive and simplify factory interface in net VPC module #1259

Merged
merged 5 commits into from
Mar 17, 2023

Conversation

ludoo
Copy link
Collaborator

@ludoo ludoo commented Mar 16, 2023

This addresses the long-standing request to implement support for subnet additive bindings in the net-vpc module.

It also simplifies the subnet factory IAM interface and aligns it with our usual interface in modules, replacing the iam_groups, iam_users and iam_service_accounts attributes with a single iam attribute. This change reduces internal complexity and cognitive overload, and should have a very limited impact on usage.

Fixes #1103

@ludoo ludoo requested a review from juliocc March 16, 2023 18:30
@ludoo ludoo enabled auto-merge (squash) March 17, 2023 07:52
Copy link
Collaborator

@juliocc juliocc left a comment

Choose a reason for hiding this comment

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

LGTM.

Just one thing, can you extend the "Subnet IAM" example to include an additive binding too?

modules/net-vpc/variables.tf Outdated Show resolved Hide resolved
@ludoo ludoo disabled auto-merge March 17, 2023 08:39
@ludoo ludoo enabled auto-merge (squash) March 17, 2023 08:57
@ludoo ludoo merged commit 8a8b7ea into master Mar 17, 2023
@ludoo ludoo deleted the ludo/issue-1103 branch March 17, 2023 10:12
lcaggio pushed a commit that referenced this pull request May 5, 2023
…VPC module (#1259)

* initial implementation, no tests

* change interface, align tests

* add examples ToC

* fix variable type, test module-level variable
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.

Add support for subnet-level additive IAM to net-vpc module
2 participants