diff --git a/README.md b/README.md index 7f4af01..6f7caa8 100644 --- a/README.md +++ b/README.md @@ -30,22 +30,27 @@ provider "azurerm" { client_secret = var.azure_client_secret } -module "bootstrap" { - source = "github.com/stealthllama/terraform-azurerm-panos-bootstrap" +module "panos-bootstrap" { + source = "stealthllama/panos-bootstrap/azurerm" + version = "1.0.3" azure_resource_group = var.azure_resource_group azure_location = var.azure_location hostname = "az-firewall" panorama-server = "panorama1.example.org" - panorama-server2 = "panorama2.example.org + panorama-server2 = "panorama2.example.org" tplname = "Azure Firewall Template" dgname = "Azure Firewalls" vm-auth-key = "supersecretauthkey" } ``` +## Requirements + +The [Azure CLI](https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest) must be installed on the host executing the Terraform plan. + ## Instructions 1. Define a `main.tf` file that calls the module and provides any required and optional variables. diff --git a/main.tf b/main.tf index 284a37b..0f5dd09 100644 --- a/main.tf +++ b/main.tf @@ -61,7 +61,6 @@ resource "local_file" "write-init-cfg" { } resource "null_resource" "file_uploads" { - # for_each = fileset("${path.root}/files", "**") provisioner "local-exec" { command = "cd ${path.root}/files; az storage file upload-batch --account-name ${azurerm_storage_account.bootstrap-storage-acct.name} --account-key ${azurerm_storage_account.bootstrap-storage-acct.primary_access_key} --source . --destination ${azurerm_storage_share.bootstrap-storage-share.name}"