Closed brbrown25 closed 8 months ago
@brbrown25 thanks for reporting the issue!
We're aware of this regression and our backend team merged a fix internally and it should be deployed early next week.
As a quick workaround, I'd recommend using ignore_changes lifecycle attribute:
resource "confluent_flink_compute_pool" "flink-poc" {
display_name = "Flink-POC"
cloud = "AWS"
region = "us-east-1"
max_cfu = 5
environment {
id = module.confluent_cloud.confluent_environment_id
}
lifecycle {
prevent_destroy = true
ignore_changes = [
# Ignore changes to cloud
cloud,
]
}
}
Awesome, thank you @linouk23!
Using provider version 1.54.0 I created a flink cluster with
and ran
terraform apply -target=confluent_flink_compute_pool.flink-poc
this created the cluster just fine. However now I'm making other changes and receivingSo I switching
prevent_destroy
to be false and it shows the following planSo it looks like it's going to change the cloud even though it is all uppercase and has been the whole time