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

RBAC assignment on azurerm_storage_share #22324

Closed
1 task done
Noahnc opened this issue Jun 29, 2023 · 3 comments
Closed
1 task done

RBAC assignment on azurerm_storage_share #22324

Noahnc opened this issue Jun 29, 2023 · 3 comments

Comments

@Noahnc
Copy link

Noahnc commented Jun 29, 2023

Is there an existing issue for this?

  • I have searched the existing issues

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 Version

1.5.2

AzureRM Provider Version

3.62.0

Affected Resource(s)/Data Source(s)

azurerm_role_assignment

Terraform Configuration Files

resource "azurerm_role_assignment" "example" {
  scope                = <azurerm_storage_share_id>
  role_definition_name = "Contributor" # Problem exists with any role, 
  principal_id         = <principal_id>
}

Debug Output/Panic Output

azurerm_role_assignment.example: Creating...
2023-06-29T16:40:42.236+0200 [INFO]  Starting apply for azurerm_role_assignment.example
2023-06-29T16:40:42.237+0200 [DEBUG] azurerm_role_assignment.example: applying the planned Create change
2023-06-29T16:40:42.242+0200 [DEBUG] provider.terraform-provider-azurerm_v3.62.1_x5.exe: AzureRM Request:
GET //subscriptions/3483e42f-98fa-49e8-a527-a6abb8a7b2fe/resourceGroups/rg-standalone_appservices-inprod-switzerlandnorth/providers/Microsoft.Storage/storageAccounts/stcmisharappservinpro/fileServices/default/shares/hubspot-file-storage/providers/Microsoft.Authorization/roleDefinitions?%24filter=roleName+eq+%27Contributor%27&api-version=2018-01-01-preview HTTP/1.1
Host: management.azure.com
User-Agent: Go/go1.20.5 (amd64-windows) go-autorest/v14.2.1 Azure-SDK-For-Go/v66.0.0 authorization/2020-04-01-preview HashiCorp Terraform/1.5.2 (+https://www.terraform.io) Terraform Plugin SDK/2.10.1 terraform-provider-azurerm/3.62.1 pid-222c6c49-1b0a-5959-a213-6608f9eb8820
X-Ms-Correlation-Request-Id: ce7a8a77-c472-4b26-d8e1-be40f3c80704
Accept-Encoding: gzip: timestamp=2023-06-29T16:40:42.242+0200
2023-06-29T16:40:42.571+0200 [DEBUG] provider.terraform-provider-azurerm_v3.62.1_x5.exe: AzureRM Response for https://management.azure.com//subscriptions/3483e42f-98fa-49e8-a527-a6abb8a7b2fe/resourceGroups/rg-standalone_appservices-inprod-switzerlandnorth/providers/Microsoft.Storage/storageAccounts/stcmisharappservinpro/fileServices/default/shares/hubspot-file-storage/providers/Microsoft.Authorization/roleDefinitions?%24filter=roleName+eq+%27Contributor%27&api-version=2018-01-01-preview:
HTTP/2.0 200 OK
Cache-Control: no-cache
Content-Type: application/json; charset=utf-8
Date: Thu, 29 Jun 2023 14:40:42 GMT
Expires: -1
Pragma: no-cache
Set-Cookie: x-ms-gateway-slice=Production; path=/; secure; samesite=none; httponly
Strict-Transport-Security: max-age=31536000; includeSubDomains
Vary: Accept-Encoding
X-Content-Type-Options: nosniff
X-Ms-Correlation-Request-Id: ce7a8a77-c472-4b26-d8e1-be40f3c80704
X-Ms-Ratelimit-Remaining-Subscription-Reads: 11998
X-Ms-Request-Id: d906517c-4d61-4426-9890-bca7c1946742
X-Ms-Routing-Request-Id: SWITZERLANDNORTH:20230629T144042Z:270ea76b-91f4-46ef-af18-42e8eac38499

{"value":[{"properties":{"roleName":"Contributor","type":"BuiltInRole","description":"Grants full access to manage all resources, but does not allow you to assign roles in Azure RBAC, manage assignments in Azure Blueprints, or share image galleries.","assignableScopes":["/"],"permissions":[{"actions":["*"],"notActions":["Microsoft.Authorization/*/Delete","Microsoft.Authorization/*/Write","Microsoft.Authorization/elevateAccess/Action","Microsoft.Blueprint/blueprintAssignments/write","Microsoft.Blueprint/blueprintAssignments/delete","Microsoft.Compute/galleries/share/action"],"dataActions":[],"notDataActions":[]}],"createdOn":"2015-02-02T21:55:09.8806423Z","updatedOn":"2021-11-11T20:13:28.6061853Z","createdBy":null,"updatedBy":null},"id":"/subscriptions/3483e42f-98fa-49e8-a527-a6abb8a7b2fe/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c","type":"Microsoft.Authorization/roleDefinitions","name":"b24988ac-6180-42a0-ab88-20f7382dd24c"}]}: timestamp=2023-06-29T16:40:42.571+0200
2023-06-29T16:40:42.574+0200 [DEBUG] provider.terraform-provider-azurerm_v3.62.1_x5.exe: AzureRM Request: 
GET //subscriptions/3483e42f-98fa-49e8-a527-a6abb8a7b2fe/resourceGroups/rg-standalone_appservices-inprod-switzerlandnorth/providers/Microsoft.Storage/storageAccounts/stcmisharappservinpro/fileServices/default/shares/hubspot-file-storage/providers/Microsoft.Authorization/roleAssignments/35f4463b-3e19-82f0-6b24-1c13b130a4a9?api-version=2020-04-01-preview HTTP/1.1
Host: management.azure.com
User-Agent: Go/go1.20.5 (amd64-windows) go-autorest/v14.2.1 Azure-SDK-For-Go/v66.0.0 authorization/2020-04-01-preview HashiCorp Terraform/1.5.2 (+https://www.terraform.io) Terraform Plugin SDK/2.10.1 terraform-provider-azurerm/3.62.1 pid-222c6c49-1b0a-5959-a213-6608f9eb8820
X-Ms-Correlation-Request-Id: ce7a8a77-c472-4b26-d8e1-be40f3c80704
Accept-Encoding: gzip: timestamp=2023-06-29T16:40:42.571+0200
2023-06-29T16:40:42.951+0200 [DEBUG] provider.terraform-provider-azurerm_v3.62.1_x5.exe: AzureRM Response for https://management.azure.com//subscriptions/3483e42f-98fa-49e8-a527-a6abb8a7b2fe/resourceGroups/rg-standalone_appservices-inprod-switzerlandnorth/providers/Microsoft.Storage/storageAccounts/stcmisharappservinpro/fileServices/default/shares/hubspot-file-storage/providers/Microsoft.Authorization/roleAssignments/35f4463b-3e19-82f0-6b24-1c13b130a4a9?api-version=2020-04-01-preview:
HTTP/2.0 404 Not Found
Content-Length: 128
Cache-Control: no-cache
Content-Type: application/json; charset=utf-8
Date: Thu, 29 Jun 2023 14:40:41 GMT
Expires: -1
Pragma: no-cache
Set-Cookie: x-ms-gateway-slice=Production; path=/; secure; samesite=none; httponly
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-Ms-Correlation-Request-Id: ce7a8a77-c472-4b26-d8e1-be40f3c80704
X-Ms-Ratelimit-Remaining-Subscription-Reads: 11987
X-Ms-Request-Id: 6d3dc31e-8f46-4ab3-a364-fec72f1df6f0
X-Ms-Routing-Request-Id: SWITZERLANDNORTH:20230629T144042Z:463f2a63-c484-4750-ad95-0b50c0209cc8

{"error":{"code":"RoleAssignmentNotFound","message":"The role assignment '35f4463b-3e19-82f0-6b24-1c13b130a4a9' is not found."}}: timestamp=2023-06-29T16:40:42.951+0200
2023-06-29T16:40:42.953+0200 [DEBUG] provider.terraform-provider-azurerm_v3.62.1_x5.exe: Waiting for state to become: [success]: timestamp=2023-06-29T16:40:42.952+0200
2023-06-29T16:40:42.953+0200 [DEBUG] provider.terraform-provider-azurerm_v3.62.1_x5.exe: AzureRM Request:
PUT //subscriptions/3483e42f-98fa-49e8-a527-a6abb8a7b2fe/resourceGroups/rg-standalone_appservices-inprod-switzerlandnorth/providers/Microsoft.Storage/storageAccounts/stcmisharappservinpro/fileServices/default/shares/hubspot-file-storage/providers/Microsoft.Authorization/roleAssignments/35f4463b-3e19-82f0-6b24-1c13b130a4a9?api-version=2020-04-01-preview HTTP/1.1
Host: management.azure.com
User-Agent: Go/go1.20.5 (amd64-windows) go-autorest/v14.2.1 Azure-SDK-For-Go/v66.0.0 authorization/2020-04-01-preview HashiCorp Terraform/1.5.2 (+https://www.terraform.io) Terraform Plugin SDK/2.10.1 terraform-provider-azurerm/3.62.1 pid-222c6c49-1b0a-5959-a213-6608f9eb8820
Content-Length: 246
Content-Type: application/json; charset=utf-8
X-Ms-Correlation-Request-Id: ce7a8a77-c472-4b26-d8e1-be40f3c80704
Accept-Encoding: gzip

{"properties":{"roleDefinitionId":"/subscriptions/3483e42f-98fa-49e8-a527-a6abb8a7b2fe/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c","principalId":"bb6eb7e7-59c5-4595-8876-889381e7266d","description":""}}: timestamp=2023-06-29T16:40:42.952+0200
2023-06-29T16:40:47.929+0200 [DEBUG] provider.terraform-provider-azurerm_v3.62.1_x5.exe: AzureRM Response for https://management.azure.com//subscriptions/3483e42f-98fa-49e8-a527-a6abb8a7b2fe/resourceGroups/rg-standalone_appservices-inprod-switzerlandnorth/providers/Microsoft.Storage/storageAccounts/stcmisharappservinpro/fileServices/default/shares/hubspot-file-storage/providers/Microsoft.Authorization/roleAssignments/35f4463b-3e19-82f0-6b24-1c13b130a4a9?api-version=2020-04-01-preview:
HTTP/2.0 201 Created
Content-Length: 1170
Cache-Control: no-cache
Content-Type: application/json; charset=utf-8
Date: Thu, 29 Jun 2023 14:40:46 GMT
Expires: -1
Pragma: no-cache
Set-Cookie: x-ms-gateway-slice=Production; path=/; secure; samesite=none; httponly
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-Ms-Correlation-Request-Id: ce7a8a77-c472-4b26-d8e1-be40f3c80704
X-Ms-Ratelimit-Remaining-Subscription-Writes: 1199
X-Ms-Request-Id: 8450c65e-e0d8-4a23-8b1d-cd041fb76abb
X-Ms-Routing-Request-Id: SWITZERLANDNORTH:20230629T144047Z:7cc2a3a5-8264-49af-9880-ed001270a497

{"properties":{"roleDefinitionId":"/subscriptions/3483e42f-98fa-49e8-a527-a6abb8a7b2fe/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c","principalId":"bb6eb7e7-59c5-4595-8876-889381e7266d","principalType":"Group","scope":"/subscriptions/3483e42f-98fa-49e8-a527-a6abb8a7b2fe/resourceGroups/rg-standalone_appservices-inprod-switzerlandnorth/providers/Microsoft.Storage/storageAccounts/stcmisharappservinpro/fileServices/default/shares/hubspot-file-storage","condition":null,"conditionVersion":null,"createdOn":"2023-06-29T14:40:43.1920630Z","updatedOn":"2023-06-29T14:40:43.4480596Z","createdBy":null,"updatedBy":"f2270f8e-57dd-4c3c-9652-bc3aabd38786","delegatedManagedIdentityResourceId":null,"description":""},"id":"/subscriptions/3483e42f-98fa-49e8-a527-a6abb8a7b2fe/resourceGroups/rg-standalone_appservices-inprod-switzerlandnorth/providers/Microsoft.Storage/storageAccounts/stcmisharappservinpro/fileServices/default/shares/hubspot-file-storage/providers/Microsoft.Authorization/roleAssignments/35f4463b-3e19-82f0-6b24-1c13b130a4a9","type":"Microsoft.Authorization/roleAssignments","name":"35f4463b-3e19-82f0-6b24-1c13b130a4a9"}: timestamp=2023-06-29T16:40:47.916+0200
2023-06-29T16:40:47.934+0200 [DEBUG] provider.terraform-provider-azurerm_v3.62.1_x5.exe: Waiting for state to become: [ready]: timestamp=2023-06-29T16:40:47.929+0200
2023-06-29T16:40:47.934+0200 [DEBUG] provider.terraform-provider-azurerm_v3.62.1_x5.exe: AzureRM Request:
GET //subscriptions/3483e42f-98fa-49e8-a527-a6abb8a7b2fe/resourceGroups/rg-standalone_appservices-inprod-switzerlandnorth/providers/Microsoft.Storage/storageAccounts/stcmisharappservinpro/fileServices/default/shares/hubspot-file-storage/providers/Microsoft.Authorization/roleAssignments/35f4463b-3e19-82f0-6b24-1c13b130a4a9?api-version=2020-04-01-preview HTTP/1.1
Host: management.azure.com
User-Agent: Go/go1.20.5 (amd64-windows) go-autorest/v14.2.1 Azure-SDK-For-Go/v66.0.0 authorization/2020-04-01-preview HashiCorp Terraform/1.5.2 (+https://www.terraform.io) Terraform Plugin SDK/2.10.1 terraform-provider-azurerm/3.62.1 pid-222c6c49-1b0a-5959-a213-6608f9eb8820
X-Ms-Correlation-Request-Id: ce7a8a77-c472-4b26-d8e1-be40f3c80704
Accept-Encoding: gzip: timestamp=2023-06-29T16:40:47.929+0200
2023-06-29T16:40:48.036+0200 [DEBUG] provider.terraform-provider-azurerm_v3.62.1_x5.exe: AzureRM Response for https://management.azure.com//subscriptions/3483e42f-98fa-49e8-a527-a6abb8a7b2fe/resourceGroups/rg-standalone_appservices-inprod-switzerlandnorth/providers/Microsoft.Storage/storageAccounts/stcmisharappservinpro/fileServices/default/shares/hubspot-file-storage/providers/Microsoft.Authorization/roleAssignments/35f4463b-3e19-82f0-6b24-1c13b130a4a9?api-version=2020-04-01-preview:
HTTP/2.0 200 OK
Cache-Control: no-cache
Content-Type: application/json; charset=utf-8
Date: Thu, 29 Jun 2023 14:40:47 GMT
Expires: -1
Pragma: no-cache
Set-Cookie: x-ms-gateway-slice=Production; path=/; secure; samesite=none; httponly
Strict-Transport-Security: max-age=31536000; includeSubDomains
Vary: Accept-Encoding
X-Content-Type-Options: nosniff
X-Ms-Correlation-Request-Id: ce7a8a77-c472-4b26-d8e1-be40f3c80704
X-Ms-Ratelimit-Remaining-Subscription-Reads: 11986
X-Ms-Request-Id: 88c68c2b-b9d5-47ba-b93c-7db49fba4c77
X-Ms-Routing-Request-Id: SWITZERLANDNORTH:20230629T144047Z:612d8f2d-a075-429d-95a2-1322e11346c8

{"properties":{"roleDefinitionId":"/subscriptions/3483e42f-98fa-49e8-a527-a6abb8a7b2fe/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c","principalId":"bb6eb7e7-59c5-4595-8876-889381e7266d","principalType":"Group","scope":"/subscriptions/3483e42f-98fa-49e8-a527-a6abb8a7b2fe/resourceGroups/rg-standalone_appservices-inprod-switzerlandnorth/providers/Microsoft.Storage/storageAccounts/stcmisharappservinpro/fileServices/default/shares/hubspot-file-storage","condition":null,"conditionVersion":null,"createdOn":"2023-06-29T14:40:43.4480596Z","updatedOn":"2023-06-29T14:40:43.4480596Z","createdBy":"f2270f8e-57dd-4c3c-9652-bc3aabd38786","updatedBy":"f2270f8e-57dd-4c3c-9652-bc3aabd38786","delegatedManagedIdentityResourceId":null,"description":""},"id":"/subscriptions/3483e42f-98fa-49e8-a527-a6abb8a7b2fe/resourceGroups/rg-standalone_appservices-inprod-switzerlandnorth/providers/Microsoft.Storage/storageAccounts/stcmisharappservinpro/fileServices/default/shares/hubspot-file-storage/providers/Microsoft.Authorization/roleAssignments/35f4463b-3e19-82f0-6b24-1c13b130a4a9","type":"Microsoft.Authorization/roleAssignments","name":"35f4463b-3e19-82f0-6b24-1c13b130a4a9"}: timestamp=2023-06-29T16:40:48.036+0200
azurerm_role_assignment.example: Still creating... [10s elapsed]
2023-06-29T16:40:53.051+0200 [DEBUG] provider.terraform-provider-azurerm_v3.62.1_x5.exe: AzureRM Request: 
GET //subscriptions/3483e42f-98fa-49e8-a527-a6abb8a7b2fe/resourceGroups/rg-standalone_appservices-inprod-switzerlandnorth/providers/Microsoft.Storage/storageAccounts/stcmisharappservinpro/fileServices/default/shares/hubspot-file-storage/providers/Microsoft.Authorization/roleAssignments/35f4463b-3e19-82f0-6b24-1c13b130a4a9?api-version=2020-04-01-preview HTTP/1.1
Host: management.azure.com
User-Agent: Go/go1.20.5 (amd64-windows) go-autorest/v14.2.1 Azure-SDK-For-Go/v66.0.0 authorization/2020-04-01-preview HashiCorp Terraform/1.5.2 (+https://www.terraform.io) Terraform Plugin SDK/2.10.1 terraform-provider-azurerm/3.62.1 pid-222c6c49-1b0a-5959-a213-6608f9eb8820
X-Ms-Correlation-Request-Id: ce7a8a77-c472-4b26-d8e1-be40f3c80704
Accept-Encoding: gzip: timestamp=2023-06-29T16:40:53.051+0200
2023-06-29T16:40:53.151+0200 [DEBUG] provider.terraform-provider-azurerm_v3.62.1_x5.exe: AzureRM Response for https://management.azure.com//subscriptions/3483e42f-98fa-49e8-a527-a6abb8a7b2fe/resourceGroups/rg-standalone_appservices-inprod-switzerlandnorth/providers/Microsoft.Storage/storageAccounts/stcmisharappservinpro/fileServices/default/shares/hubspot-file-storage/providers/Microsoft.Authorization/roleAssignments/35f4463b-3e19-82f0-6b24-1c13b130a4a9?api-version=2020-04-01-preview:
HTTP/2.0 200 OK
Cache-Control: no-cache
Content-Type: application/json; charset=utf-8
Date: Thu, 29 Jun 2023 14:40:52 GMT
Expires: -1
Pragma: no-cache
Set-Cookie: x-ms-gateway-slice=Production; path=/; secure; samesite=none; httponly
Strict-Transport-Security: max-age=31536000; includeSubDomains
Vary: Accept-Encoding
X-Content-Type-Options: nosniff
X-Ms-Correlation-Request-Id: ce7a8a77-c472-4b26-d8e1-be40f3c80704
X-Ms-Ratelimit-Remaining-Subscription-Reads: 11985
X-Ms-Request-Id: b126af9e-f51a-4a88-aec5-b4b397cfe6c3
X-Ms-Routing-Request-Id: SWITZERLANDNORTH:20230629T144053Z:260d4c78-c629-445e-8267-2a048356197b

{"properties":{"roleDefinitionId":"/subscriptions/3483e42f-98fa-49e8-a527-a6abb8a7b2fe/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c","principalId":"bb6eb7e7-59c5-4595-8876-889381e7266d","principalType":"Group","scope":"/subscriptions/3483e42f-98fa-49e8-a527-a6abb8a7b2fe/resourceGroups/rg-standalone_appservices-inprod-switzerlandnorth/providers/Microsoft.Storage/storageAccounts/stcmisharappservinpro/fileServices/default/shares/hubspot-file-storage","condition":null,"conditionVersion":null,"createdOn":"2023-06-29T14:40:43.4480596Z","updatedOn":"2023-06-29T14:40:43.4480596Z","createdBy":"f2270f8e-57dd-4c3c-9652-bc3aabd38786","updatedBy":"f2270f8e-57dd-4c3c-9652-bc3aabd38786","delegatedManagedIdentityResourceId":null,"description":""},"id":"/subscriptions/3483e42f-98fa-49e8-a527-a6abb8a7b2fe/resourceGroups/rg-standalone_appservices-inprod-switzerlandnorth/providers/Microsoft.Storage/storageAccounts/stcmisharappservinpro/fileServices/default/shares/hubspot-file-storage/providers/Microsoft.Authorization/roleAssignments/35f4463b-3e19-82f0-6b24-1c13b130a4a9","type":"Microsoft.Authorization/roleAssignments","name":"35f4463b-3e19-82f0-6b24-1c13b130a4a9"}: timestamp=2023-06-29T16:40:53.151+0200
2023-06-29T16:40:58.155+0200 [DEBUG] provider.terraform-provider-azurerm_v3.62.1_x5.exe: AzureRM Request: 
GET //subscriptions/3483e42f-98fa-49e8-a527-a6abb8a7b2fe/resourceGroups/rg-standalone_appservices-inprod-switzerlandnorth/providers/Microsoft.Storage/storageAccounts/stcmisharappservinpro/fileServices/default/shares/hubspot-file-storage/providers/Microsoft.Authorization/roleAssignments/35f4463b-3e19-82f0-6b24-1c13b130a4a9?api-version=2020-04-01-preview HTTP/1.1
Host: management.azure.com
User-Agent: Go/go1.20.5 (amd64-windows) go-autorest/v14.2.1 Azure-SDK-For-Go/v66.0.0 authorization/2020-04-01-preview HashiCorp Terraform/1.5.2 (+https://www.terraform.io) Terraform Plugin SDK/2.10.1 terraform-provider-azurerm/3.62.1 pid-222c6c49-1b0a-5959-a213-6608f9eb8820
X-Ms-Correlation-Request-Id: ce7a8a77-c472-4b26-d8e1-be40f3c80704
Accept-Encoding: gzip: timestamp=2023-06-29T16:40:58.155+0200
2023-06-29T16:40:58.296+0200 [DEBUG] provider.terraform-provider-azurerm_v3.62.1_x5.exe: AzureRM Response for https://management.azure.com//subscriptions/3483e42f-98fa-49e8-a527-a6abb8a7b2fe/resourceGroups/rg-standalone_appservices-inprod-switzerlandnorth/providers/Microsoft.Storage/storageAccounts/stcmisharappservinpro/fileServices/default/shares/hubspot-file-storage/providers/Microsoft.Authorization/roleAssignments/35f4463b-3e19-82f0-6b24-1c13b130a4a9?api-version=2020-04-01-preview:
HTTP/2.0 200 OK
Cache-Control: no-cache
Content-Type: application/json; charset=utf-8
Date: Thu, 29 Jun 2023 14:40:58 GMT
Expires: -1
Pragma: no-cache
Set-Cookie: x-ms-gateway-slice=Production; path=/; secure; samesite=none; httponly
Strict-Transport-Security: max-age=31536000; includeSubDomains
Vary: Accept-Encoding
X-Content-Type-Options: nosniff
X-Ms-Correlation-Request-Id: ce7a8a77-c472-4b26-d8e1-be40f3c80704
X-Ms-Ratelimit-Remaining-Subscription-Reads: 11984
X-Ms-Request-Id: 562552b5-57b2-41f4-9b4a-4764bacf741d
X-Ms-Routing-Request-Id: SWITZERLANDNORTH:20230629T144058Z:bb0df737-8c4c-4816-9eb6-aca7c11046c6

{"properties":{"roleDefinitionId":"/subscriptions/3483e42f-98fa-49e8-a527-a6abb8a7b2fe/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c","principalId":"bb6eb7e7-59c5-4595-8876-889381e7266d","principalType":"Group","scope":"/subscriptions/3483e42f-98fa-49e8-a527-a6abb8a7b2fe/resourceGroups/rg-standalone_appservices-inprod-switzerlandnorth/providers/Microsoft.Storage/storageAccounts/stcmisharappservinpro/fileServices/default/shares/hubspot-file-storage","condition":null,"conditionVersion":null,"createdOn":"2023-06-29T14:40:43.4480596Z","updatedOn":"2023-06-29T14:40:43.4480596Z","createdBy":"f2270f8e-57dd-4c3c-9652-bc3aabd38786","updatedBy":"f2270f8e-57dd-4c3c-9652-bc3aabd38786","delegatedManagedIdentityResourceId":null,"description":""},"id":"/subscriptions/3483e42f-98fa-49e8-a527-a6abb8a7b2fe/resourceGroups/rg-standalone_appservices-inprod-switzerlandnorth/providers/Microsoft.Storage/storageAccounts/stcmisharappservinpro/fileServices/default/shares/hubspot-file-storage/providers/Microsoft.Authorization/roleAssignments/35f4463b-3e19-82f0-6b24-1c13b130a4a9","type":"Microsoft.Authorization/roleAssignments","name":"35f4463b-3e19-82f0-6b24-1c13b130a4a9"}: timestamp=2023-06-29T16:40:58.295+0200
azurerm_role_assignment.example: Still creating... [20s elapsed]
2023-06-29T16:41:03.304+0200 [DEBUG] provider.terraform-provider-azurerm_v3.62.1_x5.exe: AzureRM Request: 
GET //subscriptions/3483e42f-98fa-49e8-a527-a6abb8a7b2fe/resourceGroups/rg-standalone_appservices-inprod-switzerlandnorth/providers/Microsoft.Storage/storageAccounts/stcmisharappservinpro/fileServices/default/shares/hubspot-file-storage/providers/Microsoft.Authorization/roleAssignments/35f4463b-3e19-82f0-6b24-1c13b130a4a9?api-version=2020-04-01-preview HTTP/1.1
Host: management.azure.com
User-Agent: Go/go1.20.5 (amd64-windows) go-autorest/v14.2.1 Azure-SDK-For-Go/v66.0.0 authorization/2020-04-01-preview HashiCorp Terraform/1.5.2 (+https://www.terraform.io) Terraform Plugin SDK/2.10.1 terraform-provider-azurerm/3.62.1 pid-222c6c49-1b0a-5959-a213-6608f9eb8820
X-Ms-Correlation-Request-Id: ce7a8a77-c472-4b26-d8e1-be40f3c80704
Accept-Encoding: gzip: timestamp=2023-06-29T16:41:03.304+0200
2023-06-29T16:41:03.538+0200 [DEBUG] provider.terraform-provider-azurerm_v3.62.1_x5.exe: AzureRM Response for https://management.azure.com//subscriptions/3483e42f-98fa-49e8-a527-a6abb8a7b2fe/resourceGroups/rg-standalone_appservices-inprod-switzerlandnorth/providers/Microsoft.Storage/storageAccounts/stcmisharappservinpro/fileServices/default/shares/hubspot-file-storage/providers/Microsoft.Authorization/roleAssignments/35f4463b-3e19-82f0-6b24-1c13b130a4a9?api-version=2020-04-01-preview:
HTTP/2.0 200 OK
Cache-Control: no-cache
Content-Type: application/json; charset=utf-8
Date: Thu, 29 Jun 2023 14:41:03 GMT
Expires: -1
Pragma: no-cache
Set-Cookie: x-ms-gateway-slice=Production; path=/; secure; samesite=none; httponly
Strict-Transport-Security: max-age=31536000; includeSubDomains
Vary: Accept-Encoding
X-Content-Type-Options: nosniff
X-Ms-Correlation-Request-Id: ce7a8a77-c472-4b26-d8e1-be40f3c80704
X-Ms-Ratelimit-Remaining-Subscription-Reads: 11983
X-Ms-Request-Id: b2e52e68-2f92-47c1-acb2-c851f216fa0f
X-Ms-Routing-Request-Id: SWITZERLANDNORTH:20230629T144103Z:ed0b946b-8283-44b8-8075-22af038db380

{"properties":{"roleDefinitionId":"/subscriptions/3483e42f-98fa-49e8-a527-a6abb8a7b2fe/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c","principalId":"bb6eb7e7-59c5-4595-8876-889381e7266d","principalType":"Group","scope":"/subscriptions/3483e42f-98fa-49e8-a527-a6abb8a7b2fe/resourceGroups/rg-standalone_appservices-inprod-switzerlandnorth/providers/Microsoft.Storage/storageAccounts/stcmisharappservinpro/fileServices/default/shares/hubspot-file-storage","condition":null,"conditionVersion":null,"createdOn":"2023-06-29T14:40:43.4480596Z","updatedOn":"2023-06-29T14:40:43.4480596Z","createdBy":"f2270f8e-57dd-4c3c-9652-bc3aabd38786","updatedBy":"f2270f8e-57dd-4c3c-9652-bc3aabd38786","delegatedManagedIdentityResourceId":null,"description":""},"id":"/subscriptions/3483e42f-98fa-49e8-a527-a6abb8a7b2fe/resourceGroups/rg-standalone_appservices-inprod-switzerlandnorth/providers/Microsoft.Storage/storageAccounts/stcmisharappservinpro/fileServices/default/shares/hubspot-file-storage/providers/Microsoft.Authorization/roleAssignments/35f4463b-3e19-82f0-6b24-1c13b130a4a9","type":"Microsoft.Authorization/roleAssignments","name":"35f4463b-3e19-82f0-6b24-1c13b130a4a9"}: timestamp=2023-06-29T16:41:03.538+0200
2023-06-29T16:41:08.549+0200 [DEBUG] provider.terraform-provider-azurerm_v3.62.1_x5.exe: AzureRM Request: 
GET //subscriptions/3483e42f-98fa-49e8-a527-a6abb8a7b2fe/resourceGroups/rg-standalone_appservices-inprod-switzerlandnorth/providers/Microsoft.Storage/storageAccounts/stcmisharappservinpro/fileServices/default/shares/hubspot-file-storage/providers/Microsoft.Authorization/roleAssignments/35f4463b-3e19-82f0-6b24-1c13b130a4a9?api-version=2020-04-01-preview HTTP/1.1
Host: management.azure.com
User-Agent: Go/go1.20.5 (amd64-windows) go-autorest/v14.2.1 Azure-SDK-For-Go/v66.0.0 authorization/2020-04-01-preview HashiCorp Terraform/1.5.2 (+https://www.terraform.io) Terraform Plugin SDK/2.10.1 terraform-provider-azurerm/3.62.1 pid-222c6c49-1b0a-5959-a213-6608f9eb8820
X-Ms-Correlation-Request-Id: ce7a8a77-c472-4b26-d8e1-be40f3c80704
Accept-Encoding: gzip: timestamp=2023-06-29T16:41:08.549+0200
2023-06-29T16:41:08.641+0200 [DEBUG] provider.terraform-provider-azurerm_v3.62.1_x5.exe: AzureRM Response for https://management.azure.com//subscriptions/3483e42f-98fa-49e8-a527-a6abb8a7b2fe/resourceGroups/rg-standalone_appservices-inprod-switzerlandnorth/providers/Microsoft.Storage/storageAccounts/stcmisharappservinpro/fileServices/default/shares/hubspot-file-storage/providers/Microsoft.Authorization/roleAssignments/35f4463b-3e19-82f0-6b24-1c13b130a4a9?api-version=2020-04-01-preview:
HTTP/2.0 200 OK
Cache-Control: no-cache
Content-Type: application/json; charset=utf-8
Date: Thu, 29 Jun 2023 14:41:08 GMT
Expires: -1
Pragma: no-cache
Set-Cookie: x-ms-gateway-slice=Production; path=/; secure; samesite=none; httponly
Strict-Transport-Security: max-age=31536000; includeSubDomains
Vary: Accept-Encoding
X-Content-Type-Options: nosniff
X-Ms-Correlation-Request-Id: ce7a8a77-c472-4b26-d8e1-be40f3c80704
X-Ms-Ratelimit-Remaining-Subscription-Reads: 11982
X-Ms-Request-Id: a3116a5b-67e2-4a47-8379-b342b31c1ba1
X-Ms-Routing-Request-Id: SWITZERLANDNORTH:20230629T144108Z:2a008100-2f41-458d-82b9-87c331ac815d

{"properties":{"roleDefinitionId":"/subscriptions/3483e42f-98fa-49e8-a527-a6abb8a7b2fe/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c","principalId":"bb6eb7e7-59c5-4595-8876-889381e7266d","principalType":"Group","scope":"/subscriptions/3483e42f-98fa-49e8-a527-a6abb8a7b2fe/resourceGroups/rg-standalone_appservices-inprod-switzerlandnorth/providers/Microsoft.Storage/storageAccounts/stcmisharappservinpro/fileServices/default/shares/hubspot-file-storage","condition":null,"conditionVersion":null,"createdOn":"2023-06-29T14:40:43.4480596Z","updatedOn":"2023-06-29T14:40:43.4480596Z","createdBy":"f2270f8e-57dd-4c3c-9652-bc3aabd38786","updatedBy":"f2270f8e-57dd-4c3c-9652-bc3aabd38786","delegatedManagedIdentityResourceId":null,"description":""},"id":"/subscriptions/3483e42f-98fa-49e8-a527-a6abb8a7b2fe/resourceGroups/rg-standalone_appservices-inprod-switzerlandnorth/providers/Microsoft.Storage/storageAccounts/stcmisharappservinpro/fileServices/default/shares/hubspot-file-storage/providers/Microsoft.Authorization/roleAssignments/35f4463b-3e19-82f0-6b24-1c13b130a4a9","type":"Microsoft.Authorization/roleAssignments","name":"35f4463b-3e19-82f0-6b24-1c13b130a4a9"}: timestamp=2023-06-29T16:41:08.640+0200
2023-06-29T16:41:08.645+0200 [DEBUG] provider.terraform-provider-azurerm_v3.62.1_x5.exe: AzureRM Request: 
GET //subscriptions/3483e42f-98fa-49e8-a527-a6abb8a7b2fe/resourceGroups/rg-standalone_appservices-inprod-switzerlandnorth/providers/Microsoft.Storage/storageAccounts/stcmisharappservinpro/fileServices/default/shares/hubspot-file-storage/providers/Microsoft.Authorization/roleAssignments/35f4463b-3e19-82f0-6b24-1c13b130a4a9?api-version=2020-04-01-preview HTTP/1.1
Host: management.azure.com
User-Agent: Go/go1.20.5 (amd64-windows) go-autorest/v14.2.1 Azure-SDK-For-Go/v66.0.0 authorization/2020-04-01-preview HashiCorp Terraform/1.5.2 (+https://www.terraform.io) Terraform Plugin SDK/2.10.1 terraform-provider-azurerm/3.62.1 pid-222c6c49-1b0a-5959-a213-6608f9eb8820
X-Ms-Correlation-Request-Id: ce7a8a77-c472-4b26-d8e1-be40f3c80704
Accept-Encoding: gzip: timestamp=2023-06-29T16:41:08.641+0200
2023-06-29T16:41:08.761+0200 [DEBUG] provider.terraform-provider-azurerm_v3.62.1_x5.exe: AzureRM Response for https://management.azure.com//subscriptions/3483e42f-98fa-49e8-a527-a6abb8a7b2fe/resourceGroups/rg-standalone_appservices-inprod-switzerlandnorth/providers/Microsoft.Storage/storageAccounts/stcmisharappservinpro/fileServices/default/shares/hubspot-file-storage/providers/Microsoft.Authorization/roleAssignments/35f4463b-3e19-82f0-6b24-1c13b130a4a9?api-version=2020-04-01-preview:
HTTP/2.0 200 OK
Cache-Control: no-cache
Content-Type: application/json; charset=utf-8
Date: Thu, 29 Jun 2023 14:41:08 GMT
Expires: -1
Pragma: no-cache
Set-Cookie: x-ms-gateway-slice=Production; path=/; secure; samesite=none; httponly
Strict-Transport-Security: max-age=31536000; includeSubDomains
Vary: Accept-Encoding
X-Content-Type-Options: nosniff
X-Ms-Correlation-Request-Id: ce7a8a77-c472-4b26-d8e1-be40f3c80704
X-Ms-Ratelimit-Remaining-Subscription-Reads: 11981
X-Ms-Request-Id: e1313ea7-87b6-45fd-8203-4f3375a361f4
X-Ms-Routing-Request-Id: SWITZERLANDNORTH:20230629T144108Z:ea53eab6-f67c-480c-8f43-06d87109e8f8

{"properties":{"roleDefinitionId":"/subscriptions/3483e42f-98fa-49e8-a527-a6abb8a7b2fe/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c","principalId":"bb6eb7e7-59c5-4595-8876-889381e7266d","principalType":"Group","scope":"/subscriptions/3483e42f-98fa-49e8-a527-a6abb8a7b2fe/resourceGroups/rg-standalone_appservices-inprod-switzerlandnorth/providers/Microsoft.Storage/storageAccounts/stcmisharappservinpro/fileServices/default/shares/hubspot-file-storage","condition":null,"conditionVersion":null,"createdOn":"2023-06-29T14:40:43.4480596Z","updatedOn":"2023-06-29T14:40:43.4480596Z","createdBy":"f2270f8e-57dd-4c3c-9652-bc3aabd38786","updatedBy":"f2270f8e-57dd-4c3c-9652-bc3aabd38786","delegatedManagedIdentityResourceId":null,"description":""},"id":"/subscriptions/3483e42f-98fa-49e8-a527-a6abb8a7b2fe/resourceGroups/rg-standalone_appservices-inprod-switzerlandnorth/providers/Microsoft.Storage/storageAccounts/stcmisharappservinpro/fileServices/default/shares/hubspot-file-storage/providers/Microsoft.Authorization/roleAssignments/35f4463b-3e19-82f0-6b24-1c13b130a4a9","type":"Microsoft.Authorization/roleAssignments","name":"35f4463b-3e19-82f0-6b24-1c13b130a4a9"}: timestamp=2023-06-29T16:41:08.760+0200
2023-06-29T16:41:08.765+0200 [DEBUG] provider.terraform-provider-azurerm_v3.62.1_x5.exe: AzureRM Request: 
GET //subscriptions/3483e42f-98fa-49e8-a527-a6abb8a7b2fe/resourceGroups/rg-standalone_appservices-inprod-switzerlandnorth/providers/Microsoft.Storage/storageAccounts/stcmisharappservinpro/fileServices/default/shares/hubspot-file-storage/providers/Microsoft.Authorization/roleAssignments/35f4463b-3e19-82f0-6b24-1c13b130a4a9?api-version=2020-04-01-preview HTTP/1.1
Host: management.azure.com
User-Agent: Go/go1.20.5 (amd64-windows) go-autorest/v14.2.1 Azure-SDK-For-Go/v66.0.0 authorization/2020-04-01-preview HashiCorp Terraform/1.5.2 (+https://www.terraform.io) Terraform Plugin SDK/2.10.1 terraform-provider-azurerm/3.62.1 pid-222c6c49-1b0a-5959-a213-6608f9eb8820
X-Ms-Correlation-Request-Id: ce7a8a77-c472-4b26-d8e1-be40f3c80704
Accept-Encoding: gzip: timestamp=2023-06-29T16:41:08.761+0200
2023-06-29T16:41:08.831+0200 [DEBUG] provider.terraform-provider-azurerm_v3.62.1_x5.exe: AzureRM Response for https://management.azure.com//subscriptions/3483e42f-98fa-49e8-a527-a6abb8a7b2fe/resourceGroups/rg-standalone_appservices-inprod-switzerlandnorth/providers/Microsoft.Storage/storageAccounts/stcmisharappservinpro/fileServices/default/shares/hubspot-file-storage/providers/Microsoft.Authorization/roleAssignments/35f4463b-3e19-82f0-6b24-1c13b130a4a9?api-version=2020-04-01-preview:
HTTP/2.0 200 OK
Cache-Control: no-cache
Content-Type: application/json; charset=utf-8
Date: Thu, 29 Jun 2023 14:41:08 GMT
Expires: -1
Pragma: no-cache
Set-Cookie: x-ms-gateway-slice=Production; path=/; secure; samesite=none; httponly
Strict-Transport-Security: max-age=31536000; includeSubDomains
Vary: Accept-Encoding
X-Content-Type-Options: nosniff
X-Ms-Correlation-Request-Id: ce7a8a77-c472-4b26-d8e1-be40f3c80704
X-Ms-Ratelimit-Remaining-Subscription-Reads: 11980
X-Ms-Request-Id: 630fc185-219b-40a2-b291-094bb3d4f82e
X-Ms-Routing-Request-Id: SWITZERLANDNORTH:20230629T144108Z:6b89bc24-c5aa-4b07-b69e-865659740aa7

{"properties":{"roleDefinitionId":"/subscriptions/3483e42f-98fa-49e8-a527-a6abb8a7b2fe/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c","principalId":"bb6eb7e7-59c5-4595-8876-889381e7266d","principalType":"Group","scope":"/subscriptions/3483e42f-98fa-49e8-a527-a6abb8a7b2fe/resourceGroups/rg-standalone_appservices-inprod-switzerlandnorth/providers/Microsoft.Storage/storageAccounts/stcmisharappservinpro/fileServices/default/shares/hubspot-file-storage","condition":null,"conditionVersion":null,"createdOn":"2023-06-29T14:40:43.4480596Z","updatedOn":"2023-06-29T14:40:43.4480596Z","createdBy":"f2270f8e-57dd-4c3c-9652-bc3aabd38786","updatedBy":"f2270f8e-57dd-4c3c-9652-bc3aabd38786","delegatedManagedIdentityResourceId":null,"description":""},"id":"/subscriptions/3483e42f-98fa-49e8-a527-a6abb8a7b2fe/resourceGroups/rg-standalone_appservices-inprod-switzerlandnorth/providers/Microsoft.Storage/storageAccounts/stcmisharappservinpro/fileServices/default/shares/hubspot-file-storage/providers/Microsoft.Authorization/roleAssignments/35f4463b-3e19-82f0-6b24-1c13b130a4a9","type":"Microsoft.Authorization/roleAssignments","name":"35f4463b-3e19-82f0-6b24-1c13b130a4a9"}: timestamp=2023-06-29T16:41:08.831+0200
2023-06-29T16:41:08.835+0200 [DEBUG] provider.terraform-provider-azurerm_v3.62.1_x5.exe: AzureRM Request: 
GET //subscriptions/3483e42f-98fa-49e8-a527-a6abb8a7b2fe/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c?api-version=2018-01-01-preview HTTP/1.1
Host: management.azure.com
User-Agent: Go/go1.20.5 (amd64-windows) go-autorest/v14.2.1 Azure-SDK-For-Go/v66.0.0 authorization/2020-04-01-preview HashiCorp Terraform/1.5.2 (+https://www.terraform.io) Terraform Plugin SDK/2.10.1 terraform-provider-azurerm/3.62.1 pid-222c6c49-1b0a-5959-a213-6608f9eb8820
X-Ms-Correlation-Request-Id: ce7a8a77-c472-4b26-d8e1-be40f3c80704
Accept-Encoding: gzip: timestamp=2023-06-29T16:41:08.831+0200
2023-06-29T16:41:08.951+0200 [DEBUG] provider.terraform-provider-azurerm_v3.62.1_x5.exe: AzureRM Response for https://management.azure.com//subscriptions/3483e42f-98fa-49e8-a527-a6abb8a7b2fe/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c?api-version=2018-01-01-preview:
HTTP/2.0 200 OK
Cache-Control: no-cache
Content-Type: application/json; charset=utf-8
Date: Thu, 29 Jun 2023 14:41:08 GMT
Expires: -1
Pragma: no-cache
Set-Cookie: x-ms-gateway-slice=Production; path=/; secure; samesite=none; httponly
Strict-Transport-Security: max-age=31536000; includeSubDomains
Vary: Accept-Encoding
X-Content-Type-Options: nosniff
X-Ms-Correlation-Request-Id: ce7a8a77-c472-4b26-d8e1-be40f3c80704
X-Ms-Ratelimit-Remaining-Subscription-Reads: 11997
X-Ms-Request-Id: 1a78be4e-6843-4617-878d-3782eb0b1ea1
X-Ms-Routing-Request-Id: SWITZERLANDNORTH:20230629T144108Z:42db8d7c-42d2-429b-86df-8e66db740a76

{"properties":{"roleName":"Contributor","type":"BuiltInRole","description":"Grants full access to manage all resources, but does not allow you to assign roles in Azure RBAC, manage assignments in Azure Blueprints, or share image galleries.","assignableScopes":["/"],"permissions":[{"actions":["*"],"notActions":["Microsoft.Authorization/*/Delete","Microsoft.Authorization/*/Write","Microsoft.Authorization/elevateAccess/Action","Microsoft.Blueprint/blueprintAssignments/write","Microsoft.Blueprint/blueprintAssignments/delete","Microsoft.Compute/galleries/share/action"],"dataActions":[],"notDataActions":[]}],"createdOn":"2015-02-02T21:55:09.8806423Z","updatedOn":"2021-11-11T20:13:28.6061853Z","createdBy":null,"updatedBy":null},"id":"/subscriptions/3483e42f-98fa-49e8-a527-a6abb8a7b2fe/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c","type":"Microsoft.Authorization/roleDefinitions","name":"b24988ac-6180-42a0-ab88-20f7382dd24c"}: timestamp=2023-06-29T16:41:08.951+0200        
2023-06-29T16:41:08.952+0200 [WARN]  Provider "provider[\"registry.terraform.io/hashicorp/azurerm\"]" produced an unexpected new value for azurerm_role_assignment.example, but we are tolerating it because it is using the legacy plugin SDK.
    The following problems may be the cause of any confusing errors from downstream operations:
      - .condition: was null, but now cty.StringVal("")
      - .delegated_managed_identity_resource_id: was null, but now cty.StringVal("")
      - .description: was null, but now cty.StringVal("")
      - .condition_version: was null, but now cty.StringVal("")
azurerm_role_assignment.example: Creation complete after 27s [id=/subscriptions/3483e42f-98fa-49e8-a527-a6abb8a7b2fe/resourceGroups/rg-standalone_appservices-inprod-switzerlandnorth/providers/Microsoft.Storage/storageAccounts/stcmisharappservinpro/fileServices/default/shares/hubspot-file-storage/providers/Microsoft.Authorization/roleAssignments/35f4463b-3e19-82f0-6b24-1c13b130a4a9]
2023-06-29T16:41:08.962+0200 [DEBUG] State storage *statemgr.Filesystem declined to persist a state snapshot
2023-06-29T16:41:08.968+0200 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2023-06-29T16:41:09.019+0200 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/azurerm/3.62.1/windows_amd64/terraform-provider-azurerm_v3.62.1_x5.exe pid=17496
2023-06-29T16:41:09.020+0200 [DEBUG] provider: plugin exited

Expected Behaviour

The role assignment on the file-share should be created.

Actual Behaviour

Terraform reports that the RBAC-Rule has been created on the file-share, but when checking the RBAC-Rules of the share in the Azure Portal, the RBAC-Rule is missing. If running a second terraform plan, terraform reports no changes on the created role-assignment.

Steps to Reproduce

  1. Create a Storage Account with a file-share on Azure.
  2. Create an azurerm_role_assignment resource and set the scope to the id of the file-share.
  3. Apply the azurerm_role_assignment .

Important Factoids

No response

References

No response

@magodo
Copy link
Collaborator

magodo commented Jun 30, 2023

Hi @Noahnc, sorry for suffering this regression. This should have been fixed in #22271, which is released in v3.63.0.

@Noahnc
Copy link
Author

Noahnc commented Jun 30, 2023

Hi @magodo
I can confirm that the issue is fixed with #22271 and azurerm version 3.63.0.
Thanks for your prompt reply.

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 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants