Skip to content

Instantly share code, notes, and snippets.

@k3ypad
Created October 6, 2017 11:56
Show Gist options
  • Save k3ypad/f016f5f4df01f32ba94caf63ccb90db6 to your computer and use it in GitHub Desktop.
Save k3ypad/f016f5f4df01f32ba94caf63ccb90db6 to your computer and use it in GitHub Desktop.
Spotinst TF 0 capacity bug - apply
APPLY
---
2017/10/06 12:54:39 [INFO] Terraform version: 0.10.7
2017/10/06 12:54:39 [INFO] Go runtime version: go1.9
2017/10/06 12:54:39 [INFO] CLI args: []string{"/usr/local/Cellar/terraform/0.10.7/bin/terraform", "apply"}
2017/10/06 12:54:39 [DEBUG] Attempting to open CLI config file: /Users/bendoyle/.terraformrc
2017/10/06 12:54:39 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2017/10/06 12:54:39 [DEBUG] CLI Config is main.Config{Providers:map[string]string{}, Provisioners:map[string]string{}, DisableCheckpoint:false, DisableCheckpointSignature:false, PluginCacheDir:""}
2017/10/06 12:54:39 [INFO] CLI command args: []string{"apply"}
2017/10/06 12:54:39 [INFO] command: empty terraform config, returning nil
2017/10/06 12:54:39 [DEBUG] command: no data state file found for backend config
2017/10/06 12:54:39 [DEBUG] New state was assigned lineage "c24ffb7e-3160-45c8-939c-83dc88a7a4e2"
2017/10/06 12:54:39 [INFO] command: backend initialized: <nil>
2017/10/06 12:54:39 [DEBUG] checking for provider in "."
2017/10/06 12:54:39 [DEBUG] checking for provider in "/usr/local/Cellar/terraform/0.10.7/bin"
2017/10/06 12:54:39 [DEBUG] checking for provider in ".terraform/plugins/darwin_amd64"
2017/10/06 12:54:39 [DEBUG] found provider "terraform-provider-spotinst_v0.1.0_x4"
2017/10/06 12:54:39 [DEBUG] found valid plugin: "spotinst"
2017/10/06 12:54:39 [DEBUG] checking for provisioner in "."
2017/10/06 12:54:39 [DEBUG] checking for provisioner in "/usr/local/Cellar/terraform/0.10.7/bin"
2017/10/06 12:54:39 [DEBUG] checking for provisioner in ".terraform/plugins/darwin_amd64"
2017/10/06 12:54:39 [INFO] command: backend <nil> is not enhanced, wrapping in local
2017/10/06 12:54:39 [INFO] backend/local: starting Apply operation
2017/10/06 12:54:39 [DEBUG] New state was assigned lineage "e9a8cf03-f0c0-4d72-8ad1-f66ee99bca25"
2017/10/06 12:54:39 [INFO] terraform: building graph: GraphTypeInput
2017/10/06 12:54:39 [DEBUG] Resource state not found for "spotinst_aws_group.bug_test": spotinst_aws_group.bug_test
2017/10/06 12:54:39 [TRACE] Graph after step *terraform.AttachStateTransformer:
spotinst_aws_group.bug_test - *terraform.NodeAbstractResource
2017/10/06 12:54:39 [TRACE] Graph after step *terraform.RootVariableTransformer:
spotinst_aws_group.bug_test - *terraform.NodeAbstractResource
2017/10/06 12:54:39 [DEBUG] ReferenceTransformer: "spotinst_aws_group.bug_test" references: []
2017/10/06 12:54:39 [DEBUG] ReferenceTransformer: "provider.spotinst" references: []
2017-10-06T12:54:39.494+0100 [DEBUG] plugin: starting plugin: path=/Users/bendoyle/gitspace/cc-terraform/stage/main_eu-west-1/spotinst_debug/.terraform/plugins/darwin_amd64/terraform-provider-spotinst_v0.1.0_x4 args=[/Users/bendoyle/gitspace/cc-terraform/stage/main_eu-west-1/spotinst_debug/.terraform/plugins/darwin_amd64/terraform-provider-spotinst_v0.1.0_x4]
2017-10-06T12:54:39.498+0100 [DEBUG] plugin: waiting for RPC address: path=/Users/bendoyle/gitspace/cc-terraform/stage/main_eu-west-1/spotinst_debug/.terraform/plugins/darwin_amd64/terraform-provider-spotinst_v0.1.0_x4
2017-10-06T12:54:39.504+0100 [DEBUG] plugin.terraform-provider-spotinst_v0.1.0_x4: 2017/10/06 12:54:39 [DEBUG] plugin: plugin address: unix /var/folders/jq/xmftntp522n47744kkzksdfh0000gp/T/plugin896649533
2017/10/06 12:54:39 [INFO] terraform: building graph: GraphTypeValidate
2017/10/06 12:54:39 [DEBUG] Resource state not found for "spotinst_aws_group.bug_test": spotinst_aws_group.bug_test
2017/10/06 12:54:39 [DEBUG] ReferenceTransformer: "spotinst_aws_group.bug_test" references: []
2017/10/06 12:54:39 [DEBUG] ReferenceTransformer: "provider.spotinst" references: []
2017/10/06 12:54:39 [DEBUG] Starting graph walk: walkValidate
2017/10/06 12:54:39 [DEBUG] Resource state not found for "spotinst_aws_group.bug_test": spotinst_aws_group.bug_test
2017/10/06 12:54:39 [DEBUG] ReferenceTransformer: "spotinst_aws_group.bug_test" references: []
2017/10/06 12:54:39 [INFO] backend/local: apply calling Refresh
2017/10/06 12:54:39 [INFO] terraform: building graph: GraphTypeRefresh
2017/10/06 12:54:39 [TRACE] No managed resources in state during refresh, skipping managed resource transformer
2017/10/06 12:54:39 [DEBUG] Starting graph walk: walkRefresh
2017/10/06 12:54:39 [INFO] backend/local: apply calling Plan
2017/10/06 12:54:39 [INFO] terraform: building graph: GraphTypePlan
2017/10/06 12:54:39 [DEBUG] Resource state not found for "spotinst_aws_group.bug_test": spotinst_aws_group.bug_test
2017/10/06 12:54:39 [TRACE] Graph after step *terraform.AttachStateTransformer:
spotinst_aws_group.bug_test - *terraform.NodePlannableResource
2017/10/06 12:54:39 [DEBUG] ReferenceTransformer: "provider.spotinst" references: []
2017/10/06 12:54:39 [DEBUG] ReferenceTransformer: "spotinst_aws_group.bug_test" references: []
2017/10/06 12:54:39 [DEBUG] Starting graph walk: walkPlan
2017-10-06T12:54:39.516+0100 [DEBUG] plugin.terraform-provider-spotinst_v0.1.0_x4: 2017/10/06 12:54:39 [INFO] Spotinst client configured
2017/10/06 12:54:39 [DEBUG] Resource state not found for "spotinst_aws_group.bug_test": spotinst_aws_group.bug_test
2017/10/06 12:54:39 [DEBUG] ReferenceTransformer: "spotinst_aws_group.bug_test" references: []
2017/10/06 12:54:39 [INFO] terraform: building graph: GraphTypeApply
launch_specification.2140880259.health_check_type: "" => ""
launch_specification.2140880259.iam_instance_profile: "" => ""
launch_specification.2140880259.iam_role: "" => ""
launch_specification.2140880259.image_id: "" => "ami-b4a06ccd"
launch_specification.2140880259.key_pair: "" => "bdoyle-stg1"
launch_specification.2140880259.load_balancer_names.#: "" => "0"
launch_specification.2140880259.monitoring: "" => "false"
launch_specification.2140880259.security_group_ids.#: "" => "2"
launch_specification.2140880259.security_group_ids.0: "" => "sg-d621a3b1"
launch_specification.2140880259.security_group_ids.1: "" => "sg-e529ab82"
launch_specification.2140880259.user_data: "" => ""
name: "" => "bug test"
product: "" => "Linux/UNIX" (forces new resource)
scheduled_task.#: "" => "2"
scheduled_task.2365967880.cron_expression: "" => "00 7 * * 1-5"
scheduled_task.2365967880.frequency: "" => ""
scheduled_task.2365967880.scale_max_capacity: "" => "4"
scheduled_task.2365967880.scale_min_capacity: "" => "2"
scheduled_task.2365967880.scale_target_capacity: "" => "2"
scheduled_task.2365967880.task_type: "" => "scale"
scheduled_task.3181065897.cron_expression: "" => "00 20 * * 1-5"
scheduled_task.3181065897.frequency: "" => ""
scheduled_task.3181065897.scale_max_capacity: "" => "0"
scheduled_task.3181065897.scale_min_capacity: "" => "0"
scheduled_task.3181065897.scale_target_capacity: "" => "0"
scheduled_task.3181065897.task_type: "" => "scale"
strategy.#: "" => "1"
strategy.2225486052.availability_vs_cost: "" => "<computed>"
strategy.2225486052.draining_timeout: "" => "<computed>"
strategy.2225486052.fallback_to_ondemand: "" => "<computed>"
strategy.2225486052.ondemand_count: "" => ""
strategy.2225486052.risk: "" => "100"
strategy.2225486052.utilize_reserved_instances: "" => "<computed>"
NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "name":*terraform.ResourceAttrDiff{Old:"", New:"bug test", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "strategy.2225486052.availability_vs_cost":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "scheduled_task.2365967880.scale_target_capacity":*terraform.ResourceAttrDiff{Old:"", New:"2", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "ebs_block_device.828479405.device_name":*terraform.ResourceAttrDiff{Old:"", New:"/dev/xvda", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "launch_specification.2140880259.user_data":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "ebs_block_device.828479405.volume_type":*terraform.ResourceAttrDiff{Old:"", New:"gp2", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "description":*terraform.ResourceAttrDiff{Old:"", New:"bug test", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "strategy.2225486052.risk":*terraform.ResourceAttrDiff{Old:"", New:"100", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "availability_zone.4121128868.name":*terraform.ResourceAttrDiff{Old:"", New:"eu-west-1b", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "product":*terraform.ResourceAttrDiff{Old:"", New:"Linux/UNIX", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Sensitive:false, Type:0x0}, "strategy.2225486052.fallback_to_ondemand":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "launch_specification.2140880259.monitoring":*terraform.ResourceAttrDiff{Old:"", New:"false", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "ebs_block_device.828479405.snapshot_id":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "launch_specification.2140880259.security_group_ids.1":*terraform.ResourceAttrDiff{Old:"", New:"sg-e529ab82", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "availability_zone.1888876732.subnet_id":*terraform.ResourceAttrDiff{Old:"", New:"subnet-52528824", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "scheduled_task.3181065897.scale_min_capacity":*terraform.ResourceAttrDiff{Old:"", New:"0", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "capacity.1432594091.target":*terraform.ResourceAttrDiff{Old:"", New:"2", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "launch_specification.2140880259.iam_instance_profile":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:false, 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}, "ebs_block_device.828479405.encrypted":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "capacity.#":*terraform.ResourceAttrDiff{Old:"", New:"1", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "scheduled_task.3181065897.scale_target_capacity":*terraform.ResourceAttrDiff{Old:"", New:"0", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "ebs_block_device.828479405.iops":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "availability_zone.#":*terraform.ResourceAttrDiff{Old:"", New:"2", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "availability_zone.4121128868.subnet_id":*terraform.ResourceAttrDiff{Old:"", New:"subnet-d5699e8d", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "scheduled_task.2365967880.scale_min_capacity":*terraform.ResourceAttrDiff{Old:"", New:"2", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "launch_specification.2140880259.security_group_ids.0":*terraform.ResourceAttrDiff{Old:"", New:"sg-d621a3b1", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "launch_specification.2140880259.image_id":*terraform.ResourceAttrDiff{Old:"", New:"ami-b4a06ccd", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "capacity.1432594091.minimum":*terraform.ResourceAttrDiff{Old:"", New:"2", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "launch_specification.2140880259.health_check_type":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "strategy.#":*terraform.ResourceAttrDiff{Old:"", New:"1", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "strategy.2225486052.draining_timeout":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "scheduled_task.2365967880.cron_expression":*terraform.ResourceAttrDiff{Old:"", New:"00 7 * * 1-5", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "instance_types.#":*terraform.ResourceAttrDiff{Old:"", New:"1", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "availability_zone.1888876732.name":*terraform.ResourceAttrDiff{Old:"", New:"eu-west-1a", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "launch_specification.2140880259.key_pair":*terraform.ResourceAttrDiff{Old:"", New:"bdoyle-stg1", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "launch_specification.2140880259.security_group_ids.#":*terraform.ResourceAttrDiff{Old:"", New:"2", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "scheduled_task.3181065897.cron_expression":*terraform.ResourceAttrDiff{Old:"", New:"00 20 * * 1-5", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "ebs_block_device.828479405.delete_on_termination":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "scheduled_task.2365967880.scale_max_capacity":*terraform.ResourceAttrDiff{Old:"", New:"4", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "launch_specification.2140880259.iam_role":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "capacity.1432594091.unit":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "scheduled_task.3181065897.task_type":*terraform.ResourceAttrDiff{Old:"", New:"scale", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "strategy.2225486052.ondemand_count":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "scheduled_task.3181065897.scale_max_capacity":*terraform.ResourceAttrDiff{Old:"", New:"0", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "instance_types.3629968292.spot.0":*terraform.ResourceAttrDiff{Old:"", New:"m3.medium", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "scheduled_task.2365967880.task_type":*terraform.ResourceAttrDiff{Old:"", New:"scale", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "instance_types.3629968292.ondemand":*terraform.ResourceAttrDiff{Old:"", New:"t2.medium", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "scheduled_task.2365967880.frequency":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "launch_specification.2140880259.load_balancer_names.#":*terraform.ResourceAttrDiff{Old:"", New:"0", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}}, Destroy:false, DestroyDeposed:false, DestroyTainted:false, Meta:map[string]interface {}(nil)}
2017/10/06 12:54:39 [TRACE] Graph after step *terraform.DiffTransformer:
spotinst_aws_group.bug_test - *terraform.NodeApplyableResource
2017/10/06 12:54:39 [TRACE] Graph after step *2017/10/06 12:54:39 [DEBUG] Resource state not found for "spotinst_aws_group.bug_test": spotinst_aws_group.bug_test
2017/10/06 12:54:39 [TRACE] Graph after step *terraform.AttachStateTransformer:
spotinst_aws_group.bug_test - *terraform.NodeApplyableResource
2017/10/06 12:54:39 [TRACE] Graph after step *terraform.MissingProviderTransformer:
provider.spotinst - *terraform.NodeApplyableProvider
spotinst_aws_group.bug_test - *terraform.NodeApplyableResource
2017/10/06 12:54:39 [TRACE] Graph after step *terraform.ProviderTransformer:
provider.spotinst - *terraform.NodeApplyableProvider
spotinst_aws_group.bug_test - *terraform.NodeApplyableResource
provider.spotinst - *terraform.NodeApplyableProvider
2017/10/06 12:54:39 [TRACE] Graph after step *terraform.DisableProviderTransformer:
provider.spotinst - *terraform.NodeApplyableProvider
spotinst_aws_group.bug_test - *terraform.NodeApplyableResource
provider.spotinst - *terraform.NodeApplyableProvider
2017/10/06 12:54:39 [TRACE] Graph after step *terraform.ParentProviderTransformer:
provider.spotinst - *terraform.NodeApplyableProvider
spotinst_aws_group.bug_test - *terraform.NodeApplyableResource
provider.spotinst - *terraform.NodeApplyableProvider
2017/10/06 12:54:39 [TRACE] Attach provider request: []string{} spotinst
2017/10/06 12:54:39 [TRACE] Graph after step *terraform.AttachProviderConfigTransformer:
provider.spotinst - *terraform.NodeApplyableProvider
spotinst_aws_group.bug_test - *terraform.NodeApplyableResource
provider.spotinst - *terraform.NodeApplyableProvider
2017/10/06 12:54:39 [TRACE] DestroyEdgeTransformer: Beginning destroy edge transformation...
2017/10/06 12:54:39 [TRACE] Graph after step *terraform.DestroyEdgeTransformer:
provider.spotinst - *terraform.NodeApplyableProvider
spotinst_aws_group.bug_test - *terraform.NodeApplyableResource
provider.spotinst - *terraform.NodeApplyableProvider
2017/10/06 12:54:39 [TRACE] CBDEdgeTransformer: Beginning CBD transformation...
2017/10/06 12:54:39 [TRACE] Graph after step *terraform.CBDEdgeTrans2017/10/06 12:54:39 [DEBUG] ReferenceTransformer: "spotinst_aws_group.bug_test" references: []
2017/10/06 12:54:39 [DEBUG] ReferenceTransformer: "provider.spotinst" references: []
2017/10/06 12:54:39 [TRACE] Graph after step *terraform.ReferenceTransformer:
provider.spotinst - *terraform.NodeApplyableProvider
spotinst_aws_group.bug_test - *terraform.NodeApplyableResource
provider.spotinst - *terraform.NodeApplyableProvider
2017/10/06 12:54:39 [TRACE] Graph after step *terraform.CountBoundaryTransformer:
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
provider.spotinst - *terraform.NodeApplyableProvider
spotinst_aws_group.bug_test - *terraform.NodeApplyableResource
provider.spotinst - *terraform.NodeApplyableProvider
spotinst_aws_group.bug_test - *terraform.NodeApplyableResource
provider.spotinst - *terraform.NodeApplyableProvider
2017/10/06 12:54:39 [TRACE] Graph after step *terraform.TargetsTransformer:
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
provider.spotinst - *terraform.NodeApplyableProvider
spotinst_aws_group.bug_test - *terraform.NodeApplyableResource
provider.spotinst - *terraform.NodeApplyableProvider
spotinst_aws_group.bug_test - *terraform.NodeApplyableResource
provider.spotinst - *terraform.NodeApplyableProvider
2017/10/06 12:54:39 [DEBUG] Starting graph walk: walkApply
2017-10-06T12:54:39.526+0100 [DEBUG] plugin.terraform-provider-spotinst_v0.1.0_x4: 2017/10/06 12:54:39 [INFO] Spotinst client configured
2017/10/06 12:54:39 [DEBUG] apply: spotinst_aws_group.bug_test: executing Apply
spotinst_aws_group.bug_test: Creating...
availability_zone.#: "" => "2"
availability_zone.1888876732.name: "" => "eu-west-1a"
availability_zone.1888876732.subnet_id: "" => "subnet-52528824"
availability_zone.4121128868.name: "" => "eu-west-1b"
2017-10-06T12:54:39.535+0100 [DEBUG] plugin.terraform-provider-spotinst_v0.1.0_x4: 2017/10/06 12:54:39 [DEBUG] No meta timeoutkey found in Apply()
availability_zone.4121128868.subnet_id: "" => "subnet-d5699e8d"
2017-10-06T12:54:39.535+0100 [DEBUG] plugin.terraform-provider-spotinst_v0.1.0_x4: 2017/10/06 12:54:39 [DEBUG] AwsGroup capacity configuration: spotinst.AwsGroupCapacity{Minimum:2, Maximum:4, Target:2}
capacity.#: "" => "1"
2017-10-06T12:54:39.535+0100 [DEBUG] plugin.terraform-provider-spotinst_v0.1.0_x4: 2017/10/06 12:54:39 [DEBUG] AwsGroup strategy configuration: spotinst.AwsGroupStrategy{Risk:100, UtilizeReservedInstances:false, FallbackToOnDemand:false}
capacity.1432594091.maximum: "" => "4"
capacity.1432594091.minimum: "" => "2"
capacity.1432594091.target: "" => "2"
capacity.1432594091.unit: "" => "<computed>"
description: "" => "bug test"
ebs_block_device.#: "" => "1"
ebs_block_device.828479405.delete_on_termination: "" => "<computed>"
ebs_block_device.828479405.device_name: "" => "/dev/xvda"
ebs_block_device.828479405.encrypted: "" => "<computed>"
ebs_block_device.828479405.iops: "" => ""
ebs_block_device.828479405.snapshot_id: "" => ""
ebs_block_device.828479405.volume_size: "" => "24"
ebs_block_device.828479405.volume_type: "" => "gp2"
2017-10-06T12:54:39.536+0100 [DEBUG] plugin.terraform-provider-spotinst_v0.1.0_x4: 2017/10/06 12:54:39 [DEBUG] AwsGroup scheduled task configuration: spotinst.AwsGroupScheduledTask{CronExpression:"00 7 * * 1-5", TaskType:"scale", ScaleTargetCapacity:2, ScaleMinCapacity:2, ScaleMaxCapacity:4}
2017-10-06T12:54:39.536+0100 [DEBUG] plugin.terraform-provider-spotinst_v0.1.0_x4: 2017/10/06 12:54:39 [DEBUG] AwsGroup scheduled task configuration: spotinst.AwsGroupScheduledTask{CronExpression:"00 20 * * 1-5", TaskType:"scale"}
2017-10-06T12:54:39.536+0100 [DEBUG] plugin.terraform-provider-spotinst_v0.1.0_x4: 2017/10/06 12:54:39 [DEBUG] AwsGroup instance types configuration: spotinst.AwsGroupComputeInstanceType{OnDemand:"t2.medium", Spot:["m3.medium"]}
2017-10-06T12:54:39.536+0100 [DEBUG] plugin.terraform-provider-spotinst_v0.1.0_x4: 2017/10/06 12:54:39 [DEBUG] AwsGroup availability zone configuration: spotinst.AwsGroupComputeAvailabilityZone{Name:"eu-west-1a", SubnetID:"subnet-52528824"}
2017-10-06T12:54:39.536+0100 [DEBUG] plugin.terraform-provider-spotinst_v0.1.0_x4: 2017/10/06 12:54:39 [DEBUG] AwsGroup availability zone configuration: spotinst.AwsGroupComputeAvailabilityZone{Name:"eu-west-1b", SubnetID:"subnet-d5699e8d"}
instance_types.#: "" => "1"
instance_types.3629968292.ondemand: "" => "t2.medium"
instance_types.3629968292.spot.#: "" => "1"
2017-10-06T12:54:39.537+0100 [DEBUG] plugin.terraform-provider-spotinst_v0.1.0_x4: 2017/10/06 12:54:39 [DEBUG] AwsGroup launch specification configuration: spotinst.AwsGroupComputeLaunchSpecification{SecurityGroupIDs:["sg-d621a3b1" "sg-e529ab82"], ImageID:"ami-b4a06ccd", KeyPair:"bdoyle-stg1", Monitoring:false, EBSOptimized:false}
instance_types.3629968292.spot.0: "" => "m3.medium"
launch_specification.#: "" => "1"
2017-10-06T12:54:39.537+0100 [DEBUG] plugin.terraform-provider-spotinst_v0.1.0_x4: 2017/10/06 12:54:39 [DEBUG] AwsGroup elastic block device configuration: spotinst.AwsGroupComputeBlockDevice{DeviceName:"/dev/xvda", EBS:spotinst.AwsGroupComputeEBS{DeleteOnTermination:false, Encrypted:false, VolumeType:"gp2", VolumeSize:24}}
launch_specification.2140880259.ebs_optimized: "" => "<computed>"
2017-10-06T12:54:39.537+0100 [DEBUG] plugin.terraform-provider-spotinst_v0.1.0_x4: 2017/10/06 12:54:39 [DEBUG] AwsGroup create configuration: spotinst.AwsGroup{Name:"bug test", Description:"bug test", Capacity:spotinst.AwsGroupCapacity{Minimum:2, Maximum:4, Target:2}, Compute:spotinst.AwsGroupCompute{Product:"Linux/UNIX", InstanceTypes:spotinst.AwsGroupComputeInstanceType{OnDemand:"t2.medium", Spot:["m3.medium"]}, LaunchSpecification:spotinst.AwsGroupComputeLaunchSpecification{SecurityGroupIDs:["sg-d621a3b1" "sg-e529ab82"], ImageID:"ami-b4a06ccd", KeyPair:"bdoyle-stg1", Monitoring:false, EBSOptimized:false, BlockDevices:[spotinst.AwsGroupComputeBlockDevice{DeviceName:"/dev/xvda", EBS:spotinst.AwsGroupComputeEBS{DeleteOnTermination:false, Encrypted:false, VolumeType:"gp2", VolumeSize:24}}]}, AvailabilityZones:[spotinst.AwsGroupComputeAvailabilityZone{Name:"eu-west-1a", SubnetID:"subnet-52528824"} spotinst.AwsGroupComputeAvailabilityZone{Name:"eu-west-1b", SubnetID:"subnet-d5699e8d"}]}, Strategy:spotinst.AwsGro launch_specification.2140880259.health_check_grace_period: "" => ""
upStrategy{Risk:100, UtilizeReservedInstances:false, FallbackToOnDemand:false}, Scaling:spotinst.AwsGroupScaling{}, Scheduling:spotinst.AwsGroupScheduling{Tasks:[spotinst.AwsGroupScheduledTask{CronExpression:"00 7 * * 1-5", TaskType:"scale", ScaleTargetCapacity:2, ScaleMinCapacity:2, ScaleMaxCapacity:4} spotinst.AwsGroupScheduledTask{CronExpression:"00 20 * * 1-5", TaskType:"scale"}]}, Integration:spotinst.AwsGroupIntegration{}}
launch_specification.2140880259.health_check_type: "" => ""
launch_specification.2140880259.iam_instance_profile: "" => ""
launch_specification.2140880259.iam_role: "" => ""
launch_specification.2140880259.image_id: "" => "ami-b4a06ccd"
launch_specification.2140880259.key_pair: "" => "bdoyle-stg1"
launch_specification.2140880259.load_balancer_names.#: "" => "0"
launch_specification.2140880259.monitoring: "" => "false"
launch_specification.2140880259.security_group_ids.#: "" => "2"
launch_specification.2140880259.security_group_ids.0: "" => "sg-d621a3b1"
launch_specification.2140880259.security_group_ids.1: "" => "sg-e529ab82"
launch_specification.2140880259.user_data: "" => ""
name: "" => "bug test"
product: "" => "Linux/UNIX"
scheduled_task.#: "" => "2"
scheduled_task.2365967880.cron_expression: "" => "00 7 * * 1-5"
scheduled_task.2365967880.frequency: "" => ""
scheduled_task.2365967880.scale_max_capacity: "" => "4"
scheduled_task.2365967880.scale_min_capacity: "" => "2"
scheduled_task.2365967880.scale_target_capacity: "" => "2"
scheduled_task.2365967880.task_type: "" => "scale"
scheduled_task.3181065897.cron_expression: "" => "00 20 * * 1-5"
scheduled_task.3181065897.frequency: "" => ""
scheduled_task.3181065897.scale_max_capacity: "" => "0"
scheduled_task.3181065897.scale_min_capacity: "" => "0"
scheduled_task.3181065897.scale_target_capacity: "" => "0"
scheduled_task.3181065897.task_type: "" => "scale"
strategy.#: "" => "1"
strategy.2225486052.availability_vs_cost: "" => "<computed>"
strategy.2225486052.draining_timeout: "" => "<computed>"
strategy.2225486052.fallback_to_ondemand: "" => "<computed>"
strategy.2225486052.ondemand_count: "" => ""
strategy.2225486052.risk: "" => "100"
strategy.2225486052.utilize_reserved_instances: "" => "<computed>"
2017-10-06T12:54:44.946+0100 [DEBUG] plugin.terraform-provider-spotinst_v0.1.0_x4: 2017/10/06 12:54:44 [INFO] AwsGroup created successfully: sig-9224f2d6
spotinst_aws_group.bug_test: Creation complete after 5s (ID: sig-9224f2d6)
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
2017/10/06 12:54:45 [DEBUG] plugin: waiting for all plugin processes to complete...
2017-10-06T12:54:45.050+0100 [DEBUG] plugin: plugin process exited: path=/Users/bendoyle/gitspace/cc-terraform/stage/main_eu-west-1/spotinst_debug/.terraform/plugins/darwin_amd64/terraform-provider-spotinst_v0.1.0_x4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment