You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When configuring a new stack, to start a new sync process is necessary to confirm the following prompt
The SAM CLI will use the AWS Lambda, Amazon API Gateway, and AWS StepFunctions APIs to upload your code without
performing a CloudFormation deployment. This will cause drift in your CloudFormation stack.
**The sync command should only be used against a development stack**.
Confirm that you are synchronizing a development stack.
Enter Y to proceed with the command, or enter N to cancel:
[Y/n]:
After proceeding with 'Y', an update is made to ~/.aws-sam/metadata.json, appending a new value to the accelerateOptInStacks array, and subsequent sync operations will not prompt this action again.
I tried to identify this value but seems to be an MD5 that I could not relate to any stack information.
Though understandable for safety, there's a need for an option in 'sam sync' to designate development stacks and skip prompts, especially in automated setups.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When configuring a new stack, to start a new sync process is necessary to confirm the following prompt
After proceeding with 'Y', an update is made to
~/.aws-sam/metadata.json
, appending a new value to theaccelerateOptInStacks
array, and subsequent sync operations will not prompt this action again.I tried to identify this value but seems to be an MD5 that I could not relate to any stack information.
Though understandable for safety, there's a need for an option in 'sam sync' to designate development stacks and skip prompts, especially in automated setups.
Beta Was this translation helpful? Give feedback.
All reactions