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

owner / group of azurerm_storage_data_lake_gen2_filesystem can't be $superuser despite API supporting it #16138

Closed
flobeier opened this issue Mar 29, 2022 · 5 comments · Fixed by #16215

Comments

@flobeier
Copy link

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.1.3
  • azurerm 2.99.0

Affected Resource(s)

  • azurerm_storage_data_lake_gen2_filesystem
  • azurerm_storage_data_lake_gen2_path

Terraform Configuration Files

resource "azurerm_storage_data_lake_gen2_filesystem" "example" {
  name               = "example"
  storage_account_id = azurerm_storage_account.example.id
  
  owner = "$superuser"
  group = "$superuser"
}

Expected Behaviour

Terraform sees the code as valid and applies it because the API supports it (verified with az storage fs access set --group '$superuser' ...).

Actual Behaviour

Error: expected "owner" to be a valid UUID, got $superuser

Error: expected "group" to be a valid UUID, got $superuser

I'm not sure though if this behavior intentional, I'm just trying to replicate infrastructure set up by Bash scripts in Terraform code 1:1 without changing anything.

Steps to Reproduce

  1. terraform apply
@github-actions
Copy link

github-actions bot commented Apr 8, 2022

This functionality has been released in v3.1.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!

@flobeier
Copy link
Author

@catriona-m can you update the azurerm_storage_data_lake_gen2_path resource too?

@catriona-m
Copy link
Member

Sorry @flobeier - I missed that resource when I did this initially! azurerm_storage_data_lake_gen2_path is fixed here: #16370

Thanks!

@flobeier
Copy link
Author

@catriona-m thanks a lot! 👍

@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 May 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.