You can delete an AWS Proton environment by using the AWS Proton console or the AWS CLI.
Note
You can't delete an environment that has any associated component. To delete such an environment, you should first delete all components that are running in the environment. For more information about components, see AWS Proton components.
Delete an environment using the console as described in the following two options.
In the list of environments.
-
In the AWS Proton console
, choose Environments. -
In the list of environments, select the radio button to the left of the environment that you want to delete.
-
Choose Actions and then Delete.
-
A modal prompts you to confirm the delete action.
-
Follow the instructions and choose Yes, delete.
In the environment detail page.
-
In the AWS Proton console
, choose Environments. -
In the list of environments, choose the name of the environment that you want to delete.
-
In the environment detail page, choose Actions and then Delete.
-
A modal prompts you to confirm that you want to delete.
-
Follow the instructions and choose Yes, delete.