aws.ec2 icon indicating copy to clipboard operation
aws.ec2 copied to clipboard

Specify role with run_instances()?

Open ignacio82 opened this issue 6 years ago • 0 comments

Is it possible to specify a role with run_instances()? If found this documentation for the CLI but I don't see a role_arn argument in the run_instances function. I tried the following:

vm <- aws.ec2::run_instances(image = "ami-c3a2e8a2",
                             type = "t3.medium",
                             sgroup = "sg-cd0b5faa",
                             query_extra = list(role_arn = 'arn:aws-us-gov:iam::570108756302:user/imartinez_s3'))

Error: UnknownParameter : 
 - The parameter role_arn is not recognized

Thanks for the help!

ignacio82 avatar Sep 18 '19 20:09 ignacio82