Google Access Context Manager (VPC Service Controls) GCP User Access Binding
This page shows how to write Terraform for Access Context Manager (VPC Service Controls) GCP User Access Binding and write them securely.
The GCP User Access Binding in Access Context Manager (VPC Service Controls) can be configured in Terraform with the resource name
google_access_context_manager_gcp_user_access_binding. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
An example could not be found in GitHub.
access_levelsrequired - list of string
Required. Access level that a user must have to be granted access. Only one access level is supported, not multiple. This repeated field must have exactly one element. Example: "accessPolicies/9522/accessLevels/device_trusted"
group_keyrequired - string
Required. Immutable. Google Group id whose members are subject to this binding's restrictions. See "id" in the G Suite Directory API's Groups resource. If a group's email address/alias is changed, this resource will continue to point at the changed group. This field does not accept group email addresses or aliases. Example: "01d520gv4vjcrht"
Immutable. Assigned by the server during creation. The last segment has an arbitrary length and has only URI unreserved characters (as defined by RFC 3986 Section 2.3). Should not be specified by the client during creation. Example: "organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N"
organization_idrequired - string
Required. ID of the parent organization.
Explanation in Terraform Registry
Restricts access to Cloud Console and Google Cloud APIs for a set of users using Context-Aware Access. To get more information about GcpUserAccessBinding, see:
Frequently asked questions
What is Google Access Context Manager (VPC Service Controls) GCP User Access Binding?
Google Access Context Manager (VPC Service Controls) GCP User Access Binding is a resource for Access Context Manager (VPC Service Controls) of Google Cloud Platform. Settings can be wrote in Terraform.