iriusrisk / GoCD-EC2-Elastic-Agent-Plugin

Plugin for GoCD server that will spin up and shut down EC2 instances as its agent workers on demand
Apache License 2.0
12 stars 12 forks source link

Add support for IAM Instance profiles #10

Closed brettcave closed 4 years ago

brettcave commented 4 years ago

Deployment of EC2 instances as Go Agents currently does not support IAM Instance Profiles. Any tasks a Go Agent runs that uses an instance profile for authentication to the AWS API will not work.

Provide a way to specify an instance profile in an elastic agent profile so that ec2 instances are provisioned with an instance profile associated to them.

v-sky commented 4 years ago

Hello @brettcave! This feature seems very handy, thank you. I will review and test it and include to the next version as soon as I can.

v-sky commented 4 years ago

Feature reviewed and tested on GoCD server 20.4. Will be included into the next release.