-
Notifications
You must be signed in to change notification settings - Fork 87
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
eb dry run command (or option) to create the zip file that has everything necessary to deploy to AWS but doesn't perform deployment #331
Comments
Appears to be useful feature request. Needs review with the team. |
It sounds like what you are asking for is a just do the package part of deployment like we do with Lambda with our Most of our feature work for Beanstalk deployment is happening in our newer aws/aws-dotnet-deploy tooling. Could open a story in that repository so we can discuss how we could integrate that capability into that tooling. |
If I use that instead how do I transform the --additional-options setting? Figuring that out is what took me the most time with dotnet eb deploy-environment! (there's virtually no documentation about it, had to step through the code...). FWIW my deployment script currently looks like
(btw if you don't specify environment-type: LoadBalanced it creates a single instance EB app by default, which is not what the documentation suggests) |
(Also the other problem I'm having with dotnet eb deploy-environment is that even when there are critical errors like 8/12/2024 3:28:59 AM ERROR Stack named 'awseb-e-rzavgfep3p-stack' aborted operation. Current state: 'CREATE_FAILED' Reason: The following resource(s) failed to create: [AWSEBV2LoadBalancerListener443]. It still seems to return exit code 0) |
@wizofaus Good afternoon. Based on last comment #331 (comment) from @normj, have you you tried using Thanks, |
This issue has not received a response in 5 days. If you want to keep this issue open, please just leave a comment below and auto-close will be canceled. |
Describe the feature
Currently there's a "dotnet eb publish" command that seems to just do the equivalent of "dotnet publish", but ignores any AWS/EB-specific configuration settings. I would like the ability to create a zip file that has everything necessary to publish to AWS, then ideally show the "dry-run" steps that could use that zip file to do the deploy.
Use Case
It's not always safe to automatically deploy everything to AWS, but we want our build pipeline to do everything up to the very last point, and then just do a dry-run of the deployment.
Proposed Solution
dotnet eb deploy-environment --dry-run
Other Information
No response
Acknowledgements
Targeted .NET platform
.NET 8
CLI extension version
4.4.0
Environment details (OS name and version, etc.)
Windows 11
The text was updated successfully, but these errors were encountered: