在使用CloudFormation與自動縮放組一起創建EC2實例,我面對的錯誤: The following resource(s) failed to create: [WebsInstanceServerGroup].
AWS Cloudformation不承認AutoScalingGroup
image of CloudFormation Group output
的失敗被認爲是在創建自動伸縮羣,但是當我檢查了自動縮放組控制檯,它說創建是'成功'的。 (正在進行中的刪除發生在CloudFormation 15分鐘超時值後)。
什麼能CloudFormation的原因不承認自動定標組創建成功?
該錯誤還提到WebInstanceServerGroup
,所以我檢查了我的模板,但沒有看到任何可疑的東西。
"WebsInstanceServerGroup": {
"Type": "AWS::AutoScaling::AutoScalingGroup",
"Properties": {
"AvailabilityZones": {
"Fn::GetAZs": "AWS::Region"
},
"VPCZoneIdentifier": {
"Ref": "WebsELBSubnetId"
},
"LoadBalancerNames": [
{
"Ref": "WebsELB"
}
],
"LaunchConfigurationName": {
"Ref": "WebsEC2Instance"
},
"Cooldown": 300,
"HealthCheckGracePeriod": 600,
"HealthCheckType": "EC2",
"Tags": [
{
"Key": "Name",
"Value": {
"Ref": "WebsInstanceName"
},
"PropagateAtLaunch": "true"
},
{
"Key": "Service",
"Value": {
"Ref": "ServiceTag"
},
"PropagateAtLaunch": "true"
}
],
"MinSize": {
"Ref": "ASGMin"
},
"DesiredCapacity": {
"Ref": "ASGDesired"
},
"MaxSize": {
"Ref": "ASGMax"
}
},
"CreationPolicy": {
"ResourceSignal": {
"Count": {
"Ref": "ASGMin"
},
"Timeout": "PT15M"
}
}
}
請讓我知道是否需要更多的信息,在此先感謝。