New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose GCP project_id / network_name for network peering #141
Comments
Hi, |
I can successfully create the peering through Terraform, however I had to pull the
I did notice that |
Hi @atsui-bay1 , Looks like we already support exposing those two fields in Cloud-API:
After creating a GCP VPC peering, one can get those values from our GET/Subscriptions/{subscriptionId}/peering endpoint This is an example for a response:
If something is still not clear, fell free to reach. |
Hi @danielarbiv, The issue is that the projectId is not exposed in any Terraform resource output or attribute, and specifically not exposed early enough to use as a reference when creating the peering connection. Being able to query the projectId after creating the peering is not helpful in this case. |
Affected Resource(s)
Please list the resources as a list, for example:
It would be useful if the
rediscloud_subscription
resource exposed thegcp_project_id
andgcp_network_name
needed to make a GCP network peering. This data seems to only be exposed on the UI when making a peering connection manually, and thus defeats the ability to generate a full subscription/peering setup within Terraform.The text was updated successfully, but these errors were encountered: