

# Update the solution
<a name="update-the-solution"></a>

If you have previously deployed this solution, follow this procedure to update the Landing Zone Accelerator on AWS CloudFormation stack to get the latest version of the solution’s framework.

Before updating the solution, run the Core pipeline [manually](https://docs.aws.amazon.com/codepipeline/latest/userguide/pipelines-rerun-manually.html) on your current version. [Troubleshoot](troubleshooting.md) any existing issues so that your current version runs smoothly. Performing a dry run of your existing version before proceeding with the following instructions ensures that there is no drift and the environment is stable.

1. Sign in to the [AWS CloudFormation console](https://console.aws.amazon.com/cloudformation/), select your existing Landing Zone Accelerator on AWS CloudFormation stack, and select **Update**.

1. Select **Replace current template**.

1. Under **Specify template**:

   1. Select **Amazon S3 URL**.

   1. Copy the link of the [latest template](https://s3.amazonaws.com/solutions-reference/landing-zone-accelerator-on-aws/latest/AWSAccelerator-InstallerStack.template).

   1. Paste the link in the **Amazon S3 URL** box.

   1. Verify that the correct template URL shows in the **Amazon S3 URL** text box, and choose **Next**. Choose **Next** again.

1. Under **Parameters**, review the parameters for the template and modify them as necessary. At minimum, modify the **Branch Name** parameter to the release branch of the version you are updating to. Refer to [Step 1. Launch the stack](step-1.-launch-the-stack.md) for details about the parameters.

1. Choose **Next**.

1. On the **Configure stack options** page, choose **Next**.

1. On the **Review** page, review and confirm the settings. Check the box acknowledging that the template might create IAM resources.

1. Choose **View change set** and verify the changes.

1. Choose **Update stack** to deploy the stack.

Updating the solution automatically invokes the Core pipeline (`AWSAccelerator-PipelineStack*`). You can view the status of the stack in the AWS CloudFormation console in the **Status** column. You should receive a `UPDATE_COMPLETE` status in approximately 10 minutes.