sparse-intern-71089
10/24/2022, 3:19 AMechoing-dinner-19531
10/24/2022, 10:17 AMechoing-dinner-19531
10/24/2022, 10:18 AMicy-controller-6092
10/24/2022, 10:42 PMouter.zip
from the S3 bucket and unzip its contents, inner.zip
is a directory and not a zip archive
import * as aws from '@pulumi/aws'
import * as pulumi from '@pulumi/pulumi'
new aws.s3.BucketObject({
bucket: 'xyz',
key: 'outer.zip',
source: new pulumi.asset.AssetArchive({
'my.txt': new pulumi.asset.StringAsset('test'),
'inner.zip': new pulumi.asset.FileArchive('dist/folder'),
})
})
echoing-dinner-19531
10/25/2022, 9:00 AMechoing-dinner-19531
10/25/2022, 9:07 AM