sparse-intern-71089
05/19/2022, 2:12 PMvictorious-church-57397
05/19/2022, 2:33 PMconst updateCfLambdaResponseFunctionEtag = new local.Command(
'update-cf-distro-response',
{
create: `../scripts/update-cf-distro.sh`,
triggers: [responseFunction.version],
},
{
dependsOn: responseFunction,
}
);
this executes a script located in a scripts directory to update a cloudfront distribution, hope this helpsvictorious-church-57397
05/19/2022, 2:35 PM@overload
def Command(resource_name: str,
opts: Optional[ResourceOptions] = None,
create: 'path/to/script | command as a string',
triggers: <pulumi-resource-to-trigger-run>
)
victorious-church-57397
05/19/2022, 2:35 PMboundless-queen-72669
05/19/2022, 2:56 PMvictorious-church-57397
05/19/2022, 2:59 PMboundless-queen-72669
05/19/2022, 3:00 PMboundless-queen-72669
05/26/2022, 6:42 AMvictorious-church-57397
05/26/2022, 7:04 AM