@@ -1398,7 +1398,7 @@ resource "azurerm_function_app_flex_consumption" "test" {
13981398 service_plan_id = azurerm_service_plan.test.id
13991399
14001400 storage_container_type = "blobContainer"
1401- storage_container_endpoint = "${azurerm_storage_account.backend.primary_blob_endpoint}${azurerm_storage_container.test1-1 .name}"
1401+ storage_container_endpoint = "${azurerm_storage_account.backend.primary_blob_endpoint}${azurerm_storage_container.test1.name}"
14021402 storage_authentication_type = "StorageAccountConnectionString"
14031403 storage_access_key = azurerm_storage_account.backend.primary_access_key
14041404 runtime_name = "node"
@@ -2677,7 +2677,7 @@ resource "azurerm_function_app_flex_consumption" "test" {
26772677
26782678 deployment_storage {
26792679 container_type = "blobContainer"
2680- container_endpoint = "${azurerm_storage_account.backend.primary_blob_endpoint}${azurerm_storage_container.test1-1 .name}"
2680+ container_endpoint = "${azurerm_storage_account.backend.primary_blob_endpoint}${azurerm_storage_container.test1.name}"
26812681 authentication_type = "StorageAccountConnectionString"
26822682 access_key = azurerm_storage_account.backend.primary_access_key
26832683 }
@@ -4286,6 +4286,12 @@ resource "azurerm_storage_container" "test" {
42864286 container_access_type = "private"
42874287}
42884288
4289+ resource "azurerm_storage_container" "test1" {
4290+ name = "acctestblobforfc1"
4291+ storage_account_name = azurerm_storage_account.test.name
4292+ container_access_type = "private"
4293+ }
4294+
42894295data "azurerm_storage_account_sas" "test" {
42904296 connection_string = azurerm_storage_account.test.primary_connection_string
42914297 https_only = true
@@ -4383,7 +4389,7 @@ resource "azurerm_storage_account" "test1" {
43834389
43844390resource "azurerm_storage_container" "test1-1" {
43854391 name = "acctestblobforfc11"
4386- storage_account_name = azurerm_storage_account.test .name
4392+ storage_account_name = azurerm_storage_account.test1 .name
43874393 container_access_type = "private"
43884394}
43894395
0 commit comments