Fixes circular dependency check and alarm action
This template is not compatible with the new circular dependency check introduced in Juno. Also the alarm action needs the alarm url. Change-Id: I6fc98b3609aead581d99ab4d39dd91f39990c0a5 Closes-Bug: 1401062
This commit is contained in:
parent
2b33ca539f
commit
ff53051e5a
|
@ -73,7 +73,7 @@ Resources:
|
|||
EvaluationPeriods: '1'
|
||||
Threshold: '2'
|
||||
AlarmActions:
|
||||
- {Ref: WebServerRestartPolicy}
|
||||
- Fn::GetAtt: [WebServerRestartPolicy, AlarmUrl]
|
||||
ComparisonOperator: GreaterThanThreshold
|
||||
WikiDatabase:
|
||||
Type: AWS::EC2::Instance
|
||||
|
@ -133,9 +133,7 @@ Resources:
|
|||
- - '#!/bin/sh
|
||||
|
||||
'
|
||||
- '/opt/aws/bin/cfn-push-stats --watch '
|
||||
- {Ref: HttpFailureAlarm}
|
||||
- ' --service-failure
|
||||
- '/opt/aws/bin/cfn-push-stats --service-failure
|
||||
|
||||
'
|
||||
mode: '000700'
|
||||
|
|
Loading…
Reference in New Issue