0.11.13
vault provider version 1.7.0
# admin role
resource "vault_aws_auth_backend_role" "admin_access" {
backend = "${vault_auth_backend.aws.path}"
role = "admin-access"
auth_type = "iam"
policies = ["default", "admin-access" ]
bound_iam_principal_arns = ["arn:aws:iam::******:role/admin_role"]
}
Subsequent re-runs of plan to not trigger changes.
It triggers a change on every plan re-run even if applied many times.
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
~ vault_aws_auth_backend_role.admin_access
policies.0: "admin-access" => "default"
policies.1: "default" => "admin-access"
Plan: 0 to add, 1 to change, 0 to destroy.
------------------------------------------------------------------------
terraform planWe are running into the same issue as well.
The fix is to change this line to schema.TypeSet.
@lcgkm #224 is not related to this. I think that issue should have been fixed by https://github.com/terraform-providers/terraform-provider-vault/pull/305
Most helpful comment
@lcgkm #224 is not related to this. I think that issue should have been fixed by https://github.com/terraform-providers/terraform-provider-vault/pull/305