You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The terraform reported that the vm required to be replaced because the initialization.user_account.keys has changed.
However the key didn't change, the terraform plan shows the following output
~ user_account {
~ keys = [ # forces replacement
- "ssh-ed25519 AAAACbla bla bla bla",
+ <<-EOT
ssh-ed25519 AAAACbla bla bla bla
EOT,
]
~ password = (sensitive value)
# (1 unchanged attribute hidden)
}
To Reproduce
Create a vm with initialization block that include user_account and ssh pubkey in an array.
Apply twice, the second time will state that the vm need to be replaced due to the keys is different.
Please also provide a minimal Terraform configuration that reproduces the issue.
Describe the bug
The terraform reported that the vm required to be replaced because the initialization.user_account.keys has changed.
However the key didn't change, the terraform plan shows the following output
To Reproduce
Please also provide a minimal Terraform configuration that reproduces the issue.
Expected behavior
The vm should stay intact.
The text was updated successfully, but these errors were encountered: