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

Swap out deprecated values #1624

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions operations/template/storage.tf
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ resource "azurerm_storage_account_customer_managed_key" "storage_storage_account

resource "azurerm_storage_container" "metadata" {
name = "metadata"
storage_account_name = azurerm_storage_account.storage.name
storage_account_id = azurerm_storage_account.storage.id
pluckyswan marked this conversation as resolved.
Show resolved Hide resolved
container_access_type = "private"
}

resource "azurerm_role_assignment" "allow_api_read_write" {
scope = azurerm_storage_container.metadata.resource_manager_id
scope = azurerm_storage_container.metadata.id
pluckyswan marked this conversation as resolved.
Show resolved Hide resolved
role_definition_name = "Storage Blob Data Contributor"
principal_id = azurerm_linux_web_app.api.identity.0.principal_id
}
Expand Down Expand Up @@ -105,12 +105,12 @@ resource "azurerm_storage_account_customer_managed_key" "automated_storage_stora

resource "azurerm_storage_container" "automated_container" {
name = "automated"
storage_account_name = azurerm_storage_account.automated_storage.name
storage_account_id = azurerm_storage_account.automated_storage.id
container_access_type = "private"
}

resource "azurerm_role_assignment" "allow_automated_test_read_write" {
scope = azurerm_storage_container.automated_container.resource_manager_id
scope = azurerm_storage_container.automated_container.id
role_definition_name = "Storage Blob Data Contributor"
principal_id = var.deployer_id
}
Loading