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:
committed by
Robbie Zhang
parent
bb5dbdbd6e
commit
0a1acbc78e
@@ -41,6 +41,7 @@ type providerConfig struct {
|
||||
Subnets []string
|
||||
SecurityGroups []string
|
||||
AssignPublicIPv4Address bool
|
||||
ExecutionRoleArn string
|
||||
PlatformVersion string
|
||||
OperatingSystem string
|
||||
CPU string
|
||||
@@ -131,6 +132,7 @@ func (p *FargateProvider) loadConfig(r io.Reader) error {
|
||||
|
||||
p.clusterName = config.ClusterName
|
||||
p.assignPublicIPv4Address = config.AssignPublicIPv4Address
|
||||
p.executionRoleArn = config.ExecutionRoleArn
|
||||
p.platformVersion = config.PlatformVersion
|
||||
p.operatingSystem = config.OperatingSystem
|
||||
p.capacity.cpu = config.CPU
|
||||
|
||||
Reference in New Issue
Block a user