Closed
Description
Can't have more than 1 secret for the input variable secrets.
It errors out with the following:
│ Error: Insufficient auth blocks │ │ on .terraform/modules/rds_proxy/main.tf line 13, in resource "aws_db_proxy" "this": │ 13: resource "aws_db_proxy" "this" { │ │ At least 1 "auth" blocks are required. ╵ ╷ │ Error: Invalid dynamic for_each value │ │ on .terraform/modules/rds_proxy/main.tf line 26, in resource "aws_db_proxy" "this": │ 26: for_each = var.secrets │ │ Cannot use a map of object value in for_each. An iterable collection is required.
Thanks in advance
Metadata
Metadata
Assignees
Labels
No labels