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 Maps 'skuName' property has incorrect options #396

Closed
xtellurian opened this issue Oct 24, 2019 · 2 comments
Closed

Azure Maps 'skuName' property has incorrect options #396

xtellurian opened this issue Oct 24, 2019 · 2 comments
Assignees
Labels
kind/bug Some behavior is incorrect or out of spec
Milestone

Comments

@xtellurian
Copy link

I'm using Pulumi TypeScript, v1.3.4

Resource: Azure Maps Account azure.maps.Account

There is a mismatch between the skuName returned by Azure and the skuName allowed by Pulumi - this is causing unnecessary updates to be performed.

Steps to Reproduce:

Create a new azure maps resource:

const maps = new azure.maps.Account("maps", {
            resourceGroupName: rg.name,
            skuName: "s0",
        });

Run pulumi up - this should work, and the maps account should now exist.

Run pulumi up again, and the maps account will be updated:

azure:maps:Account        maps               replace     [diff: ~skuName]

Drilling into the diff:

~ skuName: "S0" => "s0"

Attempting to fix the skuName results in the following error:

azure:maps/account:Account resource 'maps' has a problem: expected sku_name to be one of [s0 s1], got S0
@xtellurian
Copy link
Author

This might be an issue with the Terraform provider

https://www.terraform.io/docs/providers/azurerm/r/maps_account.html#sku_name

@mikhailshilkov
Copy link
Member

mikhailshilkov commented Oct 24, 2019

Let's track it upstream: hashicorp/terraform-provider-azurerm#4706

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Some behavior is incorrect or out of spec
Projects
None yet
Development

No branches or pull requests

3 participants