Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to specify an AWS IAM role when using awsfab ec2_launch_instance? #10

Open
phildave opened this issue May 31, 2013 · 6 comments

Comments

@phildave
Copy link

I'm loving this python library, but there is one issue... Is it possible to specify an IAM role when launching an EC2 instance? Is there a way to specify this in the EC2_LAUNCH_CONFIGS?

@espenak
Copy link
Owner

espenak commented May 31, 2013

This is not possible at this time, but it is a great idea. Would love this feature myself, but I do not have the time to implement it right now. This should only require a fairly straight forward patch of awsfabrictasks.api.Ec2LaunchInstance (https://github.com/espenak/awsfabrictasks/blob/master/awsfabrictasks/ec2/api.py#L438-L697), so feel free to submit a patch if you have the time. If you do, I will try to help you as much as possible (answer questions, discuss possible solutions etc.).

@phildave
Copy link
Author

phildave commented Jun 3, 2013

Thanks for the quick response. I would love to be able to patch awsfabrictasks, but currently i'm just starting out in the world of Python and i don't feel competent / confident enough to even attempt it yet. I will have to work around this for now and hope that i can add this feature or someone else does in future.

@phildave phildave closed this as completed Jun 3, 2013
@espenak
Copy link
Owner

espenak commented Jun 3, 2013

Very understandable. I reopened this issue, because I think we should implement it.

@espenak espenak reopened this Jun 3, 2013
@phildave
Copy link
Author

Has anyone made any progress on adding functionality to allow IAM role to be specified when using ec2_launch_instance?

@steffenbeach
Copy link

This would be really nice to have. Any idea when it will be available?

@espenak
Copy link
Owner

espenak commented Dec 6, 2013

I do not have the time to implement it at this time, but if someone else has the time to implement this, I will review the patch and release a new version (assuming the patch is usable and somewhat cleanly implemented).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants