clean-machine-8609
06/25/2024, 12:27 PMerror: could not deserialize deployment: snapshot integrity failure
?lively-crayon-44649
06/25/2024, 12:45 PMclean-machine-8609
06/25/2024, 1:47 PMerror: could not deserialize deployment: snapshot integrity failure; refusing to use it: resource urn:pulumi:xxxxx...:aws:cloudwatch/metricAlarm:MetricAlarm::alarm-xxx 's dependency urn:pulumi:stack::project::aws:lambda/function:Function::xxxx-function refers to missing resource
lively-crayon-44649
06/25/2024, 1:49 PMpulumi version
will show this)
• Are you running a targeted update? E.g. pulumi up -t some-targets
clean-machine-8609
06/25/2024, 1:57 PMlively-crayon-44649
06/25/2024, 3:17 PMpulumi version
would still be useful. And if you are using Automation API then, are you passing target
or targetDependents
as part of the options to up()
?clean-machine-8609
06/25/2024, 8:50 PMconst stack = await LocalWorkspace.createOrSelectStack({
stackName,
projectName,
program: this.createPulumiProgram(args),
});
await stack.setConfig('aws:region', { value: aws_region });
await stack.preview({ onOutput: <http://console.info|console.info>, diff: true, });
const upRes = await stack.up({ onOutput: <http://console.info|console.info>, diff: true });