Created
April 29, 2026 09:06
-
-
Save spy86/a90f392ac76a5bcf17e16cc4f418f238 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| resource "azurerm_role_assignment" "ra" { | |
| scope = azurerm_resource_group.rg.id | |
| role_definition_name = "Reader" | |
| principal_id = data.azurerm_client_config.current.object_id | |
| } | |
| resource "azurerm_storage_account" "sa_dep" { | |
| name = local.storage_name | |
| resource_group_name = azurerm_resource_group.rg.name | |
| location = azurerm_resource_group.rg.location | |
| account_tier = "Standard" | |
| account_replication_type = "LRS" | |
| depends_on = [azurerm_role_assignment.ra] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment