Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ➜ performance git:(SLS-58) ✗ terraform apply
- aws_spot_instance_request.coupons-performance: Refreshing state... (ID: sir-i62ir32g)
- An execution plan has been generated and is shown below.
- Resource actions are indicated with the following symbols:
- + create
- -/+ destroy and then create replacement
- Terraform will perform the following actions:
- -/+ aws_spot_instance_request.coupons-performance (new resource required)
- id: "sir-i62ir32g" => <computed> (forces new resource)
- ami: "ami-0c82dade0950d8e61" => "ami-0c82dade0950d8e61"
- arn: "" => <computed>
- associate_public_ip_address: "" => <computed>
- availability_zone: "" => <computed>
- cpu_core_count: "" => <computed>
- cpu_threads_per_core: "" => <computed>
- ebs_block_device.#: "0" => <computed>
- ephemeral_block_device.#: "0" => <computed>
- get_password_data: "false" => "false"
- host_id: "" => <computed>
- instance_interruption_behaviour: "terminate" => "terminate"
- instance_state: "" => <computed>
- instance_type: "c4.8xlarge" => "c4.8xlarge"
- ipv6_address_count: "" => <computed>
- ipv6_addresses.#: "" => <computed> (forces new resource)
- key_name: "" => <computed>
- network_interface.#: "0" => <computed>
- network_interface_id: "" => <computed>
- password_data: "" => <computed>
- placement_group: "" => <computed>
- primary_network_interface_id: "" => <computed>
- private_dns: "" => <computed>
- private_ip: "" => <computed>
- public_dns: "" => <computed>
- public_ip: "" => <computed>
- root_block_device.#: "1" => "1"
- root_block_device.0.delete_on_termination: "true" => "true"
- root_block_device.0.volume_id: "" => <computed>
- root_block_device.0.volume_size: "300" => "300"
- root_block_device.0.volume_type: "gp2" => "gp2"
- security_groups.#: "0" => <computed>
- source_dest_check: "true" => "true"
- spot_bid_status: "capacity-oversubscribed" => <computed>
- spot_instance_id: "" => <computed>
- spot_price: "0.39" => "0.39"
- spot_request_state: "open" => <computed>
- spot_type: "one-time" => "one-time"
- subnet_id: "" => <computed>
- tags.%: "0" => "1"
- tags.Name: "" => "coupons-performance"
- tenancy: "" => <computed>
- valid_from: "0001-01-01T00:00:00Z" => <computed>
- valid_until: "2019-01-16T15:03:59Z" => <computed>
- vpc_security_group_ids.#: "0" => <computed>
- wait_for_fulfillment: "true" => "true"
- + aws_spot_instance_request.stand-performance
- id: <computed>
- ami: "ami-0bfbff61bfe3862b5"
- arn: <computed>
- associate_public_ip_address: <computed>
- availability_zone: <computed>
- cpu_core_count: <computed>
- cpu_threads_per_core: <computed>
- ebs_block_device.#: <computed>
- ephemeral_block_device.#: <computed>
- get_password_data: "false"
- host_id: <computed>
- instance_interruption_behaviour: "terminate"
- instance_state: <computed>
- instance_type: "c4.2xlarge"
- ipv6_address_count: <computed>
- ipv6_addresses.#: <computed>
- key_name: <computed>
- network_interface.#: <computed>
- network_interface_id: <computed>
- password_data: <computed>
- placement_group: <computed>
- primary_network_interface_id: <computed>
- private_dns: <computed>
- private_ip: <computed>
- public_dns: <computed>
- public_ip: <computed>
- root_block_device.#: "1"
- root_block_device.0.delete_on_termination: "true"
- root_block_device.0.volume_id: <computed>
- root_block_device.0.volume_size: "30"
- root_block_device.0.volume_type: "gp2"
- security_groups.#: <computed>
- source_dest_check: "true"
- spot_bid_status: <computed>
- spot_instance_id: <computed>
- spot_price: "0.08"
- spot_request_state: <computed>
- spot_type: "one-time"
- subnet_id: <computed>
- tags.%: "1"
- tags.Name: "stand-performance"
- tenancy: <computed>
- valid_from: <computed>
- valid_until: <computed>
- vpc_security_group_ids.#: <computed>
- wait_for_fulfillment: "true"
- Plan: 2 to add, 0 to change, 1 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
- aws_spot_instance_request.coupons-performance: Destroying... (ID: sir-i62ir32g)
- aws_spot_instance_request.stand-performance: Creating...
- ami: "" => "ami-0bfbff61bfe3862b5"
- arn: "" => "<computed>"
- associate_public_ip_address: "" => "<computed>"
- availability_zone: "" => "<computed>"
- cpu_core_count: "" => "<computed>"
- cpu_threads_per_core: "" => "<computed>"
- ebs_block_device.#: "" => "<computed>"
- ephemeral_block_device.#: "" => "<computed>"
- get_password_data: "" => "false"
- host_id: "" => "<computed>"
- instance_interruption_behaviour: "" => "terminate"
- instance_state: "" => "<computed>"
- instance_type: "" => "c4.2xlarge"
- ipv6_address_count: "" => "<computed>"
- ipv6_addresses.#: "" => "<computed>"
- key_name: "" => "<computed>"
- network_interface.#: "" => "<computed>"
- network_interface_id: "" => "<computed>"
- password_data: "" => "<computed>"
- placement_group: "" => "<computed>"
- primary_network_interface_id: "" => "<computed>"
- private_dns: "" => "<computed>"
- private_ip: "" => "<computed>"
- public_dns: "" => "<computed>"
- public_ip: "" => "<computed>"
- root_block_device.#: "" => "1"
- root_block_device.0.delete_on_termination: "" => "true"
- root_block_device.0.volume_id: "" => "<computed>"
- root_block_device.0.volume_size: "" => "30"
- root_block_device.0.volume_type: "" => "gp2"
- security_groups.#: "" => "<computed>"
- source_dest_check: "" => "true"
- spot_bid_status: "" => "<computed>"
- spot_instance_id: "" => "<computed>"
- spot_price: "" => "0.08"
- spot_request_state: "" => "<computed>"
- spot_type: "" => "one-time"
- subnet_id: "" => "<computed>"
- tags.%: "" => "1"
- tags.Name: "" => "stand-performance"
- tenancy: "" => "<computed>"
- valid_from: "" => "<computed>"
- valid_until: "" => "<computed>"
- vpc_security_group_ids.#: "" => "<computed>"
- wait_for_fulfillment: "" => "true"
- aws_spot_instance_request.coupons-performance: Destruction complete after 0s
- aws_spot_instance_request.coupons-performance: Creating...
- ami: "" => "ami-0c82dade0950d8e61"
- arn: "" => "<computed>"
- associate_public_ip_address: "" => "<computed>"
- availability_zone: "" => "<computed>"
- cpu_core_count: "" => "<computed>"
- cpu_threads_per_core: "" => "<computed>"
- ebs_block_device.#: "" => "<computed>"
- ephemeral_block_device.#: "" => "<computed>"
- get_password_data: "" => "false"
- host_id: "" => "<computed>"
- instance_interruption_behaviour: "" => "terminate"
- instance_state: "" => "<computed>"
- instance_type: "" => "c4.8xlarge"
- ipv6_address_count: "" => "<computed>"
- ipv6_addresses.#: "" => "<computed>"
- key_name: "" => "<computed>"
- network_interface.#: "" => "<computed>"
- network_interface_id: "" => "<computed>"
- password_data: "" => "<computed>"
- placement_group: "" => "<computed>"
- primary_network_interface_id: "" => "<computed>"
- private_dns: "" => "<computed>"
- private_ip: "" => "<computed>"
- public_dns: "" => "<computed>"
- public_ip: "" => "<computed>"
- root_block_device.#: "" => "1"
- root_block_device.0.delete_on_termination: "" => "true"
- root_block_device.0.volume_id: "" => "<computed>"
- root_block_device.0.volume_size: "" => "300"
- root_block_device.0.volume_type: "" => "gp2"
- security_groups.#: "" => "<computed>"
- source_dest_check: "" => "true"
- spot_bid_status: "" => "<computed>"
- spot_instance_id: "" => "<computed>"
- spot_price: "" => "0.39"
- spot_request_state: "" => "<computed>"
- spot_type: "" => "one-time"
- subnet_id: "" => "<computed>"
- tags.%: "" => "1"
- tags.Name: "" => "coupons-performance"
- tenancy: "" => "<computed>"
- valid_from: "" => "<computed>"
- valid_until: "" => "<computed>"
- vpc_security_group_ids.#: "" => "<computed>"
- wait_for_fulfillment: "" => "true"
- aws_spot_instance_request.stand-performance: Still creating... (10s elapsed)
- aws_spot_instance_request.coupons-performance: Still creating... (10s elapsed)
- aws_spot_instance_request.stand-performance: Creation complete after 14s (ID: sir-zm9rsvbh)
- Error: Error applying plan:
- 1 error(s) occurred:
- * aws_spot_instance_request.coupons-performance: 1 error(s) occurred:
- * aws_spot_instance_request.coupons-performance: Error while waiting for spot request ({
- CreateTime: 2019-01-09 15:16:29 +0000 UTC,
- InstanceInterruptionBehavior: "terminate",
- LaunchSpecification: {
- BlockDeviceMappings: [{
- DeviceName: "/dev/sda1",
- Ebs: {
- DeleteOnTermination: true,
- VolumeSize: 300,
- VolumeType: "gp2"
- }
- }],
- EbsOptimized: false,
- IamInstanceProfile: {
- Name: ""
- },
- ImageId: "ami-0c82dade0950d8e61",
- InstanceType: "c4.8xlarge",
- Monitoring: {
- Enabled: false
- },
- Placement: {
- AvailabilityZone: "us-east-2a",
- GroupName: ""
- },
- SecurityGroups: [{
- GroupId: "sg-589e0234",
- GroupName: "default"
- }],
- SubnetId: "subnet-61022b09"
- },
- ProductDescription: "Linux/UNIX",
- SpotInstanceRequestId: "sir-css8rzik",
- SpotPrice: "0.390000",
- State: "open",
- Status: {
- Code: "pending-evaluation",
- Message: "Your Spot request has been submitted for review, and is pending evaluation.",
- UpdateTime: 2019-01-09 15:16:29 +0000 UTC
- },
- Type: "one-time"
- }) to resolve: unexpected state 'capacity-oversubscribed', wanted target 'fulfilled'. last error: %!s(<nil>)
- 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.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement