cockroachdb / terraform-provider-cockroach

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

EndpointServices resource #43

Closed erademacher closed 1 year ago

erademacher commented 1 year ago

This change is Reviewable

marksoper commented 1 year ago

internal/provider/endpoint_services_resource.go line 221 at r1 (raw file):

Previously, erademacher (Evan Rademacher) wrote…
Because there's nothing a user can actually do to trigger an update. All fields are either computed-only or require a rebuild. Currently, this code is unreachable.

This makes sense. Customers can enable (all) services by declaring the "Services" resource. What happens if they remove the Services resource and run apply - they would get an error right?