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

An argument named "db_name" is not expected here. #465

Open
nicolas-gagnon opened this issue Aug 23, 2022 · 4 comments
Open

An argument named "db_name" is not expected here. #465

nicolas-gagnon opened this issue Aug 23, 2022 · 4 comments
Labels
bug 🐛 An issue with the system

Comments

@nicolas-gagnon
Copy link

Found a bug? Maybe our Slack Community can help.

Slack Community

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

@nicolas-gagnon nicolas-gagnon added the bug 🐛 An issue with the system label Aug 23, 2022
@Benbentwo
Copy link
Member

Hey @nicolas-gagnon, what are you planning when this happens, which component (modules/*)?

@Nuru
Copy link
Sponsor Contributor

Nuru commented Oct 11, 2022

This should not be a problem with modules/rds. Is that what you are using?

@Gowiem
Copy link
Member

Gowiem commented Nov 20, 2022

@nicolas-gagnon friendly ping on the above questions -- wondering if this is still an issue or if we should close it out?

@decoded4620
Copy link

decoded4620 commented May 20, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 An issue with the system
Projects
None yet
Development

No branches or pull requests

5 participants