-
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
azurerm_[linux|windows]_web_app
and azurerm_[linux|windows]_web_app_slot
- add support for zip deployment
#16779
Conversation
a9ee5dc
to
32f2f75
Compare
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 🦀
Hi, I know that this is now merged and accepted, but would it not have been preferred to model this as a separate resource? In many use cases, one would probably want to perform some kind of configuration transformation on appsettings.json or web.config prior to deploying it, and this transformation is likely partly based on output from Terraform. Wouldn't it have been better to have modeled this similarly to eg. the resource "azurerm_app_service_active_slot" "app_service_api_active_slot" {
count = var.app_service_slot_swap ? 1 : 0
resource_group_name = azurerm_app_service_slot.app_service_api_staging_slot.resource_group_name
app_service_name = azurerm_app_service_slot.app_service_api_staging_slot.app_service_name
app_service_slot_name = azurerm_app_service_slot.app_service_api_staging_slot.name
} |
This functionality has been released in v3.8.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
This PR adds support for deploying local zip packaged apps as described in the Azure docs here.
azurerm_linux_web_app
- Add support forzip_deploy_file
propertyazurerm_linux_web_app_slot
- Add support forzip_deploy_file
propertyazurerm_windows_web_app
- Add support forzip_deploy_file
propertyazurerm_windows_web_app_slot
- Add support forzip_deploy_file
property