【发布时间】:2018-09-23 01:24:39
【问题描述】:
如何删除失败的 VPC 对等连接创建?
在创建 VPC 对等连接时,我提供了无效的 VPC id,导致对等连接创建失败。后来我更正了 VPC id 并可以创建对等连接。现在我正在尝试删除失败的对等连接,但该选项在 AWS 控制面板中显示为灰色。
CLI 不允许我删除它。如何删除失败的 VPC 对等连接?
$ aws ec2 delete-vpc-peering-connection --vpc-peering-connection-id pcx-xxxxxxxx
An error occurred (InvalidStateTransition) when calling the DeleteVpcPeeringConnection operation: Invalid state transition for pcx-xxxxxxxx, attempted to transition from failed to deleting
【问题讨论】:
标签: amazon-web-services amazon-ec2 aws-cli amazon-vpc