是否有人对terraform aws模块/lambda/aws有问题而不期望任何属性



例如,我们在这里得到了这些错误。没什么意义

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"

Terraform v1.2.7和从模块读取似乎存在GitHub运行问题。

恢复到Terraform v1.2.6为我解决了这个问题。

相关内容

  • 没有找到相关文章

最新更新