-
Notifications
You must be signed in to change notification settings - Fork 12
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
docs: add docs for private endpoint connections #197
Conversation
9385819
to
5cb8b4d
Compare
## Example Usage | ||
Private endpoint connections allow customer applications to connect to a CockroachDB Cloud cluster without traversing the public internet. All application-database traffic remains within the cloud-provider network. | ||
|
||
**IMPORTANT:**You must have the following role to successfully handle the resource: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
**IMPORTANT:**You must have the following role to successfully handle the resource: | |
**IMPORTANT:** You must have the following role to successfully handle the resource: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
5cb8b4d
to
3cf6248
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
# Establish a connection between the endpoint and the service. | ||
resource "cockroach_private_endpoint_connection" "connection" { | ||
cluster_id = cockroach_cluster.my_cluster.id | ||
endpoint_id = "6133183410995353" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could this just be:
endpoint_id = azurerm_private_endpoint.my_endpoint.id
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This particular declaration is for GCP, which doesn't have a TF resource for private endpoint connections.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left one suggestion but whatever your response there, this seems good to me.
cc03cdf
to
50b33af
Compare
Adds more detailed docs for the
private_endpoint_connection
resource.Commit checklist
make generate
)