hashicorp / terraform-provider-azurerm

Terraform provider for Azure Resource Manager
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs
Mozilla Public License 2.0
4.58k stars 4.62k forks source link

azurerm_app_service scm_type does not accept VSTSRM as an option #1888

Closed DinoSourcesRex closed 6 years ago

DinoSourcesRex commented 6 years ago

Community Note

Description

Hello,

I am deploying to my terraform infrastructure using VSTS.

However, based on the documentation (and trying myself), Terraform does not accept VSTSRM as a valid option for the scm_type.

It would be great if it did.

New or Affected Resource(s)

azurerm_app_service

Potential Terraform Configuration


resource "azurerm_resource_group" "environment" {
  name     = "env-rg"
  location = "westindia"
}

resource "azurerm_app_service_plan" "sp01" {
  name                = "sp01"
  location            = "${azurerm_resource_group.environment.location}"
  resource_group_name = "${azurerm_resource_group.environment.name}"

  sku {
    tier = "Standard"
    size = "S1"
  }
}

resource "azurerm_app_service" "appservice" {
  name                = "as"
  location            = "${azurerm_resource_group.environment.location}"
  resource_group_name = "${azurerm_resource_group.environment.name}"
  app_service_plan_id = "${azurerm_app_service_plan.sp01.id}"

  site_config {
    always_on = true
    scm_type  = "VSTSRM"
  }
}

References

tombuildsstuff commented 6 years ago

hey @DinoSourcesRex

Thanks for opening this issue :)

Support for this has previously been requested in #1104 - which I'm going to close this issue in favour of, please subscribe to that issue for updates.

Thanks!

ghost commented 5 years ago

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!