-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
Allow to specify AWS.Region endpoint to support Eucalyptus flavor of EC2 #416
Comments
Good feature request. Tagged. |
As far as I checked it could be done in super simple way, but a bit hacky (so allow to pass name as region name or endpoint) and I have verified it works with eucalyptus 3.4.3+ sample config:
and required changes:
|
+1 for this. |
+1 for this |
We've had recent users reporting success in using Terraform with Eucalyptus, so I'm going to mark this as closed. Feel free to lobby for reopening if there's still something we're missing in the latest version. |
care to share sample config? |
@elyast sure! Here's the issue where working config was being tossed around: #1752 (comment) |
@phinze looking at the config I am not sure how do u specify region url, additionally looking at: https://github.com/hashicorp/terraform/blob/master/builtin/providers/aws/config.go#L127 its hard to believe "eucalyptus" is proper region name... but if you want to track this feature in #1752 fine with me |
Hmm good point @elyast, I wonder if @jeevanullas was working with a custom local build. Your logic makes perfect sense - reopening to track here. Sorry for the mixup! |
Hi All, Thanks @phinze for the ping here. @elyast as terraform uses AWS SDK for Go we just modified the relevant endpoint maps in SDK for Go. This helps us because we also use AWS SDK for Go outside of Terraform. In case you are wondering this is how we did it: jeevanullas/aws-sdk-go@a35daa3 By the way this code in terraform here https://github.com/hashicorp/terraform/blob/master/builtin/providers/aws/config.go#L125-L138 can be removed because it is an extra check on the valid regions. Terraform is using AWS SDK for Go so it should rely IMHO on AWS SDK for Go to do the validation. Please let me know if you have any questions. Cheers, |
An advantage of |
Hey friends – I've merged #4263 which allows you to set a custom endpoint for ELB, EC2 and such, so I'm going to close this. Let us know if you need anything else. |
Hi, I tried running the asg aws example against a Euca 4.2.2 cloud but it bails out due to "eucalyptus" being an invalid region name. Can you patch the provided go sdk to allow for it as a region name? Thanks! |
+1, without ability to pass region validation it can't be used with eucalyptus clouds |
+1 without the possibility to define custom region, the custom endpoints not working. |
Any chance to remove check against hardcoded endpoint. I have been using terraform on ec2 but can't use it against internal Eucalyptus clouds . |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Feature request, allow to specify endpoint as following:
How to use goamz with euca: https://www.eucalyptus.com/blog/2014/04/24/using-golang-eucalyptus
The text was updated successfully, but these errors were encountered: