Lambda Zip function check only fails if both handler and runtime are missing #20574
Labels
bug
Addresses a defect in current functionality.
service/lambda
Issues and PRs that pertain to the lambda service.
Milestone
Community Note
Terraform CLI and Terraform AWS Provider Version
Terraform v1.0.4
on darwin_amd64
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Debug Output
Expected Behavior
Validate that both
handler
andruntime
are present if thepackage_type
isZip
Actual Behavior
Lambda create is requested, fails with
ValidationException
Steps to Reproduce
handler
andruntime
terraform apply
The text was updated successfully, but these errors were encountered: