Closed rahoulb closed 2 years ago
I'm reworking Whenever::Elasticbeanstalk at the moment.
https://github.com/jufemaiz/whenever-elasticbeanstalk/tree/feature/aws-2.3
I believe this should resolve your issue (which is only removing the last character, but I've shifted it to a regular expression match instead).
Can you ping me if this assists?
I also faced couple of issues, when using this gem with lastest aws-sdk ~> 2, it breaks this gem and I have fixed the issue after forking it. I can raise a PR and also explain in which scenarios it will break.
I'm assuming this project is dead as there are a few similar issues around at the moment ... mine is slightly different to the rest ...
Looking at the source, the script tries to figure out which region it is in by grabbing the availability zone and then subtracting the last two letters from it. That's great for 'us-east-1' but no use at all for 'eu-central-1a'.
I need to get this app up and running today, but if I get time I'll do a fork and see if I can fix this properly - however, I've got a client yelling at me so don't expect it soon.