-
Notifications
You must be signed in to change notification settings - Fork 293
Description
Checklist
- I did not find a related open enhancement request.
- I understand that enhancement requests filed in the GitHub repository are by default low priority.
- If this request is time-sensitive, I have submitted a corresponding issue with GCP support.
Describe the feature or resource
According to TF docs a consumer can more or less be created by creating the following resources:
- ComputeForwardingRule
- ComputeAddress
The ComputeForwardingRule
requires a new target type to hit the service attachment.
However, when you create a consumer using the console additional objects get created:
- ServiceDirectoryNamespace
- ServiceDirectoryEndpoint
- ServiceDirectoryService
- A private service connection? I'm not sure how to see the object using something like "rest equivalent", but it does have a
PSC Connection ID
so I presume it's an object of some sort.
Weirdly the service directory API doesn't need enabled to work, but I turned it on to see which objects were getting created.
I'm willing to try and create all these objects separately but at the very least I think the forwarding rule needs updated in order to talk to a service attachment.
Additional information
https://cloud.google.com/vpc/docs/configure-private-service-connect-services#create-endpoint shows similar instructions to the terraform docs.
Importance
We are currently testing this feature out so it's not a blocker since this can be created via other means, but using kcc is our preference with these things.