我正在运行一个terraform .tf脚本来创建aws_vpc_endpointresource "aws_vpc_endpoint" "NewVPCEndpoint" {..}Error creating VPC Endpoint: UnauthorizedOperation: This operation does not support shared VPCs.我在不同的VPC中尝试了相同的.tf脚本,它运行得很好。这是<
我将vpc关联到我的lambda,如下所示: self.vpc = _ec2.Vpc.from_vpc_attributes(self, 'vpc', vpc_id=self.vpc_id,self.private_subnet_3]) 现在,当我尝试将此vpc与我的lambda关联时,它显示了一个警告: No routeTableId was provided to the subnet at
下面是我的模板,包括vpc、子网、安全组、启动配置和自动标度。我能够创建lauch配置和自动标度组,但我的自动标度组不启动实例。我正面临着VPC security groups may not be used for a non-VPC launch 错误.{ "Type": "AWS: : EC2: : VPC",
"Properties": {
在亚马逊网络服务中使用Terraform (TF),我在尝试使用terraform_remote_state调用vpc_id时遇到错误。我们分割出网络的不同部分,以减轻状态滑移。但是,它还需要与基础设施的每个单独部分的状态文件进行交互(即。vpc、sgs、角色等的状态文件)。当我试图从保存在S3存储桶中的statefile中获取vpc_id时,我得到了以下错误:
on main.tf line 78, in module "vpc