hashicorp/terraform-provider-aws

Error: Unsupported argument: blue_green_update

Offen

#44.488 geöffnet am 29.09.2025

 (7 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Go (10.312 Forks)github user discovery
documentationgood first issueservice/rds

Repository-Metriken

Stars
 (11.045 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 19T 21h) (251 gemergte PRs in 30 T)

Beschreibung

Documentation Link(s)

https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/db_instance#blue_green_update

Description

I added the next block into my TF config:

  blue_green_update = {
    enabled = true
  }

But I got this error:

│ Error: Unsupported argument
│
│   on modules/private-cloud/replica-rds.tf line 50, in resource "aws_db_instance" "rpostgres_v18":
│   50:   blue_green_update = {
│
│ An argument named "blue_green_update" is not expected here. Did you mean to define a block of type
│ "blue_green_update"?
╵

It seems I did something wrong, but documentation has no examples.

References

https://www.reddit.com/r/Terraform/comments/17s1b4w/trying_to_use_blue_green_update_with_aws_db/

Would you like to implement a fix?

No

Contributor Guide