Amazon cloudformation vpc none不存在。-自动气象站云层
当我尝试在新区域启动AWS cloudformation堆栈时。我在创建RDS服务时收到错误“vpc none不存在”。有人能帮我解决这个问题吗Amazon cloudformation vpc none不存在。-自动气象站云层,amazon-cloudformation,rds,Amazon Cloudformation,Rds,当我尝试在新区域启动AWS cloudformation堆栈时。我在创建RDS服务时收到错误“vpc none不存在”。有人能帮我解决这个问题吗 "dbsgdefault": { "Type": "AWS::RDS::DBSecurityGroup", "Properties": { "GroupDescription": "default" } }, 建议在VPC中创建DBSecurityGroup时需要EC2VpcId。它还建议需要dbsecurit
"dbsgdefault": {
"Type": "AWS::RDS::DBSecurityGroup",
"Properties": {
"GroupDescription": "default"
}
},
建议在VPC中创建DBSecurityGroup时需要EC2VpcId
。它还建议需要dbsecuritygroupingres
。下面是使用两个必填字段的示例组:
"DBSecurityGroup": {
"Type": "AWS::RDS::DBSecurityGroup",
"Properties": {
"EC2VpcId" : { "Ref" : "VpcId" },
"DBSecurityGroupIngress": [
{"EC2SecurityGroupName": { "Ref": "WebServerSecurityGroup"}}
],
"GroupDescription": "Frontend Access"
}
}
如果您在专有网络之外工作,那么您可能不需要EC2VpcId
,但您肯定需要dbsecuritygroupingres
规则
但是,它也指出DBSecurityGroup不是向DB实例添加安全性的推荐方法,而是使用vpcsecuritygroup
专有网络的Id。指示此DB安全组应使用的VPC
属于
重要信息EC2VpcId属性仅存在于向后
与旧区域兼容,不再推荐用于
向RDS DB实例提供安全信息。相反,使用
VPC安全组。类型:字符串
必需:有条件。必须指定才能创建DB安全组
对于专有网络;不得另行规定
建议在VPC中创建DBSecurityGroup时需要EC2VpcId
。它还建议需要dbsecuritygroupingres
。下面是使用两个必填字段的示例组:
"DBSecurityGroup": {
"Type": "AWS::RDS::DBSecurityGroup",
"Properties": {
"EC2VpcId" : { "Ref" : "VpcId" },
"DBSecurityGroupIngress": [
{"EC2SecurityGroupName": { "Ref": "WebServerSecurityGroup"}}
],
"GroupDescription": "Frontend Access"
}
}
如果您在专有网络之外工作,那么您可能不需要EC2VpcId
,但您肯定需要dbsecuritygroupingres
规则
但是,它也指出DBSecurityGroup不是向DB实例添加安全性的推荐方法,而是使用vpcsecuritygroup
专有网络的Id。指示此DB安全组应使用的VPC
属于
重要信息EC2VpcId属性仅存在于向后
与旧区域兼容,不再推荐用于
向RDS DB实例提供安全信息。相反,使用
VPC安全组。类型:字符串
必需:有条件。必须指定才能创建DB安全组
对于专有网络;不得另行规定
请提供stacktrace输出或一些显示问题描述的简单信息。具体说明stacktrace并发布可疑行。07:52:57 UTC+0550创建失败的AWS::RDS::DBSecurityGroup dbsgdefault vpc none不存在。客户机请求令牌:Console-CreateStack-491b4476-2d48-4af7-9d38-08EB4CE5A80C请提供stacktrace输出或显示问题描述的类似内容。请在stacktrace上详细说明并张贴可疑行。07:52:57 UTC+0550创建失败的AWS::RDS::DBSecurityGroup dbsgdefault vpc none不存在。客户端请求令牌:Console-CreateStack-491b4476-2d48-4af7-9d38-08eb4ce5a80c