full-dress-10026
08/08/2023, 5:15 PMcommand.local.Command
to build an asset passed to the source
of a aws.s3.BucketObjectv2
. I’m a bit unclear what triggers the create
command to rerun. My create
command runs make build
. This command will produce a file service.jar
if necessary. At the moment, it seems like the create
command will never rerun after resource creation. Is that expected? Should I be configuring the Command resource differently?const lambdaBuildCommand = new command.local.Command('lambda-build', {
dir: 'processor-lambda',
create: 'make build',
update: '',
assetPaths: ['target/service.jar']
});