Describe the bug
When using the docker autoscaler a script /opt/monitor_runner.sh is deployed which uses aws ec2 describe-tags to list the tags on the auto scaling group. The policy which is attached to the instance running the script lacks the required permission.
The legacy docker machine policy had ec2:Describe* so I think this might be a miss when adding the new auto scaler.
To Reproduce
Steps to reproduce the behavior:
- Deploy
examples/runner-fleeting-plugin
- Check the logs on the master instance to see the AWS 403 because the runner lacks
ec2:DescribeTags whenever monitor_runner.sh is executed.
Expected behavior
The provided monitor_runner.sh script should execute in the default configuration without errors.
Describe the bug
When using the docker autoscaler a script
/opt/monitor_runner.shis deployed which usesaws ec2 describe-tagsto list the tags on the auto scaling group. The policy which is attached to the instance running the script lacks the required permission.The legacy docker machine policy had
ec2:Describe*so I think this might be a miss when adding the new auto scaler.To Reproduce
Steps to reproduce the behavior:
examples/runner-fleeting-pluginec2:DescribeTagswhenevermonitor_runner.shis executed.Expected behavior
The provided
monitor_runner.shscript should execute in the default configuration without errors.