When using the aws_db_proxy resource (link to documentation), I get this error when trying to use POSTGRES_MD5 as the authentication type.
Expected Behavior
Expect to be able to use POSTGRES_MD5, as described in the documentation.
Actual Behavior
I get this error:
When expanding the plan for aws_db_proxy.test_db_proxy to include new values learned so far during apply, provider "registry.terraform.io/hashicorp/aws" produced an invalid new value for .auth: planned set element cty.ObjectVal(map[string]cty.Value{"auth_scheme":cty.StringVal("SECRETS"), "client_password_auth_type":cty.StringVal("POSTGRES_MD5"), "description":cty.StringVal("test-db-proxy-auth"), "iam_auth":cty.StringVal("DISABLED"), "secret_arn":cty.UnknownVal(cty.String), "username":cty.StringVal("")}) does not correlate with any element in actual. This is a bug in the provider, which should be reported in the provider's own issue tracker.
Relevant Error/Panic Output Snippet
> When expanding the plan for aws_db_proxy.test_db_proxy to include new values learned so far during apply, provider "registry.terraform.io/hashicorp/aws" produced an invalid new value for .auth: planned set element cty.ObjectVal(map[string]cty.Value{"auth_scheme":cty.StringVal("SECRETS"), "client_password_auth_type":cty.StringVal("POSTGRES_MD5"), "description":cty.StringVal("test-db-proxy-auth"), "iam_auth":cty.StringVal("DISABLED"), "secret_arn":cty.UnknownVal(cty.String), "username":cty.StringVal("")}) does not correlate with any element in actual.
>
> This is a bug in the provider, which should be reported in the provider's own issue tracker.
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
Volunteering to Work on This Issue
If you are interested in working on this issue, please leave a comment.
If this would be your first contribution, please review the contribution guide.
Terraform Core Version
1.5.2
AWS Provider Version
5.42.0
Affected Resource(s)
When using the
aws_db_proxy
resource (link to documentation), I get this error when trying to usePOSTGRES_MD5
as the authentication type.Expected Behavior
Expect to be able to use
POSTGRES_MD5
, as described in the documentation.Actual Behavior
I get this error:
Relevant Error/Panic Output Snippet
Terraform Configuration Files
With a DB as
test_db
,Steps to Reproduce
Use a Postgres 11+ DB with name
test_db
and apply the terraform above.Debug Output
n/a
Panic Output
n/a
Important Factoids
n/a
References
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/db_proxy#client_password_auth_type
Would you like to implement a fix?
No