Using the New Lambda Image Container causes terraform crash #17081
Labels
bug
Addresses a defect in current functionality.
crash
Results from or addresses a Terraform crash or kernel panic.
service/lambda
Issues and PRs that pertain to the lambda service.
Milestone
Community Note
Terraform CLI and Terraform AWS Provider Version
Terraform v0.13.6
Affected Resource(s)
Terraform Configuration Files
Create a lambda function using the new container
Image
package type instead of the defaultZip
package type. Do not set animage_configuration
override block for the function.Panic Output
Expected Behavior
It should deserialize the response from Lambda API correctly.
Actual Behavior
It fails to safely deserialize and access values from the Lambda API response.
Steps to Reproduce
Image
as the package type, but do not specify an override for theimage_configuration
.terraform apply
orterraform import
, and terraform will crash.The text was updated successfully, but these errors were encountered: