Fortinet white logo
Fortinet white logo

Online Help

Stack Already Exists error

Stack Already Exists Error

Background

These scenarios that can be both counted as Stack Already Exists Error.

Scenario 1

After clicking on AWS CloudFormation Guide, you are re-directed to Stacks page instead of CloudFormation guide:

Notice the "FortiCWP" and "ContainerProtection" stacks already exist.

"FortiCWP" is the stack previously created for Workload Protection.

"ContainerProtection" is the stack previously created for Container Protection.

Scenario 2

After completing all the steps in CloudFormation guide, "Stack already exists" error appeared preventing the setup to complete. This error indicated that the account was installed in Workload Protection before, and there is already a stack created on the account.

Solution

This solution can be used for both scenario 1 and 2.

  1. Log into your AWS account.
  2. Click Services and search "CloudFormation".
  3. Under Stacks, if you are adding AWS account on Workload Protection, delete the stack named "FortiCWP".
  4. If you are adding AWS account on Container Protection, delete the stack named "ContainerProtection".

  5. Go back to AWS Authentication, and repeat the steps choosing CloudFormation guide. CloudFormation guide will complete with no error.

Stack Already Exists error

Stack Already Exists Error

Background

These scenarios that can be both counted as Stack Already Exists Error.

Scenario 1

After clicking on AWS CloudFormation Guide, you are re-directed to Stacks page instead of CloudFormation guide:

Notice the "FortiCWP" and "ContainerProtection" stacks already exist.

"FortiCWP" is the stack previously created for Workload Protection.

"ContainerProtection" is the stack previously created for Container Protection.

Scenario 2

After completing all the steps in CloudFormation guide, "Stack already exists" error appeared preventing the setup to complete. This error indicated that the account was installed in Workload Protection before, and there is already a stack created on the account.

Solution

This solution can be used for both scenario 1 and 2.

  1. Log into your AWS account.
  2. Click Services and search "CloudFormation".
  3. Under Stacks, if you are adding AWS account on Workload Protection, delete the stack named "FortiCWP".
  4. If you are adding AWS account on Container Protection, delete the stack named "ContainerProtection".

  5. Go back to AWS Authentication, and repeat the steps choosing CloudFormation guide. CloudFormation guide will complete with no error.