Skip to content

Commit 483f877

Browse files
fixed storage account deprecations
1 parent 2b61902 commit 483f877

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

examples/windows_w_gallery_application/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ resource "azurerm_storage_account" "app_account" {
213213
resource "azurerm_storage_container" "app_container" {
214214
name = module.naming.storage_container.name_unique
215215
container_access_type = "blob"
216-
storage_account_name = azurerm_storage_account.app_account.name
216+
storage_account_id = azurerm_storage_account.app_account.id
217217
}
218218
219219
resource "azurerm_storage_blob" "app" {

examples/windows_w_gallery_application/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ resource "azurerm_storage_account" "app_account" {
188188
resource "azurerm_storage_container" "app_container" {
189189
name = module.naming.storage_container.name_unique
190190
container_access_type = "blob"
191-
storage_account_name = azurerm_storage_account.app_account.name
191+
storage_account_id = azurerm_storage_account.app_account.id
192192
}
193193

194194
resource "azurerm_storage_blob" "app" {

examples/windows_w_run_command/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ resource "azurerm_storage_account" "this" {
228228
resource "azurerm_storage_container" "this" {
229229
name = "example-sc"
230230
container_access_type = "blob"
231-
storage_account_name = azurerm_storage_account.this.name
231+
storage_account_id = azurerm_storage_account.this.id
232232
}
233233
234234
resource "azurerm_storage_blob" "example1" {

examples/windows_w_run_command/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ resource "azurerm_storage_account" "this" {
209209
resource "azurerm_storage_container" "this" {
210210
name = "example-sc"
211211
container_access_type = "blob"
212-
storage_account_name = azurerm_storage_account.this.name
212+
storage_account_id = azurerm_storage_account.this.id
213213
}
214214

215215
resource "azurerm_storage_blob" "example1" {

0 commit comments

Comments
 (0)