terraform-aws-components
terraform-aws-components copied to clipboard
An argument named "db_name" is not expected here.
Found a bug? Maybe our Slack Community can help.
Describe the Bug
I try to repush some code not event on the rds and i receive this error
Error: Unsupported argument
830 | 831 | on .terraform/modules/rds_instance/main.tf line 31, in resource "aws_db_instance" "default": 832 | 31: db_name = var.database_name
Expected Behavior
I change the version of the cloudposse to the recent one same problame
Steps to Reproduce
when i do an plan i receive this error.
Screenshots
Environment (please complete the following information):
im using aws and a remote tf file on s8 bucket
Hey @nicolas-gagnon, what are you planning when this happens, which component (modules/*
)?
This should not be a problem with modules/rds
. Is that what you are using?
@nicolas-gagnon friendly ping on the above questions -- wondering if this is still an issue or if we should close it out?
I have a similar issue running a recursive validate script:
│ Error: Unsupported argument
│
│ on some.tf line 77, in resource "aws_db_instance" "main":
│ 77: db_name = var.database_name
│
│ An argument named "db_name" is not expected here.