You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
new cdk.aws_s3_deployment.BucketDeployment(this, "AssetsDeployment", {
destinationBucket: assetsBucket,
sources: [cdk.aws_s3_deployment.Source.asset(websiteAssets.path)],
});
I'm getting error in docker container: {"Status": "FAILED", "Reason": "[Errno 2] No such file or directory: '/opt/awscli/aws'", "PhysicalResourceId": "2022/03/22/[1]7b16a3b1", "StackId": "arn:aws:cloudformation:eu-central-1:000000000000:stack/DemoAppStack/id-123", "RequestId": "1638d886", "LogicalResourceId": "AssetsDeploymentCustomResourceEBEC1B06", "NoEcho": false, "Data": {}}
What happens is that s3 deployment uses python lambda function in which it runs executable located /opt/awscli/aws which I cannot override. Source of truth is here.
The text was updated successfully, but these errors were encountered:
Hey,
I'm trying to publish assets to s3 buckets with:
I'm getting error in docker container:
{"Status": "FAILED", "Reason": "[Errno 2] No such file or directory: '/opt/awscli/aws'", "PhysicalResourceId": "2022/03/22/[1]7b16a3b1", "StackId": "arn:aws:cloudformation:eu-central-1:000000000000:stack/DemoAppStack/id-123", "RequestId": "1638d886", "LogicalResourceId": "AssetsDeploymentCustomResourceEBEC1B06", "NoEcho": false, "Data": {}}
What happens is that s3 deployment uses python lambda function in which it runs executable located
/opt/awscli/aws
which I cannot override. Source of truth is here.The text was updated successfully, but these errors were encountered: