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

azurerm_maps_account wants to replace because of casing in SKU #4706

Closed
mikhailshilkov opened this issue Oct 24, 2019 · 2 comments · Fixed by #4714
Closed

azurerm_maps_account wants to replace because of casing in SKU #4706

mikhailshilkov opened this issue Oct 24, 2019 · 2 comments · Fixed by #4714
Labels
service/maps upstream/microsoft Indicates that there's an upstream issue blocking this issue/PR
Milestone

Comments

@mikhailshilkov
Copy link
Contributor

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.8
provider.azurerm v1.35.0

Affected Resource(s)

  • azurerm_maps_account

Terraform Configuration Files

provider "azurerm" {
}

resource "azurerm_resource_group" "test" {
  name     = "resourceGroup1"
  location = "westeurope"
}

resource "azurerm_maps_account" "test" {
  name                = "example-maps-account"
  resource_group_name = "${azurerm_resource_group.test.name}"
  sku_name            = "s1"

  tags = {
    environment = "Test"
  }
}

Expected Behavior

Subsequent runs of terraform apply should suggest no changes.

Actual Behavior

Subsequent runs of terraform apply suggest replacing the map account:

  # azurerm_maps_account.test must be replaced
-/+ resource "azurerm_maps_account" "test" {
...
~ sku_name             = "S1" -> "s1" # forces replacement 

Changing the value to S1 causes

Error: expected sku_name to be one of [s0 s1], got S1

Steps to Reproduce

  1. terraform apply
  2. terraform apply again
@ghost
Copy link

ghost commented Oct 29, 2019

This has been released in version 1.36.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example:

provider "azurerm" {
    version = "~> 1.36.0"
}
# ... other configuration ...

@ghost
Copy link

ghost commented Nov 24, 2019

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 Nov 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
service/maps upstream/microsoft Indicates that there's an upstream issue blocking this issue/PR
Projects
None yet
2 participants