Ask Your Question
2

Is it not possible to use Terraform or AZ CLI to generate a new webjob in a webapp that already exists?

asked 2023-05-21 21:50:35 +0000

djk gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2023-05-21 22:14:01 +0000

lakamha gravatar image

It is possible to use Terraform or AZ CLI to generate a new webjob in a webapp that already exists.

For Terraform, you can use the azurerm_app_service_web_app resource to manage web apps and the azurerm_app_service_web_app_source_control resource to manage web jobs. This allows you to specify the source control settings for your web job and manage it as part of your infrastructure-as-code pipeline.

For AZ CLI, you can use the az webapp deployment source config-zip command to upload the web job content and the az webapp webjob continuous list command to check the status of the web job. This allows you to automate the deployment and management of your web jobs from the command line.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-05-21 21:50:35 +0000

Seen: 9 times

Last updated: May 21 '23