-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: update docs to include cockroach_private_endpoint_connection
This commit updates the docs to include the new cockroach_private_endpoint_connection resource. At the same time, we add an example for such a resource, and update the CHANGELOG file as well.
- Loading branch information
1 parent
c41b1ca
commit 84f4fa8
Showing
4 changed files
with
43 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "cockroach_private_endpoint_trusted_owner Resource - terraform-provider-cockroach" | ||
subcategory: "" | ||
description: |- | ||
Private Endpoint Trusted Owner. | ||
--- | ||
|
||
# cockroach_private_endpoint_trusted_owner (Resource) | ||
|
||
Private Endpoint Trusted Owner. | ||
|
||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `cluster_id` (String) UUID of the cluster the private endpoint trusted owner entry belongs to. | ||
- `external_owner_id` (String) Owner ID of the private endpoint connection in the cloud provider. | ||
- `type` (String) Representation of the external_owner_id field. Allowed values are: | ||
* AWS_ACCOUNT_ID | ||
|
||
### Read-Only | ||
|
||
- `id` (String) Used with `terraform import`. Format is "<cluster ID>:<owner ID>". | ||
- `owner_id` (String) UUID of the private endpoint trusted owner entry. | ||
|
||
|
9 changes: 9 additions & 0 deletions
9
...rces/cockroach_private_endpoint_trusted_owner/cockroach_private_endpoint_trusted_owner.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
variable "cluster_id" { | ||
type = string | ||
} | ||
|
||
resource "cockroach_private_endpoint_trusted_owner" "example" { | ||
cluster_id = var.cluster_id | ||
type = "AWS_ACCOUNT_ID" | ||
external_owner_id = "012345678901" | ||
} |