Open mstavreski opened 1 month ago
@mstavreski thanks for creating this issue and sharing your TF config files with us! Could you share a minimal reproducible example?
@mstavreski thanks for creating this issue and sharing your TF config files with us! Could you share a minimal reproducible example?
Sure, you can replicate it using the code in the following zip file. confluent-data-issue.zip
Hello @linouk23, just following up on this issue. Is there a resolution to it?
Hi all,
We are experiencing an issue with the Confluent provider where terraform tries to recreate all the resources if there is a dependency on a data block.
Here is an example:
The following code creates a service account and identity pool, and assigned them some schema-registry level permissions.
But due to the data blocks inside the
rbac-schema-registry.tf
file if I try to add another service account or identity pool in my .tfvars file, terraform will try to redeploy all the rbac permissions as it is re-running the data block and doesn't know what the output of it is at the plan step, as seen below.Is it possible to resolve this issue so that we can run data blocks inside modules without having to redeploy everything in that module?
main.tf:
rbac-schema-registry.tf
file:Plan: 4 to add, 0 to change, 3 to destroy.