icy-controller-6092
10/25/2022, 1:31 AMaws.kinesisanalyticsv2.Application
resource doesn’t seem to reload the code. at the moment I’m manually bumping a version number in the s3 code key to get it to all properly cycle — does anyone know a better way?little-cartoon-10569
10/25/2022, 1:32 AMpulumi up
to update it, you can add a dependsOn
opt.icy-controller-6092
10/25/2022, 1:33 AMconst code = new aws.s3.BucketObject(..)
new aws.kinesisanalyticsv2.Application('...', {
applicationConfiguration: {
applicationCodeConfiguration: {
codeContentType: 'ZIPFILE',
codeContent: {
s3ContentLocation: {
bucketArn: datalake.bucket.arn,
fileKey: code.key,
},
},
},
})
little-cartoon-10569
10/25/2022, 1:34 AMdependsOn: code
to the 3rd parameter to new Application(name, args, opts)
icy-controller-6092
10/25/2022, 1:34 AMupdated (14s) [diff: ~applicationConfiguration]
But - and this may be a AWS issue - the application continues to exhibit bugs that were fixed in the new code, and I need to manually make some changes in AWS console to get the new code to be acceptedlittle-cartoon-10569
10/25/2022, 1:35 AMicy-controller-6092
10/25/2022, 1:37 AMlittle-cartoon-10569
10/25/2022, 1:38 AMicy-controller-6092
10/25/2022, 1:39 AM