X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/28ffc3ab52c5ae7adacf5c7906082d7aa0b6dc54..46ea1156952f4ecd9ef939c406af08b3cfe66795:/lib/cloud/ec2/ec2.go diff --git a/lib/cloud/ec2/ec2.go b/lib/cloud/ec2/ec2.go index 2cbe4cf290..52b73f781c 100644 --- a/lib/cloud/ec2/ec2.go +++ b/lib/cloud/ec2/ec2.go @@ -47,7 +47,7 @@ type ec2InstanceSetConfig struct { SubnetID string AdminUsername string EBSVolumeType string - IamInstanceProfile string + IAMInstanceProfile string } type ec2Interface interface { @@ -231,9 +231,9 @@ func (instanceSet *ec2InstanceSet) Create( }} } - if instanceSet.ec2config.IamInstanceProfile != "" { + if instanceSet.ec2config.IAMInstanceProfile != "" { rii.IamInstanceProfile = &ec2.IamInstanceProfileSpecification{ - Name: aws.String(instanceSet.ec2config.IamInstanceProfile), + Name: aws.String(instanceSet.ec2config.IAMInstanceProfile), } }