Describe your idea/feature/enhancement
I would like to be able to create a Elastic Container Repository in my SAM template.yaml and be able to use it to push Container Images using the Metadata for AWS::Serverless::Function
Proposal
StartMachineRepository:
Type: AWS::ECR::Repository
Properties:
RepositoryName: discord/start_function
StartMachineLambda:
Type: AWS::Serverless::Function
Properties:
PackageType: Image
Architectures:
- arm64
Metadata:
Dockerfile: functions/start_machine/Dockerfile.lambda
DockerContext: .
DockerTag: latest
DockerRepository: !Sub "${StartMachineRepository.RepositoryUri}"
Additional Details
Describe your idea/feature/enhancement
I would like to be able to create a
Elastic Container Repositoryin my SAMtemplate.yamland be able to use it to pushContainer Imagesusing theMetadataforAWS::Serverless::FunctionProposal
Additional Details