-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Support app_command_line in App Service site_config #2350
Support app_command_line in App Service site_config #2350
Conversation
Hmm. I've noticed that the test I added in This doesn't seem to be unique to my test ( I've got to run right now but I'll look into this a bit more later on. |
Oh, oops! I've realised that the reason the tests weren't running was because these aren't unit tests, they're acceptance tests. Ignore my previous comment 😄 |
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.
hey @nickstenning
Thanks for this PR :)
I've taken a look through and left a couple of comments inline - if we can add the test/documentation for App Service Slot this otherwise LGTM 👍
Thanks!
App Service supports setting a command line to use with Linux applications (e.g. to override the default in the container image). Expose this configuration as `app_command_line` in `site_config` for `azurerm_app_service`. N.B. This is also referred to as "startup file" by some sources, including the `az` Azure CLI and the Azure Portal. References: - https://docs.microsoft.com/en-us/rest/api/appservice/webapps/createorupdate#siteconfig - https://docs.microsoft.com/en-us/cli/azure/webapp?view=azure-cli-latest#az-webapp-create
144b251
to
ca9d001
Compare
Thanks for the speedy review. Updated with the changes you requested. |
Looks like Travis just stalled and needs a kick. |
Hi @nickstenning and @tombuildsstuff, There currently is a PR open to a ton of the site config options to app service (#2138). It is ready to go outside of tests, however it doesn't seem like it includes |
Thanks, @katbyte 👍. It looks like function apps also accept the If this merges first, the author of that PR may want update it to include the |
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 - thanks for pushing those changes @nickstenning 👍
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks! |
I took a look at fixing #2349 myself and this is my first draft! Happy to change things if I've misunderstood anything :)
--
App Service supports setting a command line to use with Linux applications (e.g. to override the default in the container image). Expose this configuration as
app_command_line
insite_config
forazurerm_app_service
.N.B. This is also referred to as "startup file" by some sources, including the
az
Azure CLI and the Azure Portal.References:
--
Closes #2349.