-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcts.hcl
48 lines (42 loc) · 1.1 KB
/
cts.hcl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Global Config Options
log_level = "info"
buffer_period {
min = "5s"
max = "20s"
}
# Configures Consul-Terraform-Sync connection with a Consul agent to perform queries to the Consul catalog
consul {
address = "consul-server:8500"
service_registration {
enabled = true
service_name = "consul-terraform-sync"
default_check {
enabled = true
address = "http://consul-terraform-sync:8558"
}
}
}
# Relays provider discovery and installation information to Terraform
driver "terraform" {
log = true
path = "/consul-terraform-sync/"
required_providers {
panos = {
source = "PaloAltoNetworks/panos"
}
}
}
## Network Infrastructure Options
# Palo Alto Workflow Options
terraform_provider "panos" {
alias = "panos1"
}
## Consul Terraform Sync Task Definitions
# A task is executed when any change to the defined services are detected in the Consul catalog
task {
name = "Demo-Application"
description = "Automate population of dynamic address group"
module = "PaloAltoNetworks/dag-nia/panos"
providers = ["panos.panos1"]
services = ["dns"]
}