There is currently an issue with updating the name, ui and sql flags. When updating an existing state, the apply will appear to succeed but the state is not actually updated, and you will be able to run plan / apply again and see the same state. The result is these fields never get updated in state and therefore the infrastructure can't change.
There is currently an issue with updating the name, ui and sql flags. When updating an existing state, the apply will appear to succeed but the state is not actually updated, and you will be able to run plan / apply again and see the same state. The result is these fields never get updated in state and therefore the infrastructure can't change.
Below lines where state is used instead of the plan for the SQL, UI and Name fields: https://github.com/cockroachdb/terraform-provider-cockroach/blob/56eb6be6764bac350b5ac802abcf69f74c6285ce/internal/provider/networking_resource.go#L262-L270