Currently, the Cluster managed resource is missing reference fields to Network and Subnetwork resources^1.
It'd be unexpected to users because the Cluster resource in provider-gcp has references to both^2 and other resources in this provider like the Subnetwork resource^3.
While it's possible to specify Network and Subnetwork resources with the network and subnetwork fields, the value of the fields must be selfLink. This would make it annoying to configure them and it harder to create compositions.
What problem are you facing?
Currently, the
Cluster
managed resource is missing reference fields toNetwork
andSubnetwork
resources^1.It'd be unexpected to users because the
Cluster
resource inprovider-gcp
has references to both^2 and other resources in this provider like theSubnetwork
resource^3.While it's possible to specify
Network
andSubnetwork
resources with thenetwork
andsubnetwork
fields, the value of the fields must beselfLink
. This would make it annoying to configure them and it harder to create compositions.How could GCP Provider help solve your problem?
References should be added.