Skip to content

Commit a64fc07

Browse files
authored
Add IAM policy to SecurityGateway.yaml (#12782)
1 parent a5ea060 commit a64fc07

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

mmv1/products/beyondcorp/SecurityGateway.yaml

+10
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,19 @@ update_verb: PATCH
2222
id_format: projects/{{project}}/locations/{{location}}/securityGateways/{{security_gateway_id}}
2323
import_format:
2424
- projects/{{project}}/locations/{{location}}/securityGateways/{{security_gateway_id}}
25+
iam_policy:
26+
method_name_separator: ':'
27+
iam_conditions_request_type: 'QUERY_PARAM_NESTED'
28+
allowed_iam_role: 'roles/beyondcorp.securityGatewayUser'
29+
parent_resource_attribute: 'security_gateway_id'
30+
import_format:
31+
- 'projects/{{project}}/locations/{{location}}/securityGateways/{{security_gateway_id}}'
32+
- '{{security_gateway_id}}'
2533
examples:
2634
- name: beyondcorp_security_gateway_basic
2735
primary_resource_id: example
36+
primary_resource_name: 'fmt.Sprintf("default%s", context["random_suffix"])'
37+
region_override: 'global'
2838
vars:
2939
security_gateway_name: default
3040
autogen_async: true

0 commit comments

Comments
 (0)