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

Document how best to deploy to multiple EB applications and/or AWS accounts #19

Open
msgilligan opened this issue Aug 24, 2018 · 3 comments

Comments

@msgilligan
Copy link

It seems the plugin is designed to publish to multiple EB environments within a single EB application in a single AWS account. It's not obvious from looking at the sample beanstalk DSL block on the README how to handle multiple applications or accounts.

I assume it would be possible by using Groovy variables in the build file, but it would be better if there was a standard/documented way to do it with the DSL and standard beanstalk Gradle tasks.

@msgilligan msgilligan changed the title Document how best to deploy to multiple AWS accounts Document how best to deploy to multiple EB applications and/or AWS accounts Aug 24, 2018
@komu
Copy link
Member

komu commented Aug 27, 2018

Right, it should be possible to create a new instance of the task and pass custom properties for that.

Unfortunately I've never tested that and I don't even have an active beanstalk environment right now since I've been working on other things for couple of years. So I'd gladly merge a PR for documenting this, but I'm afraid I won't do it myself for the foreseeable future.

@msgilligan
Copy link
Author

Thanks. I'll give it a try and also try to report back...

@rich5851
Copy link

I can confirm that this works.

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