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

terraform apply fails. #20

Open
jarrettj opened this issue Oct 30, 2019 · 3 comments
Open

terraform apply fails. #20

jarrettj opened this issue Oct 30, 2019 · 3 comments

Comments

@jarrettj
Copy link

Hi,

Good day.

I get the following when trying to use the module:

terraform apply

Error: Unsupported argument

  on .terraform/modules/ec2.backup_website.backup_wordpress/main.tf line 108, in resource "aws_lambda_function" "ami_backup":
 108:   environment = {

An argument named "environment" is not expected here. Did you mean to define a
block of type "environment"?


Error: Unsupported argument

  on .terraform/modules/ec2.backup_website.backup_wordpress/main.tf line 131, in resource "aws_lambda_function" "ami_cleanup":
 131:   environment = {

An argument named "environment" is not expected here. Did you mean to define a
block of type "environment"?

Regards.

@jarrettj
Copy link
Author

Saw a pull request for getting it to work with v0.12. Could it be the same issue?

@raj-yadav9
Copy link

@jarrettj were you able to fix this? I am facing same issue.

@jarrettj
Copy link
Author

jarrettj commented Jul 30, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants