Skip to content

Commit

Permalink
(build) Fixing up terraform validate errors
Browse files Browse the repository at this point in the history
  • Loading branch information
gep13 committed Oct 1, 2020
1 parent 31cff5b commit 8d0fd9f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 4 additions & 1 deletion prepare-vms/azure/terraform/init.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Configure the Microsoft Azure Provider
provider "azurerm" {}
provider "azurerm" {
version = "=2.3.0"
features {}
}

# Create a resource group
resource "azurerm_resource_group" "global" {
Expand Down
3 changes: 1 addition & 2 deletions prepare-vms/azure/terraform/windows.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,14 @@ resource "azurerm_public_ip" "windows" {
idle_timeout_in_minutes = 30
location = "${var.location}"
name = "windows-${format("%02d", count.index + 1)}-publicip"
public_ip_address_allocation = "dynamic"
allocation_method = "Dynamic"
resource_group_name = "${azurerm_resource_group.global.name}"
}

resource "azurerm_storage_container" "windows" {
container_access_type = "private"
count = "${var.count}"
name = "windows-${format("%02d", count.index + 1)}-storage"
resource_group_name = "${azurerm_resource_group.global.name}"
storage_account_name = "${azurerm_storage_account.global.name}"
}

Expand Down

0 comments on commit 8d0fd9f

Please sign in to comment.