0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

【ネットワークインターフェースのデタッチで】You do not have permission to access the specified resource.が出た時の対処

Posted at

はじめに

使わないVPCを削除したときに出たエラーについて共有していきたいと思います。

原因

エラー文を翻訳すると
指定されたリソースにアクセスする権限がありません

You do not have permissionと書かれてますが特に権限がないわけではなく、関連付けられているリソースが存在するため削除できない状態にあります。

対処法

descriptionを参照して、関連付けられてるリソースを先に削除するとエラーが解決します。

インターネットゲートウェイRDSが原因になっている場合が多いようです。

ちなみに自分の場合はRDSが原因でした。
VPCに関連するRDSを削除することで解決できました。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?