-
Notifications
You must be signed in to change notification settings - Fork 0
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
[CES-607] Add pm2 support to AppService modules #188
base: main
Are you sure you want to change the base?
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, maybe we can add a validation limiting the property pm2_startup_file_name
with node
stack
Why not allow users to define any startup command instead of binding it specifically to PM2? |
To keep things simple. I don't know if we ever need to add custom commands. What are your thoughts? |
Why do you want to constraint users to a peculiar usage of pm2 ? One user may have a pm2.json configuration in its own codebase for example |
What's your proposal then? Wrapping the TF property? Because I liked the idea where devs don't need to know anything about it, but just saying "here's the file". However, I could be wrong and going against devs preferences |
I vote to just forward the TF |
I understand your point, but the use of PM2 is not a suggestion it's recommended by Microsoft. You what to shift the responsibility to the team to use it or the capability to configure it, but they don't use it. A good module handle the resources on the good way giving awareness to the team. |
@BurnedMarshal that's right, but in this case, if we want to make |
@BurnedMarshal Are we confident to enable PM2 everywhere? Consider that developers will find a drift in the terraform configuration and they will be more interested in fixing the breaking change rather than doing tests and fine tuning on the PM2 configuration |
List of changes
Override app startup command if PM2 entry point file is provided in AppService modules
Motivation and context
More teams are using PM2 to exploit full hardware capacity
Type of changes
Does this introduce a change to production resources with possible user impact?
Other information