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
已提問 5 年前檢視次數 266 次
2 個答案
0
已接受的答案

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
已回答 5 年前
0

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

ryoto
已回答 4 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南