Created
October 12, 2020 06:29
-
-
Save BeenzSyed/c0c6c993019404dbfd18c72fffcf8adb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
terraform { | |
required_version = "~>0.13.0" | |
required_providers { | |
panos = { | |
source = "PaloAltoNetworks/panos" | |
} | |
} | |
backend "consul" { | |
address = "localhost:8500" | |
gzip = true | |
path = "consul-terraform-sync/terraform" | |
} | |
} | |
provider "panos" { | |
api_key = var.panos.api_key | |
hostname = var.panos.hostname | |
} | |
# This task dynamically creates a Dynamic Address Group | |
module "demo" { | |
source = "devarshishah3/dag-nia/panos" | |
services = var.services | |
dag_prefix = var.dag_prefix | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment