We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
endpoint_name
mongodbatlas_privatelink_endpoint_service
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
# Terraform v1.1.5 (not relevant)
# N/A
If you name the IP address entries differently than the forwarding rule entries, it fails,
The example should use the correct link for endpoint_name
resource "mongodbatlas_privatelink_endpoint_service" "test" { project_id = mongodbatlas_privatelink_endpoint.test.project_id private_link_id = mongodbatlas_privatelink_endpoint.test.private_link_id provider_name = "GCP" endpoint_service_id = google_compute_network.default.name gcp_project_id = var.gcp_project dynamic "endpoints" { for_each = mongodbatlas_privatelink_endpoint.test.service_attachment_names content { ip_address = google_compute_address.default[endpoints.key].address endpoint_name = google_compute_forwarding_rule.default[endpoints.key].name } } depends_on = [google_compute_forwarding_rule.default] }
It uses the name of the IP address instead of the forwarding rule.
dynamic "endpoints" { for_each = mongodbatlas_privatelink_endpoint.test.service_attachment_names content { ip_address = google_compute_address.default[endpoints.key].address endpoint_name = google_compute_address.default[endpoints.key].name } }
N/A - doc bug
N/A
The example just needs fixed.
The text was updated successfully, but these errors were encountered:
Thank you @TJM - we'll check this and get it corrected.
Sorry, something went wrong.
Internal ticket INTMDB-331
@TJM This is corrected in next release 1.4.4
@TJM the release is out (cc @martinstibbe )
No branches or pull requests
Terraform CLI and Terraform MongoDB Atlas Provider Version
# Terraform v1.1.5 (not relevant)
Terraform Configuration File
# N/A
Steps to Reproduce
If you name the IP address entries differently than the forwarding rule entries, it fails,
Expected Behavior
The example should use the correct link for endpoint_name
Actual Behavior
It uses the name of the IP address instead of the forwarding rule.
Debug Output
N/A - doc bug
Crash Output
N/A
Additional Context
The example just needs fixed.
References
The text was updated successfully, but these errors were encountered: