icy-controller-6092
10/24/2022, 3:19 AMnew AssetArchive({ 'inner.zip': new FileArchive('dist/folder') })
this should produce a top-level zip, with another zip inside of it… but when I check the zip file uploaded to S3, inner.zip
is a directory not a zip archiveechoing-dinner-19531
10/24/2022, 10:17 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 AM