Skip to content

Instantly share code, notes, and snippets.

@sansb
Created August 28, 2018 01:15
Show Gist options
  • Save sansb/47f860b46dd1250045d1d68bb590c70d to your computer and use it in GitHub Desktop.
Save sansb/47f860b46dd1250045d1d68bb590c70d to your computer and use it in GitHub Desktop.
2018/08/27 18:14:34 [INFO] Terraform version: 0.11.8
2018/08/27 18:14:34 [INFO] Go runtime version: go1.10.3
2018/08/27 18:14:34 [INFO] CLI args: []string{"/usr/local/Cellar/terraform/0.11.8/bin/terraform", "apply"}
2018/08/27 18:14:34 [DEBUG] Attempting to open CLI config file: /Users/amitree/.terraformrc
2018/08/27 18:14:34 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2018/08/27 18:14:34 [INFO] CLI command args: []string{"apply"}
2018/08/27 18:14:34 [INFO] command: empty terraform config, returning nil
2018/08/27 18:14:34 [DEBUG] command: no data state file found for backend config
2018/08/27 18:14:34 [DEBUG] New state was assigned lineage "a7d9e27f-4dde-215e-81ed-8df862384979"
2018/08/27 18:14:34 [INFO] command: backend initialized: <nil>
2018/08/27 18:14:34 [DEBUG] checking for provider in "."
2018/08/27 18:14:34 [DEBUG] checking for provider in "/usr/local/Cellar/terraform/0.11.8/bin"
2018/08/27 18:14:34 [DEBUG] checking for provider in ".terraform/plugins/darwin_amd64"
2018/08/27 18:14:34 [DEBUG] found provider "terraform-provider-fastly_v0.3.0_x4"
2018/08/27 18:14:34 [DEBUG] found valid plugin: "fastly", "0.3.0", "/Users/amitree/workspace/amitree/cdn/.terraform/plugins/darwin_amd64/terraform-provider-fastly_v0.3.0_x4"
2018/08/27 18:14:34 [DEBUG] checking for provisioner in "."
2018/08/27 18:14:34 [DEBUG] checking for provisioner in "/usr/local/Cellar/terraform/0.11.8/bin"
2018/08/27 18:14:34 [DEBUG] checking for provisioner in ".terraform/plugins/darwin_amd64"
2018/08/27 18:14:34 [INFO] command: backend <nil> is not enhanced, wrapping in local
2018/08/27 18:14:34 [INFO] backend/local: starting Apply operation
2018/08/27 18:14:34 [INFO] terraform: building graph: GraphTypeInput
2018/08/27 18:14:34 [DEBUG] Resource state not found for "fastly_service_v1.app": fastly_service_v1.app
2018/08/27 18:14:34 [TRACE] Graph after step *terraform.AttachStateTransformer:
fastly_service_v1.app - *terraform.NodeAbstractResource
2018/08/27 18:14:34 [TRACE] Graph after step *terraform.RootVariableTransformer:
fastly_service_v1.app - *terraform.NodeAbstractResource
2018/08/27 18:14:34 [TRACE] ProviderConfigTransformer: Starting for path: []
2018/08/27 18:14:34 [TRACE] Attach provider request: []string{} fastly
2018/08/27 18:14:34 [DEBUG] resource fastly_service_v1.app using provider provider.fastly
2018/08/27 18:14:34 [DEBUG] ReferenceTransformer: "fastly_service_v1.app" references: []
2018/08/27 18:14:34 [DEBUG] ReferenceTransformer: "provider.fastly" references: []
2018-08-27T18:14:34.341-0700 [DEBUG] plugin: starting plugin: path=/Users/amitree/workspace/amitree/cdn/.terraform/plugins/darwin_amd64/terraform-provider-fastly_v0.3.0_x4 args=[/Users/amitree/workspace/amitree/cdn/.terraform/plugins/darwin_amd64/terraform-provider-fastly_v0.3.0_x4]
2018-08-27T18:14:34.343-0700 [DEBUG] plugin: waiting for RPC address: path=/Users/amitree/workspace/amitree/cdn/.terraform/plugins/darwin_amd64/terraform-provider-fastly_v0.3.0_x4
2018-08-27T18:14:34.349-0700 [DEBUG] plugin.terraform-provider-fastly_v0.3.0_x4: 2018/08/27 18:14:34 [DEBUG] plugin: plugin address: unix /var/folders/0z/kg_hr3nd4j19pq13wzs9fb680000gn/T/plugin028677670
2018/08/27 18:14:34 [INFO] terraform: building graph: GraphTypeValidate
2018/08/27 18:14:34 [DEBUG] Resource state not found for "fastly_service_v1.app": fastly_service_v1.app
2018/08/27 18:14:34 [TRACE] Graph after step *terraform.AttachStateTransformer:
fastly_service_v1.app - *terraform.NodeValidatableResource
2018/08/27 18:14:34 [DEBUG] ReferenceTransformer: "fastly_service_v1.app" references: []
2018/08/27 18:14:34 [DEBUG] ReferenceTransformer: "provider.fastly" references: []
2018/08/27 18:14:34 [DEBUG] Starting graph walk: walkValidate
2018/08/27 18:14:34 [DEBUG] Resource state not found for "fastly_service_v1.app": fastly_service_v1.app
2018/08/27 18:14:34 [DEBUG] ReferenceTransformer: "fastly_service_v1.app" references: []
2018/08/27 18:14:34 [INFO] backend/local: apply calling Refresh
2018/08/27 18:14:34 [INFO] terraform: building graph: GraphTypeRefresh
2018/08/27 18:14:34 [INFO] terraform: building graph: GraphTypePlan
2018/08/27 18:14:34 [DEBUG] Resource state not found for "fastly_service_v1.app": fastly_service_v1.app
2018/08/27 18:14:34 [DEBUG] ReferenceTransformer: "fastly_service_v1.app" references: []
2018/08/27 18:14:34 [DEBUG] ReferenceTransformer: "provider.fastly" references: []
2018/08/27 18:14:34 [DEBUG] Starting graph walk: walkPlan
2018/08/27 18:14:34 [DEBUG] Resource state not found for "fastly_service_v1.app": fastly_service_v1.app
2018/08/27 18:14:34 [TRACE] Graph after step *terraform.AttachStateTransformer:
fastly_service_v1.app - *terraform.NodePlannableResourceInstance
2018/08/27 18:14:34 [DEBUG] ReferenceTransformer: "fastly_service_v1.app" references: []
2018/08/27 18:14:34 [DEBUG] command: asking for input: "Do you want to perform these actions?"
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
+ fastly_service_v1.app
id: <computed>
active_version: <computed>
default_host: <computed>
default_ttl: "3600"
domain.#: "1"
domain.3024888530.comment: "demo"
domain.3024888530.name: "app.amitree-staging.com"
name: "app"
Plan: 1 to add, 0 to change, 0 to destroy.
Do you want to perform these actions?
Terraform will perform the actions described above.
Only 'yes' will be accepted to approve.
Enter a value: yes
2018/08/27 18:14:37 [INFO] terraform: building graph: GraphTypeApply
2018/08/27 18:14:37 [DEBUG] Resource state not found for "fastly_service_v1.app": fastly_service_v1.app
2018/08/27 18:14:37 [TRACE] Graph after step *terraform.AttachStateTransformer:
fastly_service_v1.app - *terraform.NodeApplyableResource
2018/08/27 18:14:37 [DEBUG] ReferenceTransformer: "fastly_service_v1.app" references: []
2018/08/27 18:14:37 [DEBUG] ReferenceTransformer: "provider.fastly" references: []
fastly_service_v1.app: Creating...
active_version: "" => "<computed>"
default_host: "" => "<computed>"
default_ttl: "" => "3600"
domain.#: "0" => "1"
domain.3024888530.comment: "" => "demo"
domain.3024888530.name: "" => "app.amitree-staging.com"
name: "" => "app"
2018/08/27 18:14:38 [ERROR] root: eval: *terraform.EvalApplyPost, err: 1 error(s) occurred:
* fastly_service_v1.app: 404 - Not Found:
Title: Record not found
Detail: Cannot find 'service'
2018/08/27 18:14:38 [ERROR] root: eval: *terraform.EvalSequence, err: 1 error(s) occurred:
* fastly_service_v1.app: 404 - Not Found:
Title: Record not found
Detail: Cannot find 'service'
2018/08/27 18:14:38 [TRACE] [walkApply] Exiting eval tree: fastly_service_v1.app
2018/08/27 18:14:38 [DEBUG] plugin: waiting for all plugin processes to complete...
Error: Error applying plan:
1 error(s) occurred:
* fastly_service_v1.app: 1 error(s) occurred:
* fastly_service_v1.app: 404 - Not Found:
Title: Record not found
Detail: Cannot find 'service'
Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.
2018-08-27T18:14:38.330-0700 [DEBUG] plugin: plugin process exited: path=/Users/amitree/workspace/amitree/cdn/.terraform/plugins/darwin_amd64/terraform-provider-fastly_v0.3.0_x4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment