I'm looking to add CMD override for an AWS Lambda via either terraform or docker. The lambda has type image since it is being run from a container. Trying to add the handler through terraform gives
Message_: "Please don't provide Handler or Runtime or Layer when the intended function PackageType is Image.",
Is there a way to set the _HANDLER to something and be used within the Dockerfile. CMD "${_HANDLER}"
Ie. $_HANDLER = $LAMBDA_HANDLER CMD ${_HANDLER} will then point to the lambda handler?
