cockroachdb / terraform-provider-cockroach

Terraform provider for CockroachDB Cloud
Apache License 2.0
55 stars 10 forks source link

internal/provider: add a new cockroach_private_endpoint_trusted_owner resource #159

Closed jaylim-crl closed 10 months ago

jaylim-crl commented 10 months ago

NOTE: This PR depends on the following:


internal/provider: add a new cockroach_private_endpoint_trusted_owner resource

This commit adds a new cockroach_private_endpoint_trusted_owner terraform resource to manage private endpoint trusted owner entries.

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.


Commit checklist

jaylim-crl commented 10 months ago

Ran the acceptance tests against staging:

$ TF_ACC=1 go test -test.v -run TestAccDedicatedPrivateEndpointTrustedOwnerResource -timeout 120m -parallel 100 ./internal/provider/
=== RUN   TestAccDedicatedPrivateEndpointTrustedOwnerResource
--- PASS: TestAccDedicatedPrivateEndpointTrustedOwnerResource (1291.43s)
PASS
ok      github.com/cockroachdb/terraform-provider-cockroach/internal/provider   1291.787s

We'd have to flip the feature flag on the right production org before releasing a new provider version.

jaylim-crl commented 10 months ago

TFTR!