Configurable task execution role

Configurable task execution role
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_execution_IAM_role.html
This commit is contained in:
Johannes Würbach
2018-04-21 00:40:32 +02:00
committed by Robbie Zhang
parent bb5dbdbd6e
commit 0a1acbc78e
5 changed files with 15 additions and 0 deletions

View File

@@ -31,6 +31,7 @@ type FargateProvider struct {
clusterName string
capacity capacity
assignPublicIPv4Address bool
executionRoleArn string
platformVersion string
lastTransitionTime time.Time
}
@@ -84,6 +85,7 @@ func NewFargateProvider(
Subnets: p.subnets,
SecurityGroups: p.securityGroups,
AssignPublicIPv4Address: p.assignPublicIPv4Address,
ExecutionRoleArn: p.executionRoleArn,
PlatformVersion: p.platformVersion,
}