-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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 NetworkSecurity AddressGroup IAM support #9760
Add NetworkSecurity AddressGroup IAM support #9760
Conversation
Hello! I am a robot. It looks like you are a: @NickElliot, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look. You can help make sure that review is quick by doing a self-review and by running impacted tests locally. |
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are. Terraform GA: Diff ( 5 files changed, 778 insertions(+), 69 deletions(-)) Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_network_security_project_address_group_iam_binding" "primary" {
condition {
description = # value needed
expression = # value needed
title = # value needed
}
}
Resource: resource "google_network_security_project_address_group_iam_member" "primary" {
condition {
description = # value needed
expression = # value needed
title = # value needed
}
}
|
Tests analyticsTotal tests: Click here to see the affected service packages
|
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are. Terraform GA: Diff ( 5 files changed, 747 insertions(+), 69 deletions(-)) Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_network_security_project_address_group_iam_binding" "primary" {
condition {
description = # value needed
expression = # value needed
title = # value needed
}
}
Resource: resource "google_network_security_project_address_group_iam_member" "primary" {
condition {
description = # value needed
expression = # value needed
title = # value needed
}
}
|
Tests analyticsTotal tests: Click here to see the affected service packages
Action takenFound 3 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccNetworkSecurityProjectAddressGroupIamBindingGenerated|TestAccNetworkSecurityProjectAddressGroupIamPolicyGenerated|TestAccNetworkSecurityProjectAddressGroupIamMemberGenerated |
|
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are. Terraform GA: Diff ( 5 files changed, 747 insertions(+), 69 deletions(-)) Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_network_security_project_address_group_iam_binding" "primary" {
condition {
description = # value needed
expression = # value needed
title = # value needed
}
}
Resource: resource "google_network_security_project_address_group_iam_member" "primary" {
condition {
description = # value needed
expression = # value needed
title = # value needed
}
}
|
Tests analyticsTotal tests: Click here to see the affected service packages
Action takenFound 3 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccNetworkSecurityProjectAddressGroupIamMemberGenerated|TestAccNetworkSecurityProjectAddressGroupIamBindingGenerated|TestAccNetworkSecurityProjectAddressGroupIamPolicyGenerated |
Rerun these tests in REPLAYING mode to catch issues
|
Address Group IAM Policy does not seem to support IAM conditions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a couple things I think should be changed otherwise LGTM!
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are. Terraform GA: Diff ( 5 files changed, 678 insertions(+), 2 deletions(-)) Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "AddressGroup_iam_binding" "primary" {
condition {
description = # value needed
expression = # value needed
title = # value needed
}
}
Resource: resource "AddressGroup_iam_member" "primary" {
condition {
description = # value needed
expression = # value needed
title = # value needed
}
}
|
Tests analyticsTotal tests: Click here to see the affected service packages
Action takenFound 3 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccNetworkSecurityProjectAddressGroupIamBindingGenerated|TestAccNetworkSecurityProjectAddressGroupIamMemberGenerated|TestAccNetworkSecurityProjectAddressGroupIamPolicyGenerated |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be better after this
Co-authored-by: Nick Elliot <nickelliot@google.com>
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are. Terraform GA: Diff ( 5 files changed, 678 insertions(+), 2 deletions(-)) Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_network_security_address_group_iam_binding" "primary" {
condition {
description = # value needed
expression = # value needed
title = # value needed
}
}
Resource: resource "google_network_security_address_group_iam_member" "primary" {
condition {
description = # value needed
expression = # value needed
title = # value needed
}
}
|
Tests analyticsTotal tests: Click here to see the affected service packages
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! missing test detector does not apply for the conditions here.
* add: NetworkSecurity AddressGroup IAM support * Remove IAM condition support, since API does not seem to support it yet. * Fix copyright * Fix tests * Add legacy_name * Update legacy_name Co-authored-by: Nick Elliot <nickelliot@google.com> --------- Co-authored-by: Nick Elliot <nickelliot@google.com>
* add: NetworkSecurity AddressGroup IAM support * Remove IAM condition support, since API does not seem to support it yet. * Fix copyright * Fix tests * Add legacy_name * Update legacy_name Co-authored-by: Nick Elliot <nickelliot@google.com> --------- Co-authored-by: Nick Elliot <nickelliot@google.com>
* add: NetworkSecurity AddressGroup IAM support * Remove IAM condition support, since API does not seem to support it yet. * Fix copyright * Fix tests * Add legacy_name * Update legacy_name Co-authored-by: Nick Elliot <nickelliot@google.com> --------- Co-authored-by: Nick Elliot <nickelliot@google.com>
* add: NetworkSecurity AddressGroup IAM support * Remove IAM condition support, since API does not seem to support it yet. * Fix copyright * Fix tests * Add legacy_name * Update legacy_name Co-authored-by: Nick Elliot <nickelliot@google.com> --------- Co-authored-by: Nick Elliot <nickelliot@google.com>
Add NetworkSecurity AddressGroup IAM support,
Note, only project level AddressGroups have support for IAM Policies, while the upstream resource
google_network_security_address_group
is implemented to support both org and project parents. Hence the implementation is deviating from the normal flow.Release Note Template for Downstream PRs (will be copied)