Lambda Function: "package_type" variable is redundant #19508
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
service/lambda
Issues and PRs that pertain to the lambda service.
stale
Old or inactive issues managed by automation, if no further action taken these will get closed.
Community Note
Description
The var "package_type" has two options - "Image" and "Zip". The correct value of this variable is known by whether the user specified an
image_uri
(Image), ors3_bucket
/filename
(Zip).package_type
currently defaults toZip
, which can create confusing error messages if the user is trying to create a Docker Image Lambda.New or Affected Resource(s)
Potential Terraform Configuration
(as-is, omitting the
package_type
input)References
It may also be helpful to add additional validations, as proposed in #16515.
The text was updated successfully, but these errors were encountered: