You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
╷
│ Error: ID contained more segments than required: "/subscriptions/ec814e56-5241-4d0b-9cd2-02d608c99732/resourceGroups/shubharajan/providers/Microsoft.Web/sites/shubharajan-champion-perch/slots/canary", map[slots:canary]
│
│ with module.app.azurerm_app_service_active_slot.active_slot,
│ on ../../azure/modules/app/main.tf line 177, in resource "azurerm_app_service_active_slot" "active_slot":
│ 177: resource "azurerm_app_service_active_slot" "active_slot" {
│
╵
Taking a look through here this is a case of missing documentation, as such I've marked this as a documentation issue - but in this case you can specify the App Service ID rather than the specific Slot as the Resource ID here, as it's the App Service which is being managed (and updated).
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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Community Note
Terraform (and AzureRM Provider) Version
Affected Resource(s)
azurerm_app_service_active_slot
Terraform Configuration Files
Expected Behaviour
Terraform should have swapped the active slot.
Actual Behaviour
Steps to Reproduce
terraform apply
Important Factoids
References
azurerm_app_service_slot_config_names
#12809 will probably fix this? Edit: it looks like it's already been fixed in the source code, but there hasn't been a patch releasedThe text was updated successfully, but these errors were encountered: