Skip to content
Snippets Groups Projects
Commit 3e3ed933 authored by MIchael Nguyen's avatar MIchael Nguyen
Browse files

added role arn

parent df701603
Branches
Tags
1 merge request!6Trusted ibm
......@@ -359,18 +359,18 @@ Resources:
Volumes:
- Name: docker-volume
SchedulingRule:
Type: AWS::Events::Rule
Properties:
ScheduleExpression: rate(5 minutes)
State: ENABLED
Targets:
- Arn: !GetAtt ApplicationECSCluster.Arn
Id: !Sub ${Environment}-${QueueApplicationName}-target
EcsParameters:
TaskCount: 1
TaskDefinitionArn: !Ref 'QueueTaskDefinition'
RoleArn: !GetAtt EC2Role.Arn
# SchedulingRule:
# Type: AWS::Events::Rule
# Properties:
# ScheduleExpression: rate(5 minutes)
# State: ENABLED
# Targets:
# - Arn: !GetAtt ApplicationECSCluster.Arn
# Id: !Sub ${Environment}-${QueueApplicationName}-target
# EcsParameters:
# TaskCount: 1
# TaskDefinitionArn: !Ref 'QueueTaskDefinition'
# RoleArn: !GetAtt EC2Role.Arn
ECSALB:
Type: AWS::ElasticLoadBalancingV2::LoadBalancer
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment