policy cannot be deleted(AWS IoT)

0

The following message is displayed when deleting a policy.
"policy cannot be deleted as versions other than than default version exist (name=XXXXXXXX)"

Please teach me.
I'm not good at English.

Ryoto

ryoto
asked 5 years ago257 views
2 Answers
0
Accepted Answer

Hi,

A policy can have many versions. A new version is created when the policy is updated. To delete a policy, only a single policy version can be present.

To delete the policy from the web console, we need to follow the steps below:

  1. Go to the policy
  2. Click on “Versions”
  3. Here, you will see all the versions of the policy
  4. Click on the “...” button next to each version. Please ensure that the policy is not marked as “Active” and click on “Delete”
  5. Once there is only one version remaining, click on “Actions” on the top of the page
  6. In the pop-up window, click on “Yes, continue with delete”

You policy is now deleted. Let us know if you face any further issues!

AWS
answered 5 years ago
0

Thank you very much, the problem has been solved.
ryoto

ryoto
answered 4 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions