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_data_factory doesn't support SystemAssigned, UserAssigned for identity type (validation issue) #13471

Closed
jmcee1 opened this issue Sep 23, 2021 · 4 comments · Fixed by #13473

Comments

@jmcee1
Copy link

jmcee1 commented Sep 23, 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 v1.0.5

  • provider registry.terraform.io/hashicorp/azurerm v2.77.0

Affected Resource(s)

  • azurerm_data_factory

Terraform Configuration Files

resource "azurerm_data_factory" "this" {
  name                = var.name
  location            = var.location
  resource_group_name = var.target_resource_group_name

  identity {
    type         = "SystemAssigned, UserAssigned"
    identity_ids = [azurerm_user_assigned_identity.this.id]
  }
  customer_managed_key_id = var.encryption_key_id
}

Debug Output

Error: expected identity.0.type to be one of [SystemAssigned UserAssigned], got SystemAssigned, UserAssigned

Panic Output

Expected Behaviour

Validation should pass for value SystemAssigned, UserAsssigned

Actual Behaviour

Validation fails for SystemAssigned, UserAsssigned

Steps to Reproduce

  1. terraform apply

Important Factoids

From models.go since v54.0.0:

Type - The identity type. Possible values include: 'FactoryIdentityTypeSystemAssigned', 'FactoryIdentityTypeUserAssigned', 'FactoryIdentityTypeSystemAssignedUserAssigned'

Looks like value missed while migrating to v54.0.0

References

@aristosvo
Copy link
Collaborator

Let's give it a try to fix this 👍🏽

@aristosvo
Copy link
Collaborator

@jmcee1 I have never seen an issue resolve and being released as quickly as this one, enjoy! 😂🎉🎉

@github-actions
Copy link

This functionality has been released in v2.78.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

@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 Oct 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
5 participants