aws-extensions-for-dotnet-cli icon indicating copy to clipboard operation
aws-extensions-for-dotnet-cli copied to clipboard

Fixed an ElasticBeanstalk deployment issue for Linux platform where Procfile was sometimes being generated with incorrect entrypoint when multiple runtimeconfig.json files were present.

Open ashishdhingra opened this issue 1 year ago • 1 comments

Issue #, if available: #285

Description of changes: Fixed an ElasticBeanstalk deployment issue for Linux platform where Procfile was sometimes being generated with incorrect entrypoint when multiple runtimeconfig.json files were present.

NOTE: Refer Using a Procfile to configure your .NET Core on Linux Elastic Beanstalk environment where it shows below example to configure 2 web applications.

web: dotnet ./dotnet-core-app1/dotnetcoreapp1.dll
web2: dotnet ./dotnet-core-app2/dotnetcoreapp2.dll

The PR supports one web application as of now to conform to existing logic. CC @normj


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

ashishdhingra avatar Nov 08 '24 20:11 ashishdhingra

Based on discussion with @normj this is also an issue with AWS .NET Deploy tool. So once we determine optimal fix, we should also port this to deploy tool as part of separate backlog item and PR.

ashishdhingra avatar Nov 20 '24 20:11 ashishdhingra

Closing this PR in favor of https://github.com/aws/aws-extensions-for-dotnet-cli/pull/363 which was approved and merged.

ashishdhingra avatar Jul 29 '25 16:07 ashishdhingra