Background
We have a daily pipeline that runs on all environments to detect and terraform state drift.
Problem
Today we started getting the diffs below, on all usage of random_password
and we don’t have any code changes related to this module (it was last updated 9 months ago).
# module.registry-cdn.random_password.url_signature will be updated in-place
~ resource "random_password" "url_signature" {
id = "none"
# (12 unchanged attributes hidden)
}
Questions:
- Will this end up generating a new password?
- What is it exactly trying to update here? All of the attributes seem to be unchanged.
- Any idea what would be triggering this?
Terraform version:
terraform version
Terraform v1.2.2
on darwin_arm64
+ provider registry.terraform.io/cloudflare/cloudflare v3.22.0
+ provider registry.terraform.io/hashicorp/aws v3.75.2
+ provider registry.terraform.io/hashicorp/google v4.34.0
+ provider registry.terraform.io/hashicorp/google-beta v4.34.0
+ provider registry.terraform.io/hashicorp/local v2.2.3
+ provider registry.terraform.io/hashicorp/null v3.1.1
+ provider registry.terraform.io/hashicorp/random v3.4.2
Your version of Terraform is out of date! The latest version
is 1.2.8. You can update by downloading from https://www.terraform.io/downloads.html