Created
October 6, 2017 11:56
-
-
Save k3ypad/3661f9522724bffbb0acc3a42a9996f0 to your computer and use it in GitHub Desktop.
spotinst TF capacity 0 bug plan
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PLAN | |
---- | |
2017/10/06 12:53:34 [INFO] Terraform version: 0.10.7 | |
2017/10/06 12:53:34 [INFO] Go runtime version: go1.9 | |
2017/10/06 12:53:34 [INFO] CLI args: []string{"/usr/local/Cellar/terraform/0.10.7/bin/terraform", "plan"} | |
2017/10/06 12:53:34 [DEBUG] Attempting to open CLI config file: /Users/bendoyle/.terraformrc | |
2017/10/06 12:53:34 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2017/10/06 12:53:34 [DEBUG] CLI Config is main.Config{Providers:map[string]string{}, Provisioners:map[string]string{}, DisableCheckpoint:false, DisableCheckpointSignature:false, PluginCacheDir:""} | |
2017/10/06 12:53:34 [INFO] CLI command args: []string{"plan"} | |
2017/10/06 12:53:34 [INFO] command: empty terraform config, returning nil | |
2017/10/06 12:53:34 [DEBUG] command: no data state file found for backend config | |
2017/10/06 12:53:34 [DEBUG] New state was assigned lineage "8c98d920-ac11-478a-a966-53b8e5c006e1" | |
2017/10/06 12:53:34 [INFO] command: backend initialized: <nil> | |
2017/10/06 12:53:34 [DEBUG] checking for provider in "." | |
2017/10/06 12:53:34 [DEBUG] checking for provider in "/usr/local/Cellar/terraform/0.10.7/bin" | |
2017/10/06 12:53:34 [DEBUG] checking for provider in ".terraform/plugins/darwin_amd64" | |
2017/10/06 12:53:34 [DEBUG] found provider "terraform-provider-spotinst_v0.1.0_x4" | |
2017/10/06 12:53:34 [DEBUG] found valid plugin: "spotinst" | |
2017/10/06 12:53:34 [DEBUG] checking for provisioner in "." | |
2017/10/06 12:53:34 [DEBUG] checking for provisioner in "/usr/local/Cellar/terraform/0.10.7/bin" | |
2017/10/06 12:53:34 [DEBUG] checking for provisioner in ".terraform/plugins/darwin_amd64" | |
2017/10/06 12:53:34 [INFO] command: backend <nil> is not enhanced, wrapping in local | |
2017/10/06 12:53:34 [INFO] backend/local: starting Plan operation | |
2017/10/06 12:53:34 [DEBUG] New state was assigned lineage "eadfc257-f2b8-415b-a72b-a2c10cdf56bd" | |
2017/10/06 12:53:34 [INFO] terraform: building graph: GraphTypeInput | |
2017/10/06 12:53:34 [DEBUG] Resource state not found for "spotinst_aws_group.bug_test": spotinst_aws_group.bug_test | |
2017/10/06 12:53:34 [TRACE] Graph after step *terraform.AttachStateTransformer: | |
spotinst_aws_group.bug_test - *terraform.NodeAbstractResource | |
2017/10/06 12:53:34 [TRACE] Graph after step *terraform.RootVariableTransformer: | |
spotinst_aws_group.bug_test - *terraform.NodeAbstractResource | |
2017/10/06 12:53:34 [DEBUG] ReferenceTransformer: "spotinst_aws_group.bug_test" references: [] | |
2017/10/06 12:53:34 [DEBUG] ReferenceTransformer: "provider.spotinst" references: [] | |
2017-10-06T12:53:34.855+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:53:34.859+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:53:34.866+0100 [DEBUG] plugin.terraform-provider-spotinst_v0.1.0_x4: 2017/10/06 12:53:34 [DEBUG] plugin: plugin address: unix /var/folders/jq/xmftntp522n47744kkzksdfh0000gp/T/plugin076059531 | |
2017/10/06 12:53:34 [INFO] terraform: building graph: GraphTypeValidate | |
2017/10/06 12:53:34 [DEBUG] Resource state not found for "spotinst_aws_group.bug_test": spotinst_aws_group.bug_test | |
2017/10/06 12:53:34 [TRACE] Graph after step *terraform.AttachStateTransformer: | |
spotinst_aws_group.bug_test - *terraform.NodeValidatableResource | |
2017/10/06 12:53:34 [TRACE] Graph after step *terraform.RootVariableTransformer: | |
spotinst_aws_group.bug_test - *terraform.NodeValidatableResource | |
2017/10/06 12:53:34 [TRACE] Graph after step *terraform.MissingProviderTransformer: | |
provider.spotinst - *terraform.NodeApplyableProvider | |
spotinst_aws_group.bug_test - *terraform.NodeValidatableResource | |
2017/10/06 12:53:34 [TRACE] Graph after step *terraform.ProviderTransformer: | |
provider.spotinst - *terraform.NodeApplyableProvider | |
spotinst_aws_group.bug_test - *terraform.NodeValidatableResource | |
provider.spotinst - *terraform.NodeApplyableProvider | |
2017/10/06 12:53:34 [TRACE] Graph after step *terraform.DisableProviderTransformer: | |
provider.spotinst - *terraform.NodeApplyableProvider | |
spotinst_aws_group.bug_test - *terraform.NodeValidatableResource | |
provider.spotinst - *terraform.NodeApplyableProvider | |
2017/10/06 12:53:34 [TRACE] Graph after step *terraform.ParentProviderTransformer: | |
provider.spotinst - *terraform.NodeApplyableProvider | |
spotinst_aws_group.bug_test - *terraform.NodeValidatableResource | |
provider.spotinst - *terraform.NodeApplyableProvider | |
2017/10/06 12:53:34 [TRACE] Attach provider request: []string{} spotinst | |
2017/10/06 12:53:34 [TRACE] Graph after step *terraform.AttachProviderConfigTransformer: | |
provider.spotinst - *terraform.NodeApplyableProvider | |
spotinst_aws_group.bug_test - *terraform.NodeValidatableResource | |
provider.spotinst - *terraform.NodeApplyableProvider | |
2017/10/06 12:53:34 [TRACE] Graph after step *terraform.graphTransformerMulti: | |
provider.spotinst - *terraform.NodeApplyableProvider | |
spotinst_aws_group.bug_test - *terraform.NodeValidatableResource | |
provider.spotinst - *terraform.NodeApplyableProvider | |
2017/10/06 12:53:34 [DEBUG] ReferenceTransformer: "spotinst_aws_group.bug_test" references: [] | |
2017/10/06 12:53:34 [DEBUG] ReferenceTransformer: "provider.spotinst" references: [] | |
2017/10/06 12:53:34 [TRACE] Graph after step *terraform.ReferenceTransformer: | |
provider.spotinst - *terraform.NodeApplyableProvider | |
spotinst_aws_group.bug_test - *terraform.NodeValidatableResource | |
provider.spotinst - *terraform.NodeApplyableProvider | |
2017/10/06 12:53:34 [DEBUG] Resource state not found for "spotinst_aws_group.bug_test": spotinst_aws_group.bug_test | |
2017/10/06 12:53:34 [TRACE] Graph after step *terraform.AttachStateTransformer: | |
spotinst_aws_group.bug_test - *terraform.NodeValidatableResourceInstance | |
2017/10/06 12:53:34 [TRACE] Graph after step *terraform.TargetsTransformer: | |
spotinst_aws_group.bug_test - *terraform.NodeValidatableResourceInstance | |
2017/10/06 12:53:34 [DEBUG] ReferenceTransformer: "spotinst_aws_group.bug_test" references: [] | |
2017/10/06 12:53:34 [TRACE] Graph after step *terraform.ReferenceTransformer: | |
spotinst_aws_group.bug_test - *terraform.NodeValidatableResourceInstance | |
2017/10/06 12:53:34 [INFO] backend/local: plan calling Refresh | |
2017/10/06 12:53:34 [INFO] terraform: building graph: GraphTypeRefresh | |
2017/10/06 12:53:34 [TRACE] No managed resources in state during refresh, skipping managed resource transformer | |
Refreshing Terraform state in-memory prior to plan... | |
2017/10/06 12:53:34 [DEBUG] Starting graph walk: walkRefresh | |
The refreshed state will be used to calculate this plan, but will not be | |
persisted to local or remote state storage. | |
2017/10/06 12:53:34 [INFO] backend/local: plan calling Plan | |
2017/10/06 12:53:34 [INFO] terraform: building graph: GraphTypePlan | |
2017/10/06 12:53:34 [TRACE] ConfigTransformer: Starting for path: [] | |
2017/10/06 12:53:34 [TRACE] Graph after step *terraform.ConfigTransformer: | |
spotinst_aws_group.bug_test - *terraform.NodePlannableResource | |
------------------------------------------------------------------------ | |
2017/10/06 12:53:34 [DEBUG] Resource state not found for "spotinst_aws_group.bug_test": spotinst_aws_group.bug_test | |
2017/10/06 12:53:34 [TRACE] Graph after step *terraform.AttachStateTransformer: | |
spotinst_aws_group.bug_test - *terraform.NodePlannableResource | |
2017/10/06 12:53:34 [TRACE] Graph after step *terraform.RootVariableTransformer: | |
spotinst_aws_group.bug_test - *terraform.NodePlannableResource | |
2017/10/06 12:53:34 [DEBUG] ReferenceTransformer: "provider.spotinst" references: [] | |
2017/10/06 12:53:34 [DEBUG] ReferenceTransformer: "spotinst_aws_group.bug_test" references: [] | |
2017/10/06 12:53:34 [DEBUG] Starting graph walk: walkPlan | |
2017-10-06T12:53:34.875+0100 [DEBUG] plugin.terraform-provider-spotinst_v0.1.0_x4: 2017/10/06 12:53:34 [INFO] Spotinst client configured | |
2017/10/06 12:53:34 [DEBUG] Resource state not found for "spotinst_aws_group.bug_test": spotinst_aws_group.bug_test | |
2017/10/06 12:53:34 [DEBUG] ReferenceTransformer: "spotinst_aws_group.bug_test" references: [] | |
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: | |
+ spotinst_aws_group.bug_test | |
2017/10/06 12:53:34 [DEBUG] plugin: waiting for all plugin processes to complete... | |
id: <computed> | |
availability_zone.#: "2" | |
availability_zone.1888876732.name: "eu-west-1a" | |
availability_zone.1888876732.subnet_id: "subnet-52528824" | |
availability_zone.4121128868.name: "eu-west-1b" | |
availability_zone.4121128868.subnet_id: "subnet-d5699e8d" | |
capacity.#: "1" | |
capacity.1432594091.maximum: "4" | |
capacity.1432594091.minimum: "2" | |
capacity.1432594091.target: "2" | |
capacity.1432594091.unit: <computed> | |
2017-10-06T12:53:34.884+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 | |
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" | |
instance_types.#: "1" | |
instance_types.3629968292.ondemand: "t2.medium" | |
instance_types.3629968292.spot.#: "1" | |
instance_types.3629968292.spot.0: "m3.medium" | |
launch_specification.#: "1" | |
launch_specification.2140880259.ebs_optimized: <computed> | |
launch_specification.2140880259.health_check_grace_period: "" | |
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> | |
Plan: 1 to add, 0 to change, 0 to destroy. | |
------------------------------------------------------------------------ | |
Note: You didn't specify an "-out" parameter to save this plan, so Terraform | |
can't guarantee that exactly these actions will be performed if | |
"terraform apply" is subsequently run. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment