Open munavirch opened 1 year ago
@SarahFrench to investigate
I figured I'd post a summary as part of triaging:
The request is for a 'binding' resource to control relationships between two resources. Currently, the API enforces that the associations between a DNS managed zone and VPC networks are stored within the API's managed zone resource in the privateVisibilityConfig.networks[] list. The provider's google_dns_managed_zone
resource enforces this as it mirrors the API structure. The new binding resource could potentially use the API's patch endpoint to selectively update that field.
Community Note
Description
There is no option now to add a network after creation of a managed zone. Which limits the usage in two ways:
We have both of this use case and only option we current have is to ignore lifecycle changes to the
private_visibility_config
New or Affected Resource(s)
google_dns_managed_zone_network
Potential Terraform Configuration
References