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

Add ECS Cluster Region option #2855

Closed
galindro opened this issue Sep 18, 2017 · 1 comment
Closed

Add ECS Cluster Region option #2855

galindro opened this issue Sep 18, 2017 · 1 comment

Comments

@galindro
Copy link

I need to run an ECS instance in a different region from the ECS cluster. So, scope needs to talk with the correct cluster region to get cluster tasks. But, as we could see here, the method newClient takes the region from the instance metadata.

It would be nice to scope get this information from a command line argument. This way, we can make scope sufficiently flexible to be used in this use-case.

This PR covers the proposed behaviour. If the user don't inform the ECS Cluster region, it get's from instance metadata by default. I've successfully built and test it over my environment.

@galindro
Copy link
Author

merged

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

No branches or pull requests

1 participant