late-piano-64593
11/28/2024, 12:16 AMawsx.ecs.FargateService
service:
CreateService, https response error StatusCode: 400, InvalidParameterException: Creation of service was not idempotent.
The previous run of pulumi created the service but the deploy failed and triggered the deployment circuit breaker, now the second pass attempts a re-creation of the service. Additionally I can't seem to set deleteBeforeReplace
on awsx components to make it through as a work around.
Anyone else hit issues like that?little-cartoon-10569
11/28/2024, 12:18 AMlittle-cartoon-10569
11/28/2024, 12:19 AMlittle-cartoon-10569
11/28/2024, 12:19 AMpulumi refresh
.late-piano-64593
11/28/2024, 12:21 AMlittle-cartoon-10569
11/28/2024, 12:33 AMlittle-cartoon-10569
11/28/2024, 12:35 AMlate-piano-64593
11/28/2024, 12:40 AMtransforms: [
(args: pulumi.ResourceTransformArgs): pulumi.ResourceTransformResult => {
let opts = args.opts;
if (args.type === 'aws:ecs/service:Service') {
opts = pulumi.mergeOptions(args.opts, { deleteBeforeReplace: true });
}
return {
props: args.props,
opts: opts,
};
},
],
late-piano-64593
11/28/2024, 12:43 AMlate-piano-64593
11/28/2024, 12:53 AMtransforms: [
(args) => {
if (args.type === 'aws:ecs/service:Service') {
return {
props: args.props,
opts: pulumi.mergeOptions(args.opts, { deleteBeforeReplace: true }),
};
}
return undefined;
},
],