【发布时间】:2020-10-10 01:52:32
【问题描述】:
我正在运行一个 terraform .tf 脚本来创建 aws_vpc_endpoint
这里是示例代码
resource "aws_vpc_endpoint" "NewVPCEndpoint" {..}
但是,在调用 terraform apply 时,出现错误
Error creating VPC Endpoint: UnauthorizedOperation: This operation does not support shared VPCs.
status code: 403
我收到此错误的确切原因是什么?
我在不同的 VPC 中尝试了完全相同的 .tf 脚本,它运行良好。 这是 VPC 本身的设置吗?这可能是什么设置?
关于 VPC 和子网,VPC/子网的先决条件属性/设置是什么
resource "aws_vpc_endpoint" "NewVPCEndpoint"
要成功吗?
【问题讨论】:
标签: amazon-web-services terraform amazon-vpc