You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whanever I change ip_access property of clickhouse_service resource, the plan contains a whole bunch of (known after apply) values which actually hasn't changed:
It wouldn't be a problem if these (known after apply) weren't consumed by downstream resources. E.g., that effectively forces re-creation of clickhouse_service_private_endpoints_attachment and aws_vpc_endpoint on every ip_access update. I wouldn't expect altering IP access ACL to trigger such a serious hustle...
The text was updated successfully, but these errors were encountered:
Some of the fields are "optional, computed" causing them to be "known after apply" everytime there is a change in the resource.
We are working towards limiting such fields, although it is a balance game between server side defaulting and not requiring the user to enter every detail of the service's configuration.
That being said, I'm confused about the "effectively forces re-creation of clickhouse_service_private_endpoints_attachment and aws_vpc_endpoint".
Do you have the output of a terraform plan when this happens?
We released version 3.0.0 of the terraform provider, with the specific goal to improve the Plan phase and limit the number of "Known after apply" fields that were indeed too many to be acceptable.
I'd appreciate if you could test it out and provide some feedback regarding your initial concerns.
Please be aware that there is a breaking change in this release, find all the needed informations in here https://github.com/ClickHouse/terraform-provider-clickhouse#breaking-changes-and-deprecations
Whanever I change
ip_access
property ofclickhouse_service
resource, the plan contains a whole bunch of (known after apply) values which actually hasn't changed:It wouldn't be a problem if these (known after apply) weren't consumed by downstream resources. E.g., that effectively forces re-creation of
clickhouse_service_private_endpoints_attachment
andaws_vpc_endpoint
on everyip_access
update. I wouldn't expect altering IP access ACL to trigger such a serious hustle...The text was updated successfully, but these errors were encountered: