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:
Bruno Bompastor 2014-12-16 11:05:05 +01:00
parent 2b33ca539f
commit ff53051e5a
1 changed files with 2 additions and 4 deletions

View File

@ -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'