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 unable to create gen2 pricing tier #11610

Closed
jsarje opened this issue May 7, 2021 · 1 comment · Fixed by #11676
Closed

azurerm_maps_account unable to create gen2 pricing tier #11610

jsarje opened this issue May 7, 2021 · 1 comment · Fixed by #11676

Comments

@jsarje
Copy link

jsarje commented May 7, 2021

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 core 0.13.6
Azurerm 2.58.0

Affected Resource(s)

  • azurerm_maps_account

Terraform Configuration Files

resource "azurerm_resource_group" "rg_map" {
  name     = "rgp-map"
  location = var.location
}

resource "azurerm_maps_account" "map" {
  name                = "map-test"
  resource_group_name = azurerm_resource_group.rg_map.name
  sku_name            = "G2"
}

Expected Behaviour

Gen2 maps account created

Actual Behaviour

Error: expected sku_name to be one of [S0 S1], got G2

Steps to Reproduce

  1. terraform plan
katbyte pushed a commit that referenced this issue May 13, 2021
Fixes #11610

```
$ TF_ACC=1 go test -v ./azurerm/internal/services/maps -timeout=1000m
2021/05/12 12:36:22 [DEBUG] not using binary driver name, it's no longer needed
2021/05/12 12:36:22 [DEBUG] not using binary driver name, it's no longer needed
=== RUN   TestAccMapsAccountDataSource_basic
=== PAUSE TestAccMapsAccountDataSource_basic
=== RUN   TestAccMapsAccount_basic
=== PAUSE TestAccMapsAccount_basic
=== RUN   TestAccMapsAccount_sku
=== PAUSE TestAccMapsAccount_sku
=== RUN   TestAccMapsAccount_skuG2
=== PAUSE TestAccMapsAccount_skuG2
=== RUN   TestAccMapsAccount_tags
=== PAUSE TestAccMapsAccount_tags
=== CONT  TestAccMapsAccountDataSource_basic
=== CONT  TestAccMapsAccount_skuG2
=== CONT  TestAccMapsAccount_tags
=== CONT  TestAccMapsAccount_sku
=== CONT  TestAccMapsAccount_basic
--- PASS: TestAccMapsAccountDataSource_basic (103.35s)
--- PASS: TestAccMapsAccount_basic (106.81s)
--- PASS: TestAccMapsAccount_sku (108.20s)
--- PASS: TestAccMapsAccount_skuG2 (109.10s)
--- PASS: TestAccMapsAccount_tags (157.25s)
PASS
ok  	github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/services/maps	158.883s
```
favoretti added a commit to gro1m/terraform-provider-azurerm that referenced this issue May 26, 2021
Fixes hashicorp#11610

```
$ TF_ACC=1 go test -v ./azurerm/internal/services/maps -timeout=1000m
2021/05/12 12:36:22 [DEBUG] not using binary driver name, it's no longer needed
2021/05/12 12:36:22 [DEBUG] not using binary driver name, it's no longer needed
=== RUN   TestAccMapsAccountDataSource_basic
=== PAUSE TestAccMapsAccountDataSource_basic
=== RUN   TestAccMapsAccount_basic
=== PAUSE TestAccMapsAccount_basic
=== RUN   TestAccMapsAccount_sku
=== PAUSE TestAccMapsAccount_sku
=== RUN   TestAccMapsAccount_skuG2
=== PAUSE TestAccMapsAccount_skuG2
=== RUN   TestAccMapsAccount_tags
=== PAUSE TestAccMapsAccount_tags
=== CONT  TestAccMapsAccountDataSource_basic
=== CONT  TestAccMapsAccount_skuG2
=== CONT  TestAccMapsAccount_tags
=== CONT  TestAccMapsAccount_sku
=== CONT  TestAccMapsAccount_basic
--- PASS: TestAccMapsAccountDataSource_basic (103.35s)
--- PASS: TestAccMapsAccount_basic (106.81s)
--- PASS: TestAccMapsAccount_sku (108.20s)
--- PASS: TestAccMapsAccount_skuG2 (109.10s)
--- PASS: TestAccMapsAccount_tags (157.25s)
PASS
ok  	github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/services/maps	158.883s
```
@github-actions
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants