-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
google_access_context_manager_access_level_condition should provide an option to add the new condition to the existing condition with an "OR" operator #8125
Comments
Signed-off-by: Modular Magician <[email protected]>
Signed-off-by: Modular Magician <[email protected]>
The user is looking too add a new argument called |
Note that this should technically be possible through the API by using |
I believe this is already possible with the resource "google_access_context_manager_access_level" "access-level-service-account" {
parent = "accessPolicies/123"
name = "accessPolicies/123/accessLevels/tf_test"
title = "tf_test_new_resource"
basic {
combining_function = "OR" # <--- can be "OR" or "AND"
conditions {
regions = [
"AL",
]
}
}
lifecycle {
ignore_changes = [basic.0.conditions]
}
} This matches the API schema. Adding a I think this issue can be closed but feel free to ask any followup questions. |
@rileykarson @roaks3 Can we please close this. As @coder-221 explained, this is the expected behavior and design of the resources. |
Community Note
Description
Introduce a new parameter "operator" to "google_access_context_manager_access_level_condition" to provide an option to add the new condition to the existing condition with an "OR" operator. Currently, the new condition gets added with an "AND" operator. See below for example.
New or Affected Resource(s)
Potential Terraform Configuration
b/359383500
The text was updated successfully, but these errors were encountered: