Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perma-diff on google_sql_database_instance resource password_validation_policy setting #20645

Open
Klaitos opened this issue Dec 10, 2024 · 0 comments
Assignees
Labels
bug forward/review In review; remove label to forward service/sqladmin-cp

Comments

@Klaitos
Copy link

Klaitos commented Dec 10, 2024

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
  • Please do not leave +1 or me too comments, they generate extra noise for issue followers and do not help prioritize the request.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.
  • If an issue is assigned to a user, that user is claiming responsibility for the issue.
  • Customers working with a Google Technical Account Manager or Customer Engineer can ask them to reach out internally to expedite investigation and resolution of this issue.

Terraform Version & Provider Version(s)

Terraform v1.9.8
on arm

  • provider registry.terraform.io/hashicorp/google v6.13.0
  • provider registry.terraform.io/hashicorp/google-beta v6.13.0

Affected Resource(s)

google_sql_database_instance

Terraform Configuration

resource "google_sql_database_instance" "instance" {
  name             = "test"
  region           = "europe-west1"
  database_version = "POSTGRES_17"

    password_validation_policy {
      min_length                  = 8
      reuse_interval              = 2
      complexity                  = "COMPLEXITY_DEFAULT"
      disallow_username_substring = true
      password_change_interval    = "21600s"
      enable_password_policy      = true
    }
}

Debug Output

No response

Expected Behavior

Provider does not want to remove password policy as it not exists

Actual Behavior

The provider show a remove block on the password policy

Steps to reproduce

  1. terraform apply
  2. remove the password policy block
    3.terraform apply
    3.terraform apply , the password policy show as not deleted in plan

Important Factoids

No response

References

No response

@Klaitos Klaitos added the bug label Dec 10, 2024
@github-actions github-actions bot added forward/review In review; remove label to forward service/sqladmin-cp labels Dec 10, 2024
@c2thorn c2thorn self-assigned this Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug forward/review In review; remove label to forward service/sqladmin-cp
Projects
None yet
Development

No branches or pull requests

2 participants