Skip to content

Instantly share code, notes, and snippets.

@giorgiosironi
Created May 11, 2018 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save giorgiosironi/1886c616f69287cfc6a45fdf670240f3 to your computer and use it in GitHub Desktop.
Save giorgiosironi/1886c616f69287cfc6a45fdf670240f3 to your computer and use it in GitHub Desktop.
2018/05/11 14:52:54 [DEBUG] [aws-sdk-go]
2018/05/11 14:52:54 [INFO] terraform: building graph: GraphTypeInput
2018/05/11 14:52:54 [DEBUG] Attaching resource state to "fastly_service_v1.fastly-cdn": &terraform.ResourceState{Type:"fastly_service_v1", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc4202cecd0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.fastly", mu:sync.Mutex{state:0, sema:0x0}}
2018/05/11 14:52:54 [TRACE] Graph after step *terraform.AttachStateTransformer:
fastly_service_v1.fastly-cdn - *terraform.NodeAbstractResource
2018/05/11 14:52:54 [TRACE] Graph after step *terraform.RootVariableTransformer:
fastly_service_v1.fastly-cdn - *terraform.NodeAbstractResource
2018/05/11 14:52:54 [TRACE] ProviderConfigTransformer: Starting for path: []
2018/05/11 14:52:54 [DEBUG] resource fastly_service_v1.fastly-cdn using provider provider.fastly
2018/05/11 14:52:54 [DEBUG] pruning unused provider provider.vault
2018/05/11 14:52:54 [DEBUG] ReferenceTransformer: "provider.fastly" references: []
2018/05/11 14:52:54 [DEBUG] ReferenceTransformer: "fastly_service_v1.fastly-cdn" references: []
2018/05/11 14:52:54 [DEBUG] Starting graph walk: walkInput
2018-05-11T14:52:54.921+0100 [DEBUG] plugin: starting plugin: path=/home/giorgio/code/builder/.cfn/terraform/api-gateway--vcltest/.terraform/plugins/linux_amd64/terraform-provider-fastly_v0.1.4_x4 args=[/home/giorgio/code/builder/.cfn/terraform/api-gateway--vcltest/.terraform/plugins/linux_amd64/terraform-provider-fastly_v0.1.4_x4]
2018-05-11T14:52:54.921+0100 [DEBUG] plugin: waiting for RPC address: path=/home/giorgio/code/builder/.cfn/terraform/api-gateway--vcltest/.terraform/plugins/linux_amd64/terraform-provider-fastly_v0.1.4_x4
2018-05-11T14:52:54.924+0100 [DEBUG] plugin.terraform-provider-fastly_v0.1.4_x4: 2018/05/11 14:52:54 [DEBUG] plugin: plugin address: unix /tmp/plugin692878643
2018/05/11 14:52:54 [INFO] terraform: building graph: GraphTypeValidate
2018/05/11 14:52:54 [DEBUG] Attaching resource state to "fastly_service_v1.fastly-cdn": &terraform.ResourceState{Type:"fastly_service_v1", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc4202cecd0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.fastly", mu:sync.Mutex{state:0, sema:0x0}}
2018/05/11 14:52:54 [DEBUG] resource fastly_service_v1.fastly-cdn using provider provider.fastly
2018/05/11 14:52:54 [DEBUG] pruning unused provider provider.vault
2018/05/11 14:52:54 [DEBUG] Attaching resource state to "fastly_service_v1.fastly-cdn": &terraform.ResourceState{Type:"fastly_service_v1", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc4202cecd0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.fastly", mu:sync.Mutex{state:0, sema:0x0}}
2018/05/11 14:52:54 [DEBUG] ReferenceTransformer: "fastly_service_v1.fastly-cdn" references: []
2018/05/11 14:52:54 [INFO] backend/local: apply calling Refresh
2018/05/11 14:52:54 [INFO] terraform: building graph: GraphTypeRefresh
r path: []
2018/05/11 14:52:54 [TRACE] Attach provider request: []string{} fastly
2018/05/11 14:52:54 [TRACE] Attaching provider config: *config.ProviderConfig{Name:"fastly", Alias:"", Version:"= 0.1.4", RawConfig:(*config.RawConfig)(0xc4204800e0)}
2018/05/11 14:52:54 [TRACE] Attach provider request: []string{} vault
2018/05/11 14:52:54 [TRACE] Attaching provider config: *config.ProviderConfig{Name:"vault", Alias:"", Version:"", RawConfig:(*config.RawConfig)(0xc420480150)}
2018/05/11 14:52:54 [TRACE] Graph after step *terraform.ProviderConfigTransformer:
fastly_service_v1.fastly-cdn - *terraform.NodeRefreshableManagedResource
provider.fastly - *terraform.NodeApplyableProvider
provider.vault - *terraform.NodeApplyableProvider
2018/05/11 14:52:54 [TRACE] Graph after step *terraform.MissingProviderTransformer:
fastly_service_v1.fastly-cdn - *terraform.NodeRefreshableManagedResource
provider.fastly - *terraform.NodeApplyableProvider
provider.vault - *terraform.NodeApplyableProvider
2018/05/11 14:52:54 [DEBUG] resource fastly_service_v1.fastly-cdn using provider provider.fastly
2018/05/11 14:52:54 [TRACE] Graph after step *terraform.ProviderTransformer:
fastly_service_v1.fastly-cdn - *terraform.NodeRefreshableManagedResource
provider.fastly - *terraform.NodeApplyableProvider
provider.fastly - *terraform.NodeApplyableProvider
provider.vault - *terraform.NodeApplyableProvider
2018/05/11 14:52:54 [DEBUG] pruning unused provider provider.vault
2018/05/11 14:52:54 [TRACE] Graph after step *terraform.PruneProviderTransformer:
fastly_service_v1.fastly-cdn - *terraform.NodeRefreshableManagedResource
provider.fastly - *terraform.NodeApplyableProvider
provider.fastly - *terraform.NodeApplyableProvider
2018/05/11 14:52:54 [TRACE] Graph after step *terraform.ParentProviderTransformer:
fastly_service_v1.fastly-cdn - *terraform.NodeRefreshableManagedResource
provider.fastly - *terraform.NodeApplyableProvider
provider.fastly - *terraform.NodeApplyableProvider
2018/05/11 14:52:54 [TRACE] Graph after step *terraform.graphTrer
fastly_service_v1.fastly-cdn: Refreshing state... (ID: 1jssdFTux7x4TEME7dw7JQ)
2018/05/11 14:52:54 [DEBUG] Attaching resource state to "fastly_service_v1.fastly-cdn": &terraform.ResourceState{Type:"fastly_service_v1", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc4204cc410), Deposed:[]*terraform.InstanceState{}, Provider:"provider.fastly", mu:sync.Mutex{state:0, sema:0x0}}
2018/05/11 14:52:54 [TRACE] Graph after step *terraform.AttachStateTransformer:
fastly_service_v1.fastly-cdn - *terraform.NodeRefreshableManagedResourceInstance
2018/05/11 14:52:54 [TRACE] Graph after step *terraform.TargetsTransformer:
fastly_service_v1.fastly-cdn - *terraform.NodeRefreshableManagedResourceInstance
2018/05/11 14:52:54 [DEBUG] ReferenceTransformer: "fastly_service_v1.fastly-cdn" references: []
2018/05/11 14:52:54 [TRACE] Graph after step *terraform.ReferenceTransformer:
fastly_service_v1.fastly-cdn - *terraform.NodeRefreshableManagedResourceInstance
2018/05/11 14:52:54 [TRACE] Graph after step *terraform.RootTransformer:
fastly_service_v1.fastly-cdn - *terraform.NodeRefreshableManagedResourceInstance
2018/05/11 14:52:54 [TRACE] dag/walk: added new vertex: "fastly_service_v1.fastly-cdn"
2018/05/11 14:52:54 [TRACE] dag/walk: walking "fastly_service_v1.fastly-cdn"
2018/05/11 14:52:54 [TRACE] vertex 'root.fastly_service_v1.fastly-cdn': walking
2018/05/11 14:52:54 [TRACE] vertex 'root.fastly_service_v1.fastly-cdn': evaluating
2018/05/11 14:52:54 [TRACE] [walkRefresh] Entering eval tree: fastly_service_v1.fastly-cdn
2018/05/11 14:52:54 [TRACE] root: eval: *terraform.EvalSequence
2018/05/11 14:52:54 [TRACE] root: eval: *terraform.EvalGetProvider
2018/05/11 14:52:54 [TRACE] root: eval: *terraform.EvalReadState
2018/05/11 14:52:54 [TRACE] root: eval: *terraform.EvalRefresh
2018-05-11T14:53:00.459+0100 [DEBUG] plugin.terraform-provider-fastly_v0.1.4_x4: 2018/05/11 14:53:00 [DEBUG] Found Service (1jssdFTux7x4TEME7dw7JQ)
2018-05-11T14:53:05.961+0100 [DEBUG] plugin.terraform-provider-fastly_v0.1.4_x4: 2018/05/11 14:53:05 [DEBUG] Refreshing Domains for (1jssdFTux7x4TEME7dw7JQ)
2018-05-11T14:53:06.182+0100 [DEBUG] plugin.terraform-provider-fastly_v0.1.4_x4: 2018/05/11 14:53:06 [DEBUG] Refreshing Backends for (1jssdFTux7x4TEME7dw7JQ)
2018-05-11T14:53:06.593+0100 [DEBUG] plugin.terraform-provider-fastly_v0.1.4_x4: 2018/05/11 14:53:06 [DEBUG] Refreshing Headers for (1jssdFTux7x4TEME7dw7JQ)
2018-05-11T14:53:07.001+0100 [DEBUG] plugin.terraform-provider-fastly_v0.1.4_x4: 2018/05/11 14:53:07 [DEBUG] Refreshing Gzips for (1jssdFTux7x4TEME7dw7JQ)
2018-05-11T14:53:07.413+0100 [DEBUG] plugin.terraform-provider-fastly_v0.1.4_x4: 2018/05/11 14:53:07 [DEBUG] Refreshing Healthcheck for (1jssdFTux7x4TEME7dw7JQ)
2018-05-11T14:53:12.940+0100 [DEBUG] plugin.terraform-provider-fastly_v0.1.4_x4: 2018/05/11 14:53:12 [DEBUG] Refreshing S3 Logging for (1jssdFTux7x4TEME7dw7JQ)
2018-05-11T14:53:13.081+0100 [DEBUG] plugin.terraform-provider-fastly_v0.1.4_x4: 2018/05/11 14:53:13 [DEBUG] Refreshing Papertrail for (1jssdFTux7x4TEME7dw7JQ)
2018-05-11T14:53:18.574+0100 [DEBUG] plugin.terraform-provider-fastly_v0.1.4_x4: 2018/05/11 14:53:18 [DEBUG] Refreshing Sumologic for (1jssdFTux7x4TEME7dw7JQ)
2018-05-11T14:53:20.006+0100 [DEBUG] plugin.terraform-provider-fastly_v0.1.4_x4: 2018/05/11 14:53:20 [DEBUG] Refreshing GCS for (1jssdFTux7x4TEME7dw7JQ)
2018-05-11T14:53:20.377+0100 [DEBUG] plugin.terraform-provider-fastly_v0.1.4_x4: 2018/05/11 14:53:20 [DEBUG] Refreshing Syslog for (1jssdFTux7x4TEME7dw7JQ)
2018-05-11T14:53:25.844+0100 [DEBUG] plugin.terraform-provider-fastly_v0.1.4_x4: 2018/05/11 14:53:25 [DEBUG] Refreshing Logentries for (1jssdFTux7x4TEME7dw7JQ)
2018-05-11T14:53:25.979+0100 [DEBUG] plugin.terraform-provider-fastly_v0.1.4_x4: 2018/05/11 14:53:25 [DEBUG] Refreshing Response Object for (1jssdFTux7x4TEME7dw7JQ)
2018-05-11T14:53:31.167+0100 [DEBUG] plugin.terraform-provider-fastly_v0.1.4_x4: 2018/05/11 14:53:31 [DEBUG] Refreshing Conditions for (1jssdFTux7x4TEME7dw7JQ)
2018-05-11T14:53:31.527+0100 [DEBUG] plugin.terraform-provider-fastly_v0.1.4_x4: 2018/05/11 14:53:31 [DEBUG] Refreshing Request Settings for (1jssdFTux7x4TEME7dw7JQ)
2018-05-11T14:53:31.783+0100 [DEBUG] plugin.terraform-provider-fastly_v0.1.4_x4: 2018/05/11 14:53:31 [DEBUG] Refreshing VCLs for (1jssdFTux7x4TEME7dw7JQ)
2018-05-11T14:53:31.988+0100 [DEBUG] plugin.terraform-provider-fastly_v0.1.4_x4: 2018/05/11 14:53:31 [DEBUG] Refreshing Cache Settings for (1jssdFTux7x4TEME7dw7JQ)
2018/05/11 14:53:32 [INFO] backend/local: apply calling Plan
2018/05/11 14:53:32 [INFO] terraform: building graph: GraphTypePlan
2018/05/11 14:53:32 [DEBUG] Attaching resource state to "fastly_service_v1.fastly-cdn": &terraform.ResourceState{Type:"fastly_service_v1", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc4202ce8c0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.fastly", mu:sync.Mutex{state:0, sema:0x0}}
2018/05/11 14:53:32 [TRACE] Graph after step *terraform.AttachStateTransformer:
fastly_service_v1.fastly-cdn - *terraform.NodePlannableResource
raform.NodePlannableResource
provider.fastly - *terraform.NodeApplyableProvider
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
fastly_service_v1.fastly-cdn - *terraform.NodePlannableResource
provider.fastly - *terraform.NodeApplyableProvider
provider.fastly (close) - *terraform.graphNodeCloseProvider
fastly_service_v1.fastly-cdn - *terraform.NodePlannableResource
root - terraform.graphNodeRoot
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
provider.fastly (close) - *terraform.graphNodeCloseProvider
2018/05/11 14:53:32 [DEBUG] Starting graph walk: walkPlan
2018/05/11 14:53:32 [TRACE] dag/walk: added new vertex: "provider.fastly (close)"
2018/05/11 14:53:32 [TRACE] dag/walk: added new vertex: "root"
2018/05/11 14:53:32 [TRACE] dag/walk: added new vertex: "fastly_service_v1.fastly-cdn"
2018/05/11 14:53:32 [TRACE] dag/walk: added new vertex: "provider.fastly"
2018/05/11 14:53:32 [TRACE] dag/walk: added new vertex: "meta.count-boundary (count boundary fixup)"
2018/05/11 14:53:32 [TRACE] dag/walk: added edge: "root" waiting on "provider.fastly (close)"
2018/05/11 14:53:32 [TRACE] dag/walk: added edge: "root" waiting on "meta.count-boundary (count boundary fixup)"
2018/05/11 14:53:32 [TRACE] dag/walk: added edge: "fastly_service_v1.fastly-cdn" waiting on "provider.fastly"
2018/05/11 14:53:32 [TRACE] dag/walk: added edge: "meta.count-boundary (count boundary fixup)" waiting on "fastly_service_v1.fastly-cdn"
2018/05/11 14:53:32 [TRACE] dag/walk: added edge: "provider.fastly (close)" waiting on "fastly_service_v1.fastly-cdn"
2018/05/11 14:53:32 [TRACE] dag/walk: dependencies changed for "root", sending new deps
2018/05/11 14:53:32 [TRACE] dag/walk: dependencies changed for "fastly_service_v1.fastly-cdn", sending new deps
2018/05/11 14:53:32 [TRACE] dag/walk: dependencies changed for "meta.count-boundary (count boundary fixup)", sending new deps
2018/05/11 14:53:32 [TRACE] dag/walk: dependencies changed for "provider.fastly (close)", sending new deps
2018/05/112018/05/11 14:53:32 [DEBUG] Attaching resource state to "fastly_service_v1.fastly-cdn": &terraform.ResourceState{Type:"fastly_service_v1", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc4202ce8c0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.fastly", mu:sync.Mutex{state:0, sema:0x0}}
2018/05/11 14:53:32 [DEBUG] ReferenceTransformer: "fastly_service_v1.fastly-cdn" references: []
2018/05/11 14:53:32 [TRACE] Graph after step *terraform.ReferenceTransformer:
fastly_service_v1.fastly-cdn - *terraform.NodePlannableResourceInstance
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
~ fastly_service_v1.fastly-cdn
2018/05/11 14:53:32 [DEBUG] command: asking for input: "Do you want to perform these actions?"
vcl.146061381.content: "\n if ((beresp.status == 200 || beresp.status == 404) && (beresp.http.content-type ~ \"(\\+json)\\s*($|;)\" || req.url ~ \"\\.(css|js|html|eot|ico|otf|ttf|json|svg)($|\\?)\" ) ) {\n # always set vary to make sure uncompressed versions dont always win\n if (!beresp.http.Vary ~ \"Accept-Encoding\") {\n if (beresp.http.Vary) {\n set beresp.http.Vary = beresp.http.Vary \", Accept-Encoding\";\n } else {\n set beresp.http.Vary = \"Accept-Encoding\";\n }\n }\n if (req.http.Accept-Encoding == \"gzip\") {\n set beresp.gzip = true;\n }\n }\n " => ""
vcl.146061381.main: "false" => "false"
vcl.146061381.name: "gzip-by-regex" => ""
vcl.35407642.content: "\n sub vcl_recv {\n #FASTLY recv\n\n if (req.request != \"HEAD\" && req.request != \"GET\" && req.request != \"FASTLYPURGE\") {\n return(pass);\n }\n\n return(lookup);\n }\n\n sub vcl_fetch {\n include \"gzip-by-regex\"\n\n #FASTLY fetch\n\n if ((beresp.status == 500 || beresp.status == 503) && req.restarts < 1 && (req.request == \"GET\" || req.request == \"HEAD\")) {\n restart;\n }\n\n if (req.restarts > 0) {\n set beresp.http.Fastly-Restarts = req.restarts;\n }\n\n if (beresp.http.Set-Cookie) {\n set req.http.Fastly-Cachetype = \"SETCOOKIE\";\n return(pass);\n }\n\n if (beresp.http.Cache-Control ~ \"private\") {\n set req.http.Fastly-Cachetype = \"PRIVATE\";\n return(pass);\n }\n\n if (beresp.status == 500 || beresp.status == 503) {\n set req.http.Fastly-Cachetype = \"ERROR\";\n set beresp.ttl = 1s;\n set beresp.grace = 5s;\n return(deliver);\n }\n\n if (beresp.http.Expires || beresp.http.Surrogate-Control ~ \"max-age\" || beresp.http.Cache-Control ~ \"(s-maxage|max-age)\") {\n # keep the ttl here\n } else {\n # apply the default ttl\n set beresp.ttl = 3600s;\n }\n\n return(deliver);\n }\n\n sub vcl_hit {\n #FASTLY hit\n\n if (!obj.cacheable) {\n return(pass);\n }\n return(deliver);\n }\n\n sub vcl_miss {\n #FASTLY miss\n return(fetch);\n }\n\n sub vcl_deliver {\n #FASTLY deliver\n return(deliver);\n }\n\n sub vcl_error {\n #FASTLY error\n }\n\n sub vcl_pass {\n #FASTLY pass\n }\n\n sub vcl_log {\n #FASTLY log\n }" => ""
vcl.35407642.main: "true" => "false"
vcl.35407642.name: "main" => ""
vcl.3971786474.content: "" => "053fc68844dddf1304514127ccac13fb253edc88"
vcl.3971786474.main: "" => "true"
vcl.3971786474.name: "" => "main"
vcl.751199481.content: "" => "82a663ca3ed1f63352fb1f3b348bd43fc9c34b7e"
vcl.751199481.main: "" => "false"
vcl.751199481.name: "" => "gzip-by-regex"
Plan: 0 to add, 1 to change, 0 to destroy.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment