Random_password will be updated in-place with no changes


We have a daily pipeline that runs on all environments to detect and terraform state drift.


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)


  1. Will this end up generating a new password?
  2. What is it exactly trying to update here? All of the attributes seem to be unchanged.
  3. 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

Check the issue tracker and changelog for terraform-provider-random. It seems they did a big rewrite and some things got broken.

Thank you @maxb seems like random_password Showing Unexpected Plan 3.3.2 to 3.4.2 · Issue #306 · hashicorp/terraform-provider-random · GitHub is exactly the problem I’m having

hi @sazzopardi, Whether the change will not affect the current configuration on the cloud?
Like, password string. if not So, I can safely ignore that update