Ready to post? First, try searching for your answer.
Hello everyone,
I am having some unexpected output when I run a terraform plan
for my Auth0 terraform.
The problem is with the auth0_flow_vault_connection
, I have my resource like this:
resource "auth0_flow_vault_connection" "actions_connection" {
name = "Auth0 Actions Connection"
app_id = "AUTH0"
setup = {
client_id = data.auth0_client.actions_client.client_id
client_secret = data.auth0_client.actions_client.client_secret
domain = var.auth0_domain
type = "OAUTH_APP"
}
}
I applied the terraform with this new resource and it was created. The problem is when I run another terraform plan
, the plan shows aways that the resources has changed even if I didn’t make any change. The output I see is:
Terraform will perform the following actions:
# auth0_flow_vault_connection.actions_connection will be updated in-place
~ resource "auth0_flow_vault_connection" "actions_connection" {
~ account_name = <auth0-tenant>.us.auth0.com" -> null
id = "ac_xxxxxxxxxxxxxxx"
name = "Auth0 Actions Connection"
- ready = true -> null
~ setup = (sensitive value)
# (3 unchanged attributes hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy.
My expectation here is that if I don’t make any change to the resource then the terraform plan
should not show any change for the resource.
Maybe have you seen that before, do you know how to fix it?