Open GLZ9568 opened 1 year ago
@GLZ9568 Can you provide the version of Terraform and the Astra provider/plugin, and also an example main.tf
to reproduce the issue? The Terraform Astra provider shouldn't modify the contents of the role if the contents are directly specified. I'm guessing in this case there is a loop to dynamically create the permissions, which would cause the resources to be automatically added/removed, but I can't tell without the source main.tf
.
The customer has reported that after they use Terraform script to drop and recreate keyspace
cssservice
, their admin useradmin-ocp-p-p-uspd-css-cass-01
loses access to the recreated keyspace.Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
Below is the output from Terraform:
it appears the
astra_role.admin
table is modified when a keyspace is dropped, does terraform modify the user roles when removing a keyspace? if so, does it add the correct access for the role back when the keyspace is recreated?