How to Resolve the AWS Redshift-Managed VPC Endpoint Already Exists Error
Issue
You receive one of the following error messages:
AWS Redshift-managed VPC Endpoint already exists
DNS record(s) {dnsRecord}.privatelink.postgres.database.azure.com already exist(s)
Environment
- All database connectors
- Connection method: Private networking
Resolution
Find your existing PrivateLink.
In the Fivetran dashboard
- Log in to your Fivetran dashboard.
- Go to Account Settings > General.
- Select the Connection Methods tab.
- Find the relevant PrivateLink service in the list.
REST API users
- Use Fivetran’s List All Private Links endpoint to return both the
hostandidfields in order to match them. - Use the
idyou got in step 1 asprivate_link_idwhen you perform these REST API actions:
Terraform provider for Fivetran users
Troubleshooting this issue requires using the fivetran_private_links data source, which is available in the Fivetran Terraform provider v1.9.2+. If you need to upgrade, ensure you perform upgrades sequentially; do not skip versions.
- Use the fivetran_private_links data source to return both the
hostandidfields. - Use the
idyou got in step 1 asprivate_link_idwhen you perform the following Terraform provider for Fivetran actions:- Create or update with fivetran_connector resource.
- Create or update with fivetran_destination resource.