Network is the Schema for the Networks API. Manages a VPC network or legacy network resource on GCP.
Type
CRD
Group
compute.gcp.upbound.io
Version
v1beta1
apiVersion: compute.gcp.upbound.io/v1beta1
kind: Network
NetworkSpec defines the desired state of Network
No description provided.
THIS IS A BETA FIELD. It will be honored unless the Management Policies feature flag is disabled. InitProvider holds the same fields as ForProvider, with the exception of Identifier and other resource reference fields. The fields that are in InitProvider are merged into ForProvider when the resource is created. The same fields are also added to the terraform ignore_changes hook, to avoid updating them after creation. This is useful for fields that are required on creation, but we do not desire to update them after creation, for example because of an external controller is managing them, like an autoscaler.
THIS IS A BETA FIELD. It is on by default but can be opted out through a Crossplane feature flag. ManagementPolicies specify the array of actions Crossplane is allowed to take on the managed and external resources. This field is planned to replace the DeletionPolicy field in a future release. Currently, both could be set independently and non-default values would be honored if the feature flag is enabled. If both are custom, the DeletionPolicy field will be ignored. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md
ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.
Policies for referencing.
PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.
WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.
NetworkStatus defines the observed state of Network.
No description provided.
Conditions of the resource.
example-routernat-network
apiVersion: compute.gcp.upbound.io/v1beta1
kind: Network
metadata:
annotations:
meta.upbound.io/example-id: compute/v1beta2/routernat
labels:
testing.upbound.io/example-name: example_routernat_network
name: example-routernat-network
spec:
forProvider:
autoCreateSubnetworks: false
example-subnet-network
apiVersion: compute.gcp.upbound.io/v1beta1
kind: Network
metadata:
annotations:
meta.upbound.io/example-id: compute/v1beta2/subnetwork
labels:
testing.upbound.io/example-name: example_subnet_network
name: example-subnet-network
spec:
forProvider:
autoCreateSubnetworks: false
example-firewall-network
apiVersion: compute.gcp.upbound.io/v1beta1
kind: Network
metadata:
annotations:
meta.upbound.io/example-id: compute/v1beta1/firewall
labels:
testing.upbound.io/example-name: example_firewall_network
name: example-firewall-network
spec:
forProvider:
autoCreateSubnetworks: false
example-routernat-network
apiVersion: compute.gcp.upbound.io/v1beta1
kind: Network
metadata:
annotations:
meta.upbound.io/example-id: compute/v1beta1/routernat
labels:
testing.upbound.io/example-name: example_routernat_network
name: example-routernat-network
spec:
forProvider:
autoCreateSubnetworks: false
example-ip-address-network
apiVersion: compute.gcp.upbound.io/v1beta1
kind: Network
metadata:
annotations:
meta.upbound.io/example-id: compute/v1beta1/address
labels:
testing.upbound.io/example-name: example_ip_address_network
name: example-ip-address-network
spec:
forProvider:
autoCreateSubnetworks: false
router-interface
apiVersion: compute.gcp.upbound.io/v1beta1
kind: Network
metadata:
annotations:
meta.upbound.io/example-id: compute/v1beta1/routerinterface
upjet.upbound.io/manual-intervention: Dependant reference types not currently supported
labels:
testing.upbound.io/example-name: router-interface
name: router-interface
spec:
forProvider:
autoCreateSubnetworks: false
routingMode: GLOBAL
region-network-endpoint-network
apiVersion: compute.gcp.upbound.io/v1beta1
kind: Network
metadata:
annotations:
meta.upbound.io/example-id: compute/v1beta1/regionnetworkendpoint
labels:
testing.upbound.io/example-name: region-network-endpoint-network
name: region-network-endpoint-network
spec:
forProvider:
autoCreateSubnetworks: false
peer-router-network
apiVersion: compute.gcp.upbound.io/v1beta1
kind: Network
metadata:
annotations:
meta.upbound.io/example-id: compute/v1beta1/routerpeer
labels:
testing.upbound.io/example-name: router_peer
name: peer-router-network
spec:
forProvider:
autoCreateSubnetworks: false
global-forwarding-rule
apiVersion: compute.gcp.upbound.io/v1beta1
kind: Network
metadata:
annotations:
meta.upbound.io/example-id: compute/v1beta1/globalforwardingrule
labels:
testing.upbound.io/example-name: global-forwarding-rule
name: global-forwarding-rule
spec:
forProvider:
autoCreateSubnetworks: false
route
apiVersion: compute.gcp.upbound.io/v1beta1
kind: Network
metadata:
annotations:
meta.upbound.io/example-id: compute/v1beta1/route
labels:
testing.upbound.io/example-name: route
name: route
spec:
forProvider:
autoCreateSubnetworks: false
example-router-network
apiVersion: compute.gcp.upbound.io/v1beta1
kind: Network
metadata:
annotations:
meta.upbound.io/example-id: compute/v1beta2/router
labels:
testing.upbound.io/example-name: example_router_network
name: example-router-network
spec:
forProvider:
autoCreateSubnetworks: false
example-instance-network
apiVersion: compute.gcp.upbound.io/v1beta1
kind: Network
metadata:
annotations:
meta.upbound.io/example-id: compute/v1beta2/instance
labels:
testing.upbound.io/example-name: example_instance_network
name: example-instance-network
spec:
forProvider:
autoCreateSubnetworks: false
subnetwork-iam-member
apiVersion: compute.gcp.upbound.io/v1beta1
kind: Network
metadata:
annotations:
meta.upbound.io/example-id: compute/v1beta2/subnetworkiammember
labels:
testing.upbound.io/example-name: subnetwork-iam-member
name: subnetwork-iam-member
spec:
forProvider:
autoCreateSubnetworks: false
peering-primary-routes-secondary
apiVersion: compute.gcp.upbound.io/v1beta1
kind: Network
metadata:
annotations:
meta.upbound.io/example-id: compute/v1beta1/networkpeeringroutesconfig
labels:
testing.upbound.io/example-name: peering-primary-routes-secondary
name: peering-primary-routes-secondary
spec:
forProvider:
autoCreateSubnetworks: false
network-endpoint-group
apiVersion: compute.gcp.upbound.io/v1beta1
kind: Network
metadata:
annotations:
meta.upbound.io/example-id: compute/v1beta1/networkendpointgroup
labels:
testing.upbound.io/example-name: network-endpoint-group
name: network-endpoint-group
spec:
forProvider:
autoCreateSubnetworks: false
instance-group
apiVersion: compute.gcp.upbound.io/v1beta1
kind: Network
metadata:
annotations:
meta.upbound.io/example-id: compute/v1beta1/instancegroup
labels:
testing.upbound.io/example-name: instance-group
name: instance-group
spec:
forProvider:
autoCreateSubnetworks: false
global-forwarding-rule
apiVersion: compute.gcp.upbound.io/v1beta1
kind: Network
metadata:
annotations:
meta.upbound.io/example-id: compute/v1beta2/globalforwardingrule
labels:
testing.upbound.io/example-name: global-forwarding-rule
name: global-forwarding-rule
spec:
forProvider:
autoCreateSubnetworks: false
example-firewall-network
apiVersion: compute.gcp.upbound.io/v1beta1
kind: Network
metadata:
annotations:
meta.upbound.io/example-id: compute/v1beta2/firewall
labels:
testing.upbound.io/example-name: example_firewall_network
name: example-firewall-network
spec:
forProvider:
autoCreateSubnetworks: false
basic-network
apiVersion: compute.gcp.upbound.io/v1beta1
kind: Network
metadata:
annotations:
meta.upbound.io/example-id: compute/v1beta1/regionnetworkfirewallpolicyassociation
labels:
testing.upbound.io/example-name: basic_network
name: basic-network
spec:
forProvider: {}
peering-primary-routes-primary
apiVersion: compute.gcp.upbound.io/v1beta1
kind: Network
metadata:
annotations:
meta.upbound.io/example-id: compute/v1beta1/networkpeeringroutesconfig
labels:
testing.upbound.io/example-name: peering-primary-routes-primary
name: peering-primary-routes-primary
spec:
forProvider:
autoCreateSubnetworks: false
example-router-network
apiVersion: compute.gcp.upbound.io/v1beta1
kind: Network
metadata:
annotations:
meta.upbound.io/example-id: compute/v1beta1/router
labels:
testing.upbound.io/example-name: example_router_network
name: example-router-network
spec:
forProvider:
autoCreateSubnetworks: false
example-subnet-network
apiVersion: compute.gcp.upbound.io/v1beta1
kind: Network
metadata:
annotations:
meta.upbound.io/example-id: compute/v1beta1/subnetwork
labels:
testing.upbound.io/example-name: example_subnet_network
name: example-subnet-network
spec:
forProvider:
autoCreateSubnetworks: false
instance-group-named-port
apiVersion: compute.gcp.upbound.io/v1beta1
kind: Network
metadata:
annotations:
meta.upbound.io/example-id: compute/v1beta1/instancegroupnamedport
upjet.upbound.io/manual-intervention: Instance group name is generated
(gke-instance-group-named-default-pool-eb15fe12-grp). Needs explicit
reference
labels:
testing.upbound.io/example-name: instance-group-named-port
name: instance-group-named-port
spec:
forProvider:
autoCreateSubnetworks: false
network-peering-1
apiVersion: compute.gcp.upbound.io/v1beta1
kind: Network
metadata:
annotations:
meta.upbound.io/example-id: compute/v1beta1/networkpeering
labels:
testing.upbound.io/example-name: network-peering-1
name: network-peering-1
spec:
forProvider:
autoCreateSubnetworks: false
subnetwork-iam-member
apiVersion: compute.gcp.upbound.io/v1beta1
kind: Network
metadata:
annotations:
meta.upbound.io/example-id: compute/v1beta1/subnetworkiammember
labels:
testing.upbound.io/example-name: subnetwork-iam-member
name: subnetwork-iam-member
spec:
forProvider:
autoCreateSubnetworks: false
forwarding-rule
apiVersion: compute.gcp.upbound.io/v1beta1
kind: Network
metadata:
annotations:
meta.upbound.io/example-id: compute/v1beta1/forwardingrule
labels:
testing.upbound.io/example-name: forwarding-rule
name: forwarding-rule
spec:
forProvider:
autoCreateSubnetworks: false
forwarding-rule
apiVersion: compute.gcp.upbound.io/v1beta1
kind: Network
metadata:
annotations:
meta.upbound.io/example-id: compute/v1beta2/forwardingrule
labels:
testing.upbound.io/example-name: forwarding-rule
name: forwarding-rule
spec:
forProvider:
autoCreateSubnetworks: false
packet-mirroring
apiVersion: compute.gcp.upbound.io/v1beta1
kind: Network
metadata:
annotations:
meta.upbound.io/example-id: compute/v1beta1/packetmirroring
labels:
testing.upbound.io/example-name: packet-mirroring
name: packet-mirroring
spec:
forProvider:
autoCreateSubnetworks: false
ha-vpn-gateway
apiVersion: compute.gcp.upbound.io/v1beta1
kind: Network
metadata:
annotations:
meta.upbound.io/example-id: compute/v1beta1/havpngateway
labels:
testing.upbound.io/example-name: ha-vpn-gateway
name: ha-vpn-gateway
spec:
forProvider:
autoCreateSubnetworks: false
packet-mirroring
apiVersion: compute.gcp.upbound.io/v1beta1
kind: Network
metadata:
annotations:
meta.upbound.io/example-id: compute/v1beta2/packetmirroring
labels:
testing.upbound.io/example-name: packet-mirroring
name: packet-mirroring
spec:
forProvider:
autoCreateSubnetworks: false
example-network
apiVersion: compute.gcp.upbound.io/v1beta1
kind: Network
metadata:
annotations:
meta.upbound.io/example-id: compute/v1beta1/network
uptest.upbound.io/timeout: "4800"
labels:
testing.upbound.io/example-name: example_network
name: example-network
spec:
forProvider:
autoCreateSubnetworks: false
network
apiVersion: compute.gcp.upbound.io/v1beta1
kind: Network
metadata:
annotations:
meta.upbound.io/example-id: compute/v1beta1/networkfirewallpolicyassociation
labels:
testing.upbound.io/example-name: network
name: network
spec:
forProvider: {}
network-endpoint
apiVersion: compute.gcp.upbound.io/v1beta1
kind: Network
metadata:
annotations:
meta.upbound.io/example-id: compute/v1beta1/networkendpoint
labels:
testing.upbound.io/example-name: network-endpoint
name: network-endpoint
spec:
forProvider:
autoCreateSubnetworks: false
external-vpn-gateway
apiVersion: compute.gcp.upbound.io/v1beta1
kind: Network
metadata:
annotations:
meta.upbound.io/example-id: compute/v1beta1/externalvpngateway
labels:
testing.upbound.io/example-name: external-vpn-gateway
name: external-vpn-gateway
spec:
forProvider:
autoCreateSubnetworks: false
routingMode: GLOBAL
example-instance-network
apiVersion: compute.gcp.upbound.io/v1beta1
kind: Network
metadata:
annotations:
meta.upbound.io/example-id: compute/v1beta1/instance
labels:
testing.upbound.io/example-name: example_instance_network
name: example-instance-network
spec:
forProvider:
autoCreateSubnetworks: false
vpn-tunnel
apiVersion: compute.gcp.upbound.io/v1beta1
kind: Network
metadata:
annotations:
meta.upbound.io/example-id: compute/v1beta1/vpntunnel
upjet.upbound.io/manual-intervention: Dependant reference types not currently supported
labels:
testing.upbound.io/example-name: vpn-tunnel
name: vpn-tunnel
spec:
forProvider: {}
interconnect-attachment
apiVersion: compute.gcp.upbound.io/v1beta1
kind: Network
metadata:
annotations:
meta.upbound.io/example-id: compute/v1beta1/interconnectattachment
labels:
testing.upbound.io/example-name: interconnect-attachment
name: interconnect-attachment
spec:
forProvider:
autoCreateSubnetworks: false
peer-router-network
apiVersion: compute.gcp.upbound.io/v1beta1
kind: Network
metadata:
annotations:
meta.upbound.io/example-id: compute/v1beta2/routerpeer
labels:
testing.upbound.io/example-name: router_peer
name: peer-router-network
spec:
forProvider:
autoCreateSubnetworks: false
network-peering-2
apiVersion: compute.gcp.upbound.io/v1beta1
kind: Network
metadata:
annotations:
meta.upbound.io/example-id: compute/v1beta1/networkpeering
labels:
testing.upbound.io/example-name: network-peering-2
name: network-peering-2
spec:
forProvider:
autoCreateSubnetworks: false
vpn-gateway
apiVersion: compute.gcp.upbound.io/v1beta1
kind: Network
metadata:
annotations:
meta.upbound.io/example-id: compute/v1beta1/vpngateway
labels:
testing.upbound.io/example-name: vpn-gateway
name: vpn-gateway
spec:
forProvider:
autoCreateSubnetworks: false
service-attachment
apiVersion: compute.gcp.upbound.io/v1beta1
kind: Network
metadata:
annotations:
meta.upbound.io/example-id: compute/v1beta1/serviceattachment
upjet.upbound.io/manual-intervention: Must be authorized to administer the domain gcp.example.com
labels:
testing.upbound.io/example-name: service-attachment
name: service-attachment
spec:
forProvider:
autoCreateSubnetworks: false