You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
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.
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
=- 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"
The text was updated successfully, but these errors were encountered: