Terraform updates the oid auth backend description without deleting and re-creating it. i.e. the equivalent of vault auth tune oidc/ description='new description'.
Actual Behavior
Terraform force replacement of the vault_jwt_auth_backend upon description update.
# vault_jwt_auth_backend.oidc must be replaced
-/+ resource "vault_jwt_auth_backend" "oidc" {
~ accessor = "auth_oidc_714fe51c" -> (known after apply)
- bound_issuer = "" -> null
~ description = "first description" -> "new description" # forces replacement
~ id = "oidc" -> (known after apply)
...
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
update the vault_jwt_auth_backend.oidc.description
Terraform Version
Affected Resource(s)
Please list the resources as a list, for example:
Terraform Configuration Files
Scenario
Expected Behavior
Terraform updates the oid auth backend description without deleting and re-creating it. i.e. the equivalent of
vault auth tune oidc/ description='new description'
.Actual Behavior
Terraform force replacement of the vault_jwt_auth_backend upon
description
update.Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
vault_jwt_auth_backend.oidc.description
terraform apply