Deleting an optimization profile
Deleting an optimization profile also deletes all goals, application contexts, and recommendations in the profile. Before deleting, verify that you have saved any information you may need from the profile.
Console
To delete a profile
-
Choose Optimization profiles in the left-hand navigation.
-
Choose Actions on the profile, then Delete profile.
-
Confirm the deletion.
If the Delete profile option is unavailable (grayed out), termination protection is enabled on the profile. Disable it first:
To disable termination protection
-
Choose Optimization profiles in the left-hand navigation.
-
Choose Actions on the profile, then Edit profile.
-
In Permissions and Integrations, disable the Termination protection toggle.
-
Choose Save.
After disabling termination protection, return to Optimization profiles and delete the profile using Actions, Delete profile.
CLI
To delete a profile:
aws wellarchitected delete-agent-profile \ --profile-arn "arn:aws:wellarchitected:us-east-1:111122223333:agent-profile/my-profile"
If deletion protection is enabled, you must first disable it using
UpdateAgentProfile with --deletion-protection false before
deleting the profile.