aws-cloudformation / aws-cloudformation-resource-providers-awsutilities-commandrunner

Apache License 2.0
81 stars 21 forks source link

What is the proper way of updating `Command` section when using SAM #23

Open tivaliy opened 3 years ago

tivaliy commented 3 years ago

Hi

i'm using Cloudformation and SAM for deploying project infrastrcuture. While using CommandRunner custom resource I faced with an issue of updating/adding/removing Command section. So it fails to deploy infrastructure with updated Command section with Status reason: The following resource(s) failed to update: [CommandRunner]

The only workaround right now is to comment/uncomment AWSUtility::CloudFormation::CommandRunner in a template every time I need to make a change.

Can you please clarify on the flow I have to follow.

InternetSalmon commented 3 years ago

@tivaliy did you find a solution to this? Running into the same issue with AWS SAM

shantgup commented 2 years ago

Hello,

Adding/removing/updating the Command property will cause CommandRunner to re-run the Command. And this will happen before any resources that are referencing CommandRunner.

Do you have the error you received on the CommandRunner resource itself?

thormtl commented 1 year ago

Any updates to this?