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-aws-modules/lambda/aws V 3.3.1 Isn't working as of Aug 10 #340

Closed
melissarh57 opened this issue Aug 10, 2022 · 4 comments
Closed

Comments

@melissarh57
Copy link

melissarh57 commented Aug 10, 2022

Description

Is anyone else running into an issue where terraform-aws-modules/lambda/aws doesn't work as expected as of around Noon CST 8/10/22?

I'm getting errors like

`Error: Unsupported argument

on lambda.tf line 21, in module "lambda_function":
21: function_name = "function-name"

An argument named "function_name" is not expected here.

Error: Unsupported argument

on lambda.tf line 22, in module "lambda_function":
22: description = "description here"

An argument named "description" is not expected here.

Error: Unsupported argument

on lambda.tf line 23, in module "lambda_function":
23: handler = "handlervalue"`

Versions

  • Module version [3.3.1]:

=- Provider version(s):
hashicorp/aws v4.25.0
terraform version: latest v1.2.7

Reproduction Code [Required]

Steps to reproduce the behavior:

Run terraform plan changing anything in the lambda module: terraform-aws-modules/lambda/aws using v 3.3.1

Expected behavior

It should work fine

Actual behavior

Getting tons of errors of passing in attributes when it says the module shouldn't retrieve that attribute: like "function_name"

@jonohill
Copy link

I'm getting the same issue today, but it seems be a problem with the new Terraform release hashicorp/terraform#31615
Downgrading to v1.2.6 of Terraform resolves the issue.

@melissarh57
Copy link
Author

Yeah Jono I think you are right. Also, For the aws provider module, I noticed using 3.2 and older works as well. So must be an incompatibility between 3.3.1 and terraform v1.2.7

@antonbabenko
Copy link
Member

There was an issue on the Terraform Registry side. It has been resolved.

@github-actions
Copy link

github-actions bot commented Nov 8, 2022

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants