Peering Args
data class PeeringArgs(val authorizedNetwork: Output<String>? = null, val domainResource: Output<String>? = null, val labels: Output<Map<String, String>>? = null, val peeringId: Output<String>? = null, val project: Output<String>? = null, val status: Output<String>? = null, val statusMessage: Output<String>? = null) : ConvertibleToJava<PeeringArgs>
Example Usage
Active Directory Peering Basic
resources:
ad-domain-peering:
type: gcp:activedirectory:Peering
properties:
domainResource: ${["ad-domain"].name}
peeringId: ad-domain-peering
authorizedNetwork: ${["peered-network"].id}
deletionProtection: false
labels:
foo: bar
ad-domain:
type: gcp:activedirectory:Domain
properties:
domainName: ad.test.hashicorptest.com
locations:
- us-central1
reservedIpRange: 192.168.255.0/24
authorizedNetworks:
- ${["source-network"].id}
deletionProtection: false
peered-network:
type: gcp:compute:Network
properties:
project: ${compute.project}
name: ad-peered-network
source-network:
type: gcp:compute:Network
properties:
name: ad-network
compute:
type: gcp:projects:Service
properties:
project: ${["peered-project"].projectId}
service: compute.googleapis.com
peered-project:
type: gcp:organizations:Project
properties:
name: my-peered-project
projectId: my-peered-project
orgId: '123456789'
billingAccount: 000000-0000000-0000000-000000
deletionPolicy: DELETE
Content copied to clipboard
Import
This resource does not support import.
Properties
Link copied to clipboard
The full names of the Google Compute Engine networks to which the instance is connected. Caller needs to make sure that CIDR subnets do not overlap between networks, else peering creation will fail.
Link copied to clipboard
Full domain resource path for the Managed AD Domain involved in peering. The resource path should be in the form projects/{projectId}/locations/global/domains/{domainName}
Link copied to clipboard
Link copied to clipboard
Additional information about the current status of this peering, if available.