Skip to content

Instantly share code, notes, and snippets.

@jakubgs
Created July 4, 2018 10:56
Show Gist options
  • Save jakubgs/40ef5df351e271c11a1fd5d92a8320a8 to your computer and use it in GitHub Desktop.
Save jakubgs/40ef5df351e271c11a1fd5d92a8320a8 to your computer and use it in GitHub Desktop.
Log from failing to create a cloudflare_load_balancer_pool
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:
+ cloudflare_load_balancer_pool.test
id: <computed>
check_regions.#: <computed>
created_on: <computed>
enabled: "true"
minimum_origins: "1"
modified_on: <computed>
name: "test"
origins.#: "2"
origins.273001426.address: "11.12.13.14"
origins.273001426.enabled: "true"
origins.273001426.name: "test2"
origins.3600976491.address: "11.12.13.12"
origins.3600976491.enabled: "true"
origins.3600976491.name: "test1"
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/07/04 12:53:25 [INFO] terraform: building graph: GraphTypeApply
2018/07/04 12:53:25 [TRACE] DiffTransformer: starting
2018/07/04 12:53:25 [TRACE] DiffTransformer: Module: CREATE: cloudflare_load_balancer_pool.test
check_regions.#: "" => "<computed>" (forces new resource)
created_on: "" => "<computed>"
enabled: "" => "true" (forces new resource)
minimum_origins: "" => "1" (forces new resource)
modified_on: "" => "<computed>"
name: "" => "test" (forces new resource)
origins.#: "" => "2" (forces new resource)
origins.273001426.address: "" => "11.12.13.14"
origins.273001426.enabled: "" => "true"
origins.273001426.name: "" => "test2"
origins.3600976491.address: "" => "11.12.13.12"
origins.3600976491.enabled: "" => "true"
origins.3600976491.name: "" => "test1"
2018/07/04 12:53:25 [TRACE] DiffTransformer: Resource "cloudflare_load_balancer_pool.test": *terraform.InstanceDiff{mu:sync.Mutex{state:0, sema:0x0}, Attributes:map[string]*terraform.ResourceAttrDiff{"name":*terraform.ResourceAttrDiff{Old:"", New:"test", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Sensitive:false, Type:0x0}, "created_on":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "id":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Sensitive:false, Type:0x2}, "origins.273001426.enabled":*terraform.ResourceAttrDiff{Old:"", New:"true", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "origins.3600976491.address":*terraform.ResourceAttrDiff{Old:"", New:"11.12.13.12", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "origins.3600976491.enabled":*terraform.ResourceAttrDiff{Old:"", New:"true", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "minimum_origins":*terraform.ResourceAttrDiff{Old:"", New:"1", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Sensitive:false, Type:0x0}, "origins.273001426.name":*terraform.ResourceAttrDiff{Old:"", New:"test2", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "origins.3600976491.name":*terraform.ResourceAttrDiff{Old:"", New:"test1", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "check_regions.#":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Sensitive:false, Type:0x0}, "origins.#":*terraform.ResourceAttrDiff{Old:"", New:"2", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Sensitive:false, Type:0x0}, "origins.273001426.address":*terraform.ResourceAttrDiff{Old:"", New:"11.12.13.14", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "modified_on":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "enabled":*terraform.ResourceAttrDiff{Old:"", New:"true", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Sensitive:false, Type:0x0}}, Destroy:false, DestroyDeposed:false, DestroyTainted:false, Meta:map[string]interface {}(nil)}
2018/07/04 12:53:25 [TRACE] Graph after step *terraform.DiffTransformer:
cloudflare_load_balancer_pool.test - *terraform.NodeApplyableResource
2018/07/04 12:53:25 [TRACE] Graph after step *terraform.OrphanOutputTransformer:
cloudflare_load_balancer_pool.test - *terraform.NodeApplyableResource
2018/07/04 12:53:25 [TRACE] AttachResourceConfigTransformer: Beginning...
2018/07/04 12:53:25 [TRACE] AttachResourceConfigTransformer: Attach resource config request: cloudflare_load_balancer_pool.test
2018/07/04 12:53:25 [TRACE] Attaching resource config: &config.Resource{Mode:0, Name:"test", Type:"cloudflare_load_balancer_pool", RawCount:(*config.RawConfig)(0xc420144150), RawConfig:(*config.RawConfig)(0xc4201920e0), Provisioners:[]*config.Provisioner(nil), Provider:"", DependsOn:[]string(nil), Lifecycle:config.ResourceLifecycle{CreateBeforeDestroy:false, PreventDestroy:false, IgnoreChanges:[]string(nil)}}
2018/07/04 12:53:25 [TRACE] Graph after step *terraform.AttachResourceConfigTransformer:
cloudflare_load_balancer_pool.test - *terraform.NodeApplyableResource
2018/07/04 12:53:25 [DEBUG] Resource state not found for "cloudflare_load_balancer_pool.test": cloudflare_load_balancer_pool.test
2018/07/04 12:53:25 [TRACE] Graph after step *terraform.AttachStateTransformer:
cloudflare_load_balancer_pool.test - *terraform.NodeApplyableResource
2018/07/04 12:53:25 [TRACE] ProviderConfigTransformer: Starting for path: []
2018/07/04 12:53:25 [TRACE] Graph after step *terraform.ProviderConfigTransformer:
cloudflare_load_balancer_pool.test - *terraform.NodeApplyableResource
2018/07/04 12:53:25 [DEBUG] adding missing provider: cloudflare
2018/07/04 12:53:25 [TRACE] Graph after step *terraform.MissingProviderTransformer:
cloudflare_load_balancer_pool.test - *terraform.NodeApplyableResource
provider.cloudflare - *terraform.NodeApplyableProvider
2018/07/04 12:53:25 [DEBUG] resource cloudflare_load_balancer_pool.test using provider provider.cloudflare
2018/07/04 12:53:25 [TRACE] Graph after step *terraform.ProviderTransformer:
cloudflare_load_balancer_pool.test - *terraform.NodeApplyableResource
provider.cloudflare - *terraform.NodeApplyableProvider
provider.cloudflare - *terraform.NodeApplyableProvider
2018/07/04 12:53:25 [TRACE] Graph after step *terraform.PruneProviderTransformer:
cloudflare_load_balancer_pool.test - *terraform.NodeApplyableResource
provider.cloudflare - *terraform.NodeApplyableProvider
provider.cloudflare - *terraform.NodeApplyableProvider
2018/07/04 12:53:25 [TRACE] Graph after step *terraform.ParentProviderTransformer:
cloudflare_load_balancer_pool.test - *terraform.NodeApplyableResource
provider.cloudflare - *terraform.NodeApplyableProvider
provider.cloudflare - *terraform.NodeApplyableProvider
2018/07/04 12:53:25 [TRACE] Graph after step *terraform.graphTransformerMulti:
cloudflare_load_balancer_pool.test - *terraform.NodeApplyableResource
provider.cloudflare - *terraform.NodeApplyableProvider
provider.cloudflare - *terraform.NodeApplyableProvider
2018/07/04 12:53:25 [TRACE] DestroyEdgeTransformer: Beginning destroy edge transformation...
2018/07/04 12:53:25 [TRACE] Graph after step *terraform.DestroyEdgeTransformer:
cloudflare_load_balancer_pool.test - *terraform.NodeApplyableResource
provider.cloudflare - *terraform.NodeApplyableProvider
provider.cloudflare - *terraform.NodeApplyableProvider
2018/07/04 12:53:25 [TRACE] CBDEdgeTransformer: Beginning CBD transformation...
2018/07/04 12:53:25 [TRACE] Graph after step *terraform.CBDEdgeTransformer:
cloudflare_load_balancer_pool.test - *terraform.NodeApplyableResource
provider.cloudflare - *terraform.NodeApplyableProvider
provider.cloudflare - *terraform.NodeApplyableProvider
2018/07/04 12:53:25 [TRACE] Graph after step *terraform.MissingProvisionerTransformer:
cloudflare_load_balancer_pool.test - *terraform.NodeApplyableResource
provider.cloudflare - *terraform.NodeApplyableProvider
provider.cloudflare - *terraform.NodeApplyableProvider
2018/07/04 12:53:25 [TRACE] Graph after step *terraform.ProvisionerTransformer:
cloudflare_load_balancer_pool.test - *terraform.NodeApplyableResource
provider.cloudflare - *terraform.NodeApplyableProvider
provider.cloudflare - *terraform.NodeApplyableProvider
2018/07/04 12:53:25 [TRACE] Graph after step *terraform.RootVariableTransformer:
cloudflare_load_balancer_pool.test - *terraform.NodeApplyableResource
provider.cloudflare - *terraform.NodeApplyableProvider
provider.cloudflare - *terraform.NodeApplyableProvider
2018/07/04 12:53:25 [TRACE] Graph after step *terraform.LocalTransformer:
cloudflare_load_balancer_pool.test - *terraform.NodeApplyableResource
provider.cloudflare - *terraform.NodeApplyableProvider
provider.cloudflare - *terraform.NodeApplyableProvider
2018/07/04 12:53:25 [TRACE] Graph after step *terraform.OutputTransformer:
cloudflare_load_balancer_pool.test - *terraform.NodeApplyableResource
provider.cloudflare - *terraform.NodeApplyableProvider
provider.cloudflare - *terraform.NodeApplyableProvider
2018/07/04 12:53:25 [TRACE] Graph after step *terraform.ModuleVariableTransformer:
cloudflare_load_balancer_pool.test - *terraform.NodeApplyableResource
provider.cloudflare - *terraform.NodeApplyableProvider
provider.cloudflare - *terraform.NodeApplyableProvider
2018/07/04 12:53:25 [TRACE] Graph after step *terraform.RemovedModuleTransformer:
cloudflare_load_balancer_pool.test - *terraform.NodeApplyableResource
provider.cloudflare - *terraform.NodeApplyableProvider
provider.cloudflare - *terraform.NodeApplyableProvider
2018/07/04 12:53:25 [DEBUG] ReferenceTransformer: "cloudflare_load_balancer_pool.test" references: []
2018/07/04 12:53:25 [DEBUG] ReferenceTransformer: "provider.cloudflare" references: []
2018/07/04 12:53:25 [TRACE] Graph after step *terraform.ReferenceTransformer:
cloudflare_load_balancer_pool.test - *terraform.NodeApplyableResource
provider.cloudflare - *terraform.NodeApplyableProvider
provider.cloudflare - *terraform.NodeApplyableProvider
2018/07/04 12:53:25 [TRACE] Graph after step *terraform.CountBoundaryTransformer:
cloudflare_load_balancer_pool.test - *terraform.NodeApplyableResource
provider.cloudflare - *terraform.NodeApplyableProvider
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
cloudflare_load_balancer_pool.test - *terraform.NodeApplyableResource
provider.cloudflare - *terraform.NodeApplyableProvider
provider.cloudflare - *terraform.NodeApplyableProvider
2018/07/04 12:53:25 [TRACE] Graph after step *terraform.TargetsTransformer:
cloudflare_load_balancer_pool.test - *terraform.NodeApplyableResource
provider.cloudflare - *terraform.NodeApplyableProvider
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
cloudflare_load_balancer_pool.test - *terraform.NodeApplyableResource
provider.cloudflare - *terraform.NodeApplyableProvider
provider.cloudflare - *terraform.NodeApplyableProvider
2018/07/04 12:53:25 [TRACE] Graph after step *terraform.CloseProviderTransformer:
cloudflare_load_balancer_pool.test - *terraform.NodeApplyableResource
provider.cloudflare - *terraform.NodeApplyableProvider
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
cloudflare_load_balancer_pool.test - *terraform.NodeApplyableResource
provider.cloudflare - *terraform.NodeApplyableProvider
provider.cloudflare - *terraform.NodeApplyableProvider
provider.cloudflare (close) - *terraform.graphNodeCloseProvider
cloudflare_load_balancer_pool.test - *terraform.NodeApplyableResource
provider.cloudflare - *terraform.NodeApplyableProvider
2018/07/04 12:53:25 [TRACE] Graph after step *terraform.CloseProvisionerTransformer:
cloudflare_load_balancer_pool.test - *terraform.NodeApplyableResource
provider.cloudflare - *terraform.NodeApplyableProvider
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
cloudflare_load_balancer_pool.test - *terraform.NodeApplyableResource
provider.cloudflare - *terraform.NodeApplyableProvider
provider.cloudflare - *terraform.NodeApplyableProvider
provider.cloudflare (close) - *terraform.graphNodeCloseProvider
cloudflare_load_balancer_pool.test - *terraform.NodeApplyableResource
provider.cloudflare - *terraform.NodeApplyableProvider
2018/07/04 12:53:25 [TRACE] Graph after step *terraform.RootTransformer:
cloudflare_load_balancer_pool.test - *terraform.NodeApplyableResource
provider.cloudflare - *terraform.NodeApplyableProvider
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
cloudflare_load_balancer_pool.test - *terraform.NodeApplyableResource
provider.cloudflare - *terraform.NodeApplyableProvider
provider.cloudflare - *terraform.NodeApplyableProvider
provider.cloudflare (close) - *terraform.graphNodeCloseProvider
cloudflare_load_balancer_pool.test - *terraform.NodeApplyableResource
provider.cloudflare - *terraform.NodeApplyableProvider
root - terraform.graphNodeRoot
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
provider.cloudflare (close) - *terraform.graphNodeCloseProvider
2018/07/04 12:53:25 [TRACE] Graph after step *terraform.TransitiveReductionTransformer:
cloudflare_load_balancer_pool.test - *terraform.NodeApplyableResource
provider.cloudflare - *terraform.NodeApplyableProvider
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
cloudflare_load_balancer_pool.test - *terraform.NodeApplyableResource
provider.cloudflare - *terraform.NodeApplyableProvider
provider.cloudflare (close) - *terraform.graphNodeCloseProvider
cloudflare_load_balancer_pool.test - *terraform.NodeApplyableResource
root - terraform.graphNodeRoot
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
provider.cloudflare (close) - *terraform.graphNodeCloseProvider
2018/07/04 12:53:25 [DEBUG] Starting graph walk: walkApply
2018/07/04 12:53:25 [TRACE] dag/walk: added new vertex: "provider.cloudflare"
2018/07/04 12:53:25 [TRACE] dag/walk: added new vertex: "meta.count-boundary (count boundary fixup)"
2018/07/04 12:53:25 [TRACE] dag/walk: added new vertex: "provider.cloudflare (close)"
2018/07/04 12:53:25 [TRACE] dag/walk: added new vertex: "root"
2018/07/04 12:53:25 [TRACE] dag/walk: added new vertex: "cloudflare_load_balancer_pool.test"
2018/07/04 12:53:25 [TRACE] dag/walk: added edge: "meta.count-boundary (count boundary fixup)" waiting on "cloudflare_load_balancer_pool.test"
2018/07/04 12:53:25 [TRACE] dag/walk: added edge: "provider.cloudflare (close)" waiting on "cloudflare_load_balancer_pool.test"
2018/07/04 12:53:25 [TRACE] dag/walk: added edge: "root" waiting on "provider.cloudflare (close)"
2018/07/04 12:53:25 [TRACE] dag/walk: added edge: "root" waiting on "meta.count-boundary (count boundary fixup)"
2018/07/04 12:53:25 [TRACE] dag/walk: added edge: "cloudflare_load_balancer_pool.test" waiting on "provider.cloudflare"
2018/07/04 12:53:25 [TRACE] dag/walk: dependencies changed for "provider.cloudflare (close)", sending new deps
2018/07/04 12:53:25 [TRACE] dag/walk: dependencies changed for "root", sending new deps
2018/07/04 12:53:25 [TRACE] dag/walk: dependencies changed for "cloudflare_load_balancer_pool.test", sending new deps
2018/07/04 12:53:25 [TRACE] dag/walk: dependencies changed for "meta.count-boundary (count boundary fixup)", sending new deps
2018/07/04 12:53:25 [TRACE] dag/walk: walking "provider.cloudflare"
2018/07/04 12:53:25 [TRACE] vertex 'root.provider.cloudflare': walking
2018/07/04 12:53:25 [TRACE] vertex 'root.provider.cloudflare': evaluating
2018/07/04 12:53:25 [TRACE] [walkApply] Entering eval tree: provider.cloudflare
2018/07/04 12:53:25 [TRACE] root: eval: *terraform.EvalSequence
2018/07/04 12:53:25 [TRACE] root: eval: *terraform.EvalInitProvider
2018/07/04 12:53:25 [TRACE] root: eval: terraform.EvalNoop
2018/07/04 12:53:25 [TRACE] root: eval: terraform.EvalNoop
2018/07/04 12:53:25 [TRACE] root: eval: *terraform.EvalOpFilter
2018/07/04 12:53:25 [TRACE] root: eval: *terraform.EvalSequence
2018/07/04 12:53:25 [TRACE] root: eval: *terraform.EvalGetProvider
2018/07/04 12:53:25 [TRACE] root: eval: *terraform.EvalInterpolateProvider
2018/07/04 12:53:25 [TRACE] root: eval: *terraform.EvalBuildProviderConfig
2018/07/04 12:53:25 [TRACE] root: eval: *terraform.EvalOpFilter
2018/07/04 12:53:25 [TRACE] root: eval: *terraform.EvalSequence
2018/07/04 12:53:25 [TRACE] root: eval: *terraform.EvalConfigProvider
2018-07-04T12:53:25.579+0200 [DEBUG] plugin.terraform-provider-cloudflare_v1.0.0_x4: 2018/07/04 12:53:25 [INFO] CloudFlare Client configured for user: XYZ
2018/07/04 12:53:25 [TRACE] [walkApply] Exiting eval tree: provider.cloudflare
2018/07/04 12:53:25 [TRACE] dag/walk: walking "cloudflare_load_balancer_pool.test"
2018/07/04 12:53:25 [TRACE] vertex 'root.cloudflare_load_balancer_pool.test': walking
2018/07/04 12:53:25 [TRACE] vertex 'root.cloudflare_load_balancer_pool.test': evaluating
2018/07/04 12:53:25 [TRACE] [walkApply] Entering eval tree: cloudflare_load_balancer_pool.test
2018/07/04 12:53:25 [TRACE] root: eval: *terraform.EvalSequence
2018/07/04 12:53:25 [TRACE] root: eval: *terraform.EvalInstanceInfo
2018/07/04 12:53:25 [TRACE] root: eval: *terraform.EvalReadDiff
2018/07/04 12:53:25 [TRACE] root: eval: *terraform.EvalIf
2018/07/04 12:53:25 [TRACE] root: eval: terraform.EvalNoop
2018/07/04 12:53:25 [TRACE] root: eval: *terraform.EvalIf
2018/07/04 12:53:25 [TRACE] root: eval: *terraform.EvalInterpolate
2018/07/04 12:53:25 [TRACE] root: eval: *terraform.EvalInterpolate
2018/07/04 12:53:25 [TRACE] root: eval: *terraform.EvalGetProvider
2018/07/04 12:53:25 [TRACE] root: eval: *terraform.EvalReadState
2018/07/04 12:53:25 [TRACE] root: eval: *terraform.EvalValidateResource
2018/07/04 12:53:25 [TRACE] root: eval: *terraform.EvalDiff
2018/07/04 12:53:25 [TRACE] root: eval: *terraform.EvalReadDiff
2018/07/04 12:53:25 [TRACE] root: eval: *terraform.EvalCompareDiff
2018/07/04 12:53:25 [TRACE] root: eval: *terraform.EvalGetProvider
2018/07/04 12:53:25 [TRACE] root: eval: *terraform.EvalReadState
2018/07/04 12:53:25 [TRACE] root: eval: *terraform.EvalApplyPre
2018/07/04 12:53:25 [TRACE] root: eval: *terraform.EvalApply
2018/07/04 12:53:25 [DEBUG] apply: cloudflare_load_balancer_pool.test: executing Apply
cloudflare_load_balancer_pool.test: Creating...
check_regions.#: "" => "<computed>"
created_on: "" => "<computed>"
enabled: "" => "true"
minimum_origins: "" => "1"
modified_on: "" => "<computed>"
name: "" => "test"
origins.#: "" => "2"
origins.273001426.address: "" => "11.12.13.14"
origins.273001426.enabled: "" => "true"
origins.273001426.name: "" => "test2"
origins.3600976491.address: "" => "11.12.13.12"
origins.3600976491.enabled: "" => "true"
2018-07-04T12:53:25.585+0200 [DEBUG] plugin.terraform-provider-cloudflare_v1.0.0_x4: 2018/07/04 12:53:25 [DEBUG] Creating CloudFlare Load Balancer Pool from struct: {ID: CreatedOn:<nil> ModifiedOn:<nil> Description: Name:test Enabled:true MinimumOrigins:1 Monitor: Origins:[{Name:test2 Address:11.12.13.14 Enabled:true} {Name:test1 Address:11.12.13.12 Enabled:true}] NotificationEmail: CheckRegions:[]}
origins.3600976491.name: "" => "test1"
2018/07/04 12:53:26 [TRACE] root: eval: *terraform.EvalWriteState
2018/07/04 12:53:26 [TRACE] root: eval: *terraform.EvalApplyProvisioners
2018/07/04 12:53:26 [TRACE] root: eval: *terraform.EvalIf
2018/07/04 12:53:26 [TRACE] root: eval: *terraform.EvalWriteState
2018/07/04 12:53:26 [TRACE] root: eval: *terraform.EvalWriteDiff
2018/07/04 12:53:26 [TRACE] root: eval: *terraform.EvalApplyPost
2018/07/04 12:53:26 [ERROR] root: eval: *terraform.EvalApplyPost, err: 1 error(s) occurred:
* cloudflare_load_balancer_pool.test: error creating load balancer pool: error from makeRequest: HTTP status 400: content "{\n \"result\": null,\n \"success\": false,\n \"errors\": [\n {\n \"code\": 1002,\n \"message\": \"the origin list length must be in range [1, 0]: validation failed\"\n }\n ],\n \"messages\": []\n}\n"
2018/07/04 12:53:26 [ERROR] root: eval: *terraform.EvalSequence, err: 1 error(s) occurred:
* cloudflare_load_balancer_pool.test: error creating load balancer pool: error from makeRequest: HTTP status 400: content "{\n \"result\": null,\n \"success\": false,\n \"errors\": [\n {\n \"code\": 1002,\n \"message\": \"the origin list length must be in range [1, 0]: validation failed\"\n }\n ],\n \"messages\": []\n}\n"
2018/07/04 12:53:26 [TRACE] [walkApply] Exiting eval tree: cloudflare_load_balancer_pool.test
2018/07/04 12:53:26 [TRACE] dag/walk: upstream errored, not walking "provider.cloudflare (close)"
2018/07/04 12:53:26 [TRACE] dag/walk: upstream errored, not walking "meta.count-boundary (count boundary fixup)"
2018/07/04 12:53:26 [TRACE] dag/walk: upstream errored, not walking "root"
2018/07/04 12:53:26 [TRACE] Preserving existing state lineage "91c14525-3e10-e132-9c84-872dabe1e2a4"
2018/07/04 12:53:26 [TRACE] Preserving existing state lineage "91c14525-3e10-e132-9c84-872dabe1e2a4"
2018/07/04 12:53:26 [TRACE] Preserving existing state lineage "91c14525-3e10-e132-9c84-872dabe1e2a4"
2018/07/04 12:53:26 [TRACE] Preserving existing state lineage "91c14525-3e10-e132-9c84-872dabe1e2a4"
2018/07/04 12:53:26 [DEBUG] plugin: waiting for all plugin processes to complete...
Error: Error applying plan:
1 error(s) occurred:
* cloudflare_load_balancer_pool.test: 1 error(s) occurred:
* cloudflare_load_balancer_pool.test: error creating load balancer pool: error from makeRequest: HTTP status 400: content "{\n \"result\": null,\n \"success\": false,\n \"errors\": [\n {\n \"code\": 1002,\n \"message\": \"the origin list length must be in range [1, 0]: validation failed\"\n }\n ],\n \"messages\": []\n}\n"
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-07-04T12:53:26.264+0200 [DEBUG] plugin: plugin process exited: path=/home/sochan/work/infra-misc/modules/test/.terraform/plugins/linux_amd64/terraform-provider-cloudflare_v1.0.0_x4<Paste>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment