An existing stack can be updated using a new version of AWS CloudFormation template or the same version of the AWS CloudFormation template.
Before starting with stack update, make sure no resource is deleted manually as it can lead to stack update failure.
Below are the steps to update an existing stack :
- Locate the Main Stack created using AWS CloudFormation template and Click Update.
Select ‘Replace Current Template’ and paste the URL - https://sumologic-appdev-aws-sam-apps.s3.amazonaws.com/sumologic_observability.master.template.yaml in the Amazon S3 URL option and select Next.
Keep the pre-filled parameters (as supplied during Stack Create) and Click Next.
Review all the changes listed on the Change Set Review and make sure you're comfortable with these changes.
Select the capabilities and Click Submit.
After the update is complete, the stacks that have been updated successfully will be set to a UPDATE_COMPLETE status.