|
2020/10/12 06:13:48.051457 [INFO] 0.1.0-techpreview1 (2862363) |
|
2020/10/12 06:13:48.051513 [DEBUG] &Config{LogLevel:debug, InspectMode:false, Syslog:&SyslogConfig{Enabled:false, Facility:LOCAL0, Name:}, Consul:&ConsulConfig{Address:localhost:8500, Auth:&AuthConfig{Enabled:false, Username:, Password:}, KVNamespace:, KVPath:consul-terraform-sync/, TLS:&TLSConfig{CACert:, CAPath:, Cert:, Enabled:false, Key:, ServerName:, Verify:true}, Token:, Transport:&TransportConfig{DialKeepAlive:30s, DialTimeout:30s, DisableKeepAlives:false, MaxIdleConnsPerHost:17, TLSHandshakeTimeout:10s}}, Driver:&DriverConfig{Terraform:&TerraformConfig{Log:true, PersistLog:false, Path:/Users/sabeensyed/ct-sync, WorkingDir:/Users/sabeensyed/ct-sync/sync-tasks, Backend:map[consul:map[address:localhost:8500 gzip:true path:consul-terraform-sync/terraform]], RequiredProviders:map[panos:map[source:PaloAltoNetworks/panos]]}}, Tasks:{&TaskConfig{Name:demo, Description:This task dynamically creates a Dynamic Address Group, Providers:[panos.panos1], Services:[web], Source:devarshishah3/dag-nia/panos, VarFiles:[], Version:, BufferPeriod:&BufferPeriodConfig{Enabled:false, Min:5s, Max:20s}}}, Services:{}, Providers:{&map[panos:(redacted)]}, BufferPeriod:&BufferPeriodConfig{Enabled:true, Min:5s, Max:20s}} |
|
2020/10/12 06:13:48.051598 [INFO] (cli) setting up controller: readwrite |
|
2020/10/12 06:13:48.051604 [INFO] (ctrl) setting up Terraform driver |
|
2020/10/12 06:13:48.051610 [INFO] (handler.panos) creating handler |
|
2020/10/12 06:13:48.051647 [INFO] (ctrl) retrieved handler for provider 'panos' |
|
2020/10/12 06:13:48.051651 [INFO] (ctrl) retrieved 1 Terraform handlers |
|
2020/10/12 06:13:48.054161 [INFO] (cli) initializing controller |
|
2020/10/12 06:13:48.054190 [INFO] (ctrl) initializing driver |
|
2020/10/12 06:13:48.054192 [INFO] (ctrl) initializing all tasks |
|
2020/10/12 06:13:48.098589 [INFO] (driver.terraform) skipping install, terraform 0.13.4 already exists at path /Users/sabeensyed/ct-sync/terraform |
|
2020/10/12 06:13:48.098610 [DEBUG] (ctrl) initializing task "demo" |
|
2020/10/12 06:13:48.098665 [INFO] (templates.tftmpl) overwriting terraform.tfvars.tmpl in root module for task "demo" |
|
2020/10/12 06:13:48.098673 [DEBUG] (templates.tftmpl) creating terraform.tfvars.tmpl in root module for task "demo": /Users/sabeensyed/ct-sync/sync-tasks/demo/terraform.tfvars.tmpl |
|
2020/10/12 06:13:48.106695 [INFO] (templates.tftmpl) overwriting main.tf in root module for task "demo" |
|
2020/10/12 06:13:48.106703 [DEBUG] (templates.tftmpl) creating main.tf in root module for task "demo": /Users/sabeensyed/ct-sync/sync-tasks/demo/main.tf |
|
2020/10/12 06:13:48.114148 [INFO] (templates.tftmpl) overwriting variables.tf in root module for task "demo" |
|
2020/10/12 06:13:48.114169 [DEBUG] (templates.tftmpl) creating variables.tf in root module for task "demo": /Users/sabeensyed/ct-sync/sync-tasks/demo/variables.tf |
|
2020/10/12 06:13:48.122232 [INFO] (client.terraformcli) Terraform logging is set, Terraform logs will output with Sync logs |
|
2020/10/12 06:13:48.122322 [INFO] (ctrl) driver initialized |
|
2020/10/12 06:13:48.122341 [INFO] (ctrl) executing all tasks once through |
|
2020/10/12 06:13:48.235859 [DEBUG] (ctrl) change detected for task demo |
|
2020/10/12 06:13:48.236023 [INFO] (ctrl) executing task demo |
|
2020/10/12 06:13:48.535545 [INFO] running Terraform command: /Users/sabeensyed/ct-sync/terraform init -no-color -force-copy -input=false -lock-timeout=0s -backend=true -get=true -get-plugins=true -lock=true -upgrade=false -verify-plugins=true |
|
Initializing modules... |
|
|
|
Initializing the backend... |
|
|
|
Initializing provider plugins... |
|
- Using previously-installed paloaltonetworks/panos v1.6.3 |
|
|
|
Terraform has been successfully initialized! |
|
2020/10/12 06:13:48.822030 [INFO] running Terraform command: /Users/sabeensyed/ct-sync/terraform workspace new -no-color demo |
|
Workspace "demo" already exists |
|
2020/10/12 06:13:49.013839 [DEBUG] (client.terraformcli) workspace already exists: 'demo' |
|
2020/10/12 06:13:49.013884 [INFO] running Terraform command: /Users/sabeensyed/ct-sync/terraform workspace select -no-color demo |
|
2020/10/12 06:13:49.591271 [INFO] running Terraform command: /Users/sabeensyed/ct-sync/terraform apply -no-color -auto-approve -input=false -var-file=terraform.tfvars -lock=true -parallelism=10 -refresh=true |
|
module.demo.panos_dag_tags.example["web1.sabeens-mbp.lan.dc1"]: Creating... |
|
|
|
Error: Type [user-id] not authorized for user role. |
|
|
|
on .terraform/modules/demo/main.tf line 11, in resource "panos_dag_tags" "example": |
|
11: resource "panos_dag_tags" "example" { |
|
|
|
|
|
2020/10/12 06:13:52.410127 [ERR] (cli) error running controller in Once mode: could not apply changes for task demo: error tf-apply for 'demo': attempt #1 failed ' |
|
Error: Type [user-id] not authorized for user role. |
|
|
|
on .terraform/modules/demo/main.tf line 11, in resource "panos_dag_tags" "example": |
|
11: resource "panos_dag_tags" "example" { |
|
|
|
|
|
' |