sparse-intern-71089
01/08/2023, 4:37 PMmillions-furniture-75402
01/09/2023, 2:03 PMimport pulumi
import pulumi_awsx as awsx
repository = awsx.ecr.Repository("repository")
image = awsx.ecr.Image("image",
repository_url=repository.url,
path="./app")
lambda_function = aws.lambda_.Function("mylambda",
role=iam.lambda_role.arn,
runtime="python3.7",
handler="hello.handler",
image_config={ command: ["mylambda.handler"] },
)
millions-furniture-75402
01/09/2023, 2:04 PMproud-art-41399
01/09/2023, 4:54 PM