unique task def per job

pull/218/head
Frostebite 2021-02-07 14:19:27 +00:00
parent 3b4d5e0460
commit 5f44c5d906
1 changed files with 14 additions and 5 deletions

View File

@ -87,14 +87,23 @@ Resources:
- "KinesisStream" - "KinesisStream"
- "Arn" - "Arn"
CloudWatchIAMRole: CloudWatchIAMRole:
Type: 'AWS::IAM::Role' Type: AWS::IAM::Role
Properties: Properties:
AssumeRolePolicyDocument: AssumeRolePolicyDocument:
Version: "2012-10-17"
Statement: Statement:
- Effect: "Allow" - Effect: Allow
Action: "*" Principal:
Resource: "*" Service: [logs.*.amazonaws.com]
Action: ['sts:AssumeRole']
Path: /
Policies:
- PolicyName: service-autoscaling
PolicyDocument:
Statement:
- Effect: Allow
Action:
- 'kinesis:PutRecord'
Resource: '*'
KinesisStream: KinesisStream:
Type: AWS::Kinesis::Stream Type: AWS::Kinesis::Stream