Skip to content
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

Azure API Management sku update #5611

Closed
Lidestyle opened this issue Feb 4, 2020 · 2 comments
Closed

Azure API Management sku update #5611

Lidestyle opened this issue Feb 4, 2020 · 2 comments

Comments

@Lidestyle
Copy link

Lidestyle commented Feb 4, 2020

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform (and AzureRM Provider) Version

Terraform v0.12.20

  • provider.azurerm v1.42.0

Affected Resource(s)

  • azurerm_api_management

Terraform Configuration Files

// Create API Management instance
resource "azurerm_api_management" "apim" {
  name                = local.apim_defaults.name
  resource_group_name = var.resource_group.gateway
  location            = var.location
  publisher_name      = local.apim_defaults.apim_publisher_name
  publisher_email     = local.apim_defaults.apim_publisher_email
  sku_name            = local.apim_defaults.default_sku // "Development_1" -> "Basic_1" as an example

  policy {
    xml_content = templatefile("${path.module}/apim/global.xml.tmpl",
      {
        allowed_origins = var.admin_domains
      }
    )
  }

  tags = {
    environment = var.environment_prefix
  }

}

Expected Behavior

Terraform should update API Management instance to the basic tier.

Actual Behavior

Terraform operation succeeded, but API Management is not updated.

Steps to Reproduce

  1. Update sku_name ("Development_1" -> "Basic_1" as an example)
  2. Terraform apply
  3. Check API Management SKU on Azure Portal
@tombuildsstuff tombuildsstuff changed the title Azure API Management Azure API Management sku update Feb 4, 2020
@tombuildsstuff
Copy link
Contributor

hey @Lidestyle

Thanks for opening this issue.

Whilst both you and @loopfish have opened the same issue - since that issue contains a little more information, so that we can keep this tracked in a single place I hope you don't mind but I'm going to close this issue in favour of #5612 which is tracking the same thing - would you mind subscribing to that issue for updates?

Thanks!

@ghost
Copy link

ghost commented Mar 28, 2020

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!

@ghost ghost locked and limited conversation to collaborators Mar 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants