Skip to content

Commit

Permalink
Remove resource_group_name in storeage_container
Browse files Browse the repository at this point in the history
  • Loading branch information
lrxtom2 committed Jun 3, 2020
1 parent f58ac42 commit c5ce87a
Show file tree
Hide file tree
Showing 20 changed files with 0 additions and 21 deletions.
1 change: 0 additions & 1 deletion examples/app-service/backup/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ resource "azurerm_storage_account" "test" {

resource "azurerm_storage_container" "test" {
name = "${var.prefix}-sc"
resource_group_name = "${azurerm_resource_group.test.name}"
storage_account_name = "${azurerm_storage_account.test.name}"
container_access_type = "private"
}
Expand Down
1 change: 0 additions & 1 deletion examples/stream-analytics/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ resource "azurerm_storage_account" "example" {

resource "azurerm_storage_container" "example" {
name = "${var.prefix}example"
resource_group_name = "${azurerm_resource_group.example.name}"
storage_account_name = "${azurerm_storage_account.example.name}"
container_access_type = "private"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,6 @@ resource "azurerm_storage_account" "slave" {

resource "azurerm_storage_container" "slave" {
name = "${var.vm_slave_storage_account_container_name}${count.index}"
resource_group_name = "${azurerm_resource_group.rg.name}"
storage_account_name = "${element(azurerm_storage_account.slave.*.name, count.index)}"
container_access_type = "private"
depends_on = ["azurerm_storage_account.slave"]
Expand All @@ -248,7 +247,6 @@ resource "azurerm_storage_account" "cassandra" {

resource "azurerm_storage_container" "cassandra" {
name = "${var.vm_cassandra_storage_account_container_name}"
resource_group_name = "${azurerm_resource_group.rg.name}"
storage_account_name = "${azurerm_storage_account.cassandra.name}"
container_access_type = "private"
depends_on = ["azurerm_storage_account.cassandra"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ resource "azurerm_storage_account" "example" {

resource "azurerm_storage_container" "example" {
name = "vhds"
resource_group_name = "${azurerm_resource_group.example.name}"
storage_account_name = "${azurerm_storage_account.example.name}"
container_access_type = "private"
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ resource "azurerm_storage_account" "storage" {
resource "azurerm_storage_container" "container" {
name = "mycontainer"
resource_group_name = azurerm_resource_group.rg.name
storage_account_name = azurerm_storage_account.storage.name
container_access_type = "private"
}
Expand Down
1 change: 0 additions & 1 deletion website/docs/r/hdinsight_hadoop_cluster.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ resource "azurerm_storage_account" "example" {
resource "azurerm_storage_container" "example" {
name = "hdinsight"
resource_group_name = azurerm_resource_group.example.name
storage_account_name = azurerm_storage_account.example.name
container_access_type = "private"
}
Expand Down
1 change: 0 additions & 1 deletion website/docs/r/hdinsight_hbase_cluster.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ resource "azurerm_storage_account" "example" {
resource "azurerm_storage_container" "example" {
name = "hdinsight"
resource_group_name = azurerm_resource_group.example.name
storage_account_name = azurerm_storage_account.example.name
container_access_type = "private"
}
Expand Down
1 change: 0 additions & 1 deletion website/docs/r/hdinsight_kafka_cluster.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ resource "azurerm_storage_account" "example" {
resource "azurerm_storage_container" "example" {
name = "hdinsight"
resource_group_name = azurerm_resource_group.example.name
storage_account_name = azurerm_storage_account.example.name
container_access_type = "private"
}
Expand Down
1 change: 0 additions & 1 deletion website/docs/r/hdinsight_ml_services_cluster.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ resource "azurerm_storage_account" "example" {
resource "azurerm_storage_container" "example" {
name = "hdinsight"
resource_group_name = azurerm_resource_group.example.name
storage_account_name = azurerm_storage_account.example.name
container_access_type = "private"
}
Expand Down
1 change: 0 additions & 1 deletion website/docs/r/hdinsight_rserver_cluster.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ resource "azurerm_storage_account" "example" {
resource "azurerm_storage_container" "example" {
name = "hdinsight"
resource_group_name = azurerm_resource_group.example.name
storage_account_name = azurerm_storage_account.example.name
container_access_type = "private"
}
Expand Down
1 change: 0 additions & 1 deletion website/docs/r/hdinsight_spark_cluster.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ resource "azurerm_storage_account" "example" {
resource "azurerm_storage_container" "example" {
name = "hdinsight"
resource_group_name = azurerm_resource_group.example.name
storage_account_name = azurerm_storage_account.example.name
container_access_type = "private"
}
Expand Down
1 change: 0 additions & 1 deletion website/docs/r/hdinsight_storm_cluster.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ resource "azurerm_storage_account" "example" {
resource "azurerm_storage_container" "example" {
name = "hdinsight"
resource_group_name = azurerm_resource_group.example.name
storage_account_name = azurerm_storage_account.example.name
container_access_type = "private"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ resource "azurerm_storage_account" "example" {
resource "azurerm_storage_container" "example" {
name = "acctestcont"
resource_group_name = azurerm_resource_group.example.name
storage_account_name = azurerm_storage_account.example.name
container_access_type = "private"
}
Expand Down
1 change: 0 additions & 1 deletion website/docs/r/iothub_fallback_route.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ resource "azurerm_storage_account" "example" {
resource "azurerm_storage_container" "example" {
name = "example"
resource_group_name = azurerm_resource_group.example.name
storage_account_name = azurerm_storage_account.example.name
container_access_type = "private"
}
Expand Down
1 change: 0 additions & 1 deletion website/docs/r/iothub_route.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ resource "azurerm_storage_account" "example" {
resource "azurerm_storage_container" "example" {
name = "example"
resource_group_name = azurerm_resource_group.example.name
storage_account_name = azurerm_storage_account.example.name
container_access_type = "private"
}
Expand Down
1 change: 0 additions & 1 deletion website/docs/r/stream_analytics_output_blob.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ resource "azurerm_storage_account" "example" {
resource "azurerm_storage_container" "example" {
name = "example"
resource_group_name = data.azurerm_resource_group.example.name
storage_account_name = azurerm_storage_account.example.name
container_access_type = "private"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ resource "azurerm_storage_account" "example" {
resource "azurerm_storage_container" "example" {
name = "example"
resource_group_name = azurerm_resource_group.example.name
storage_account_name = azurerm_storage_account.example.name
container_access_type = "private"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ resource "azurerm_storage_account" "example" {
resource "azurerm_storage_container" "example" {
name = "example"
resource_group_name = azurerm_resource_group.example.name
storage_account_name = azurerm_storage_account.example.name
container_access_type = "private"
}
Expand Down
1 change: 0 additions & 1 deletion website/docs/r/virtual_machine_extension.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ resource "azurerm_storage_account" "example" {
resource "azurerm_storage_container" "example" {
name = "vhds"
resource_group_name = azurerm_resource_group.example.name
storage_account_name = azurerm_storage_account.example.name
container_access_type = "private"
}
Expand Down
1 change: 0 additions & 1 deletion website/docs/r/virtual_machine_scale_set.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@ resource "azurerm_storage_account" "example" {
resource "azurerm_storage_container" "example" {
name = "vhds"
resource_group_name = azurerm_resource_group.example.name
storage_account_name = azurerm_storage_account.example.name
container_access_type = "private"
}
Expand Down

0 comments on commit c5ce87a

Please sign in to comment.