Skip to content

Instantly share code, notes, and snippets.

@mattray
Created April 19, 2018 14:10
Show Gist options
  • Save mattray/0df67358a5a78dcb5c37dd25e0c60fa2 to your computer and use it in GitHub Desktop.
Save mattray/0df67358a5a78dcb5c37dd25e0c60fa2 to your computer and use it in GitHub Desktop.
mray@farnsworth[00:02]2.4.4(generating_demo*)~/ws/inspec-verify-provision/terraform
$ terraform apply -var 'key_name=mattray-tf' -var 'private_key_path=/Users/mray/.ssh/mattray-apac' -var 'public_key_path=/Users/mray/.ssh/mattray-apac.pub'
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:
+ aws_elb.web
id: <computed>
arn: <computed>
availability_zones.#: <computed>
connection_draining: "false"
connection_draining_timeout: "300"
cross_zone_load_balancing: "true"
dns_name: <computed>
health_check.#: <computed>
idle_timeout: "60"
instances.#: <computed>
internal: <computed>
listener.#: "1"
listener.3057123346.instance_port: "80"
listener.3057123346.instance_protocol: "http"
listener.3057123346.lb_port: "80"
listener.3057123346.lb_protocol: "http"
listener.3057123346.ssl_certificate_id: ""
name: "terraform-example-elb"
security_groups.#: <computed>
source_security_group: <computed>
source_security_group_id: <computed>
subnets.#: <computed>
zone_id: <computed>
+ aws_instance.web
id: <computed>
ami: "ami-969ab1f6"
associate_public_ip_address: <computed>
availability_zone: <computed>
ebs_block_device.#: <computed>
ephemeral_block_device.#: <computed>
get_password_data: "false"
instance_state: <computed>
instance_type: "t2.micro"
ipv6_address_count: <computed>
ipv6_addresses.#: <computed>
key_name: "${aws_key_pair.auth.id}"
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.#: <computed>
security_groups.#: <computed>
source_dest_check: "true"
subnet_id: "${aws_subnet.default.id}"
tags.%: "1"
tags.compliance_profile: "https://github.com/dev-sec/apache-baseline"
tenancy: <computed>
volume_tags.%: <computed>
vpc_security_group_ids.#: <computed>
+ aws_internet_gateway.default
id: <computed>
vpc_id: "${aws_vpc.default.id}"
+ aws_key_pair.auth
id: <computed>
fingerprint: <computed>
key_name: "mattray-tf"
public_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDd7qpXEoZA7BCeu/Wx0bymKkGgTydKvXBEo0gReaUqKTH9rxS3GdWUJ2rk2EoQ0XBfnonFN7OjSjJQP2eVFewVinA5FpdT/doUDBlM9Za+rjXXor/9b2u6SoGWPAgWRwXGRH/RfsuxgtYEaLA3LAPdh2zL7rGCnQ/yGoVlFqAT8MlyOi/rAHNmOGZi/1BNXYGwwvOQeJ0nA7owf4VPP/h+fzezd4DyOMHf3+vqHOxc3QVfbbvOvMQnnPX/dw89Lf2W4nvG070xSGG/LxuXsm1yPSKKfiq/sZcchQBC3a+PKhYN44HjzZ0Ryd+22t4iu/u81qmDSzjGeJDvAd9xhg0J mray@farnsworth.local"
+ aws_route.internet_access
id: <computed>
destination_cidr_block: "0.0.0.0/0"
destination_prefix_list_id: <computed>
egress_only_gateway_id: <computed>
gateway_id: "${aws_internet_gateway.default.id}"
instance_id: <computed>
instance_owner_id: <computed>
nat_gateway_id: <computed>
network_interface_id: <computed>
origin: <computed>
route_table_id: "${aws_vpc.default.main_route_table_id}"
state: <computed>
+ aws_security_group.default
id: <computed>
arn: <computed>
description: "Used in the terraform"
egress.#: "1"
egress.482069346.cidr_blocks.#: "1"
egress.482069346.cidr_blocks.0: "0.0.0.0/0"
egress.482069346.description: ""
egress.482069346.from_port: "0"
egress.482069346.ipv6_cidr_blocks.#: "0"
egress.482069346.prefix_list_ids.#: "0"
egress.482069346.protocol: "-1"
egress.482069346.security_groups.#: "0"
egress.482069346.self: "false"
egress.482069346.to_port: "0"
ingress.#: "2"
ingress.2165049311.cidr_blocks.#: "1"
ingress.2165049311.cidr_blocks.0: "10.0.0.0/16"
ingress.2165049311.description: ""
ingress.2165049311.from_port: "80"
ingress.2165049311.ipv6_cidr_blocks.#: "0"
ingress.2165049311.protocol: "tcp"
ingress.2165049311.security_groups.#: "0"
ingress.2165049311.self: "false"
ingress.2165049311.to_port: "80"
ingress.2541437006.cidr_blocks.#: "1"
ingress.2541437006.cidr_blocks.0: "0.0.0.0/0"
ingress.2541437006.description: ""
ingress.2541437006.from_port: "22"
ingress.2541437006.ipv6_cidr_blocks.#: "0"
ingress.2541437006.protocol: "tcp"
ingress.2541437006.security_groups.#: "0"
ingress.2541437006.self: "false"
ingress.2541437006.to_port: "22"
name: "terraform_example"
owner_id: <computed>
revoke_rules_on_delete: "false"
vpc_id: "${aws_vpc.default.id}"
+ aws_security_group.elb
id: <computed>
arn: <computed>
description: "Used in the terraform"
egress.#: "1"
egress.482069346.cidr_blocks.#: "1"
egress.482069346.cidr_blocks.0: "0.0.0.0/0"
egress.482069346.description: ""
egress.482069346.from_port: "0"
egress.482069346.ipv6_cidr_blocks.#: "0"
egress.482069346.prefix_list_ids.#: "0"
egress.482069346.protocol: "-1"
egress.482069346.security_groups.#: "0"
egress.482069346.self: "false"
egress.482069346.to_port: "0"
ingress.#: "1"
ingress.2214680975.cidr_blocks.#: "1"
ingress.2214680975.cidr_blocks.0: "0.0.0.0/0"
ingress.2214680975.description: ""
ingress.2214680975.from_port: "80"
ingress.2214680975.ipv6_cidr_blocks.#: "0"
ingress.2214680975.protocol: "tcp"
ingress.2214680975.security_groups.#: "0"
ingress.2214680975.self: "false"
ingress.2214680975.to_port: "80"
name: "terraform_example_elb"
owner_id: <computed>
revoke_rules_on_delete: "false"
vpc_id: "${aws_vpc.default.id}"
+ aws_subnet.default
id: <computed>
assign_ipv6_address_on_creation: "false"
availability_zone: <computed>
cidr_block: "10.0.1.0/24"
ipv6_cidr_block: <computed>
ipv6_cidr_block_association_id: <computed>
map_public_ip_on_launch: "true"
vpc_id: "${aws_vpc.default.id}"
+ aws_vpc.default
id: <computed>
assign_generated_ipv6_cidr_block: "false"
cidr_block: "10.0.0.0/16"
default_network_acl_id: <computed>
default_route_table_id: <computed>
default_security_group_id: <computed>
dhcp_options_id: <computed>
enable_classiclink: <computed>
enable_classiclink_dns_support: <computed>
enable_dns_hostnames: <computed>
enable_dns_support: "true"
instance_tenancy: <computed>
ipv6_association_id: <computed>
ipv6_cidr_block: <computed>
main_route_table_id: <computed>
Plan: 9 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
aws_key_pair.auth: Creating...
fingerprint: "" => "<computed>"
key_name: "" => "mattray-tf"
public_key: "" => "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDd7qpXEoZA7BCeu/Wx0bymKkGgTydKvXBEo0gReaUqKTH9rxS3GdWUJ2rk2EoQ0XBfnonFN7OjSjJQP2eVFewVinA5FpdT/doUDBlM9Za+rjXXor/9b2u6SoGWPAgWRwXGRH/RfsuxgtYEaLA3LAPdh2zL7rGCnQ/yGoVlFqAT8MlyOi/rAHNmOGZi/1BNXYGwwvOQeJ0nA7owf4VPP/h+fzezd4DyOMHf3+vqHOxc3QVfbbvOvMQnnPX/dw89Lf2W4nvG070xSGG/LxuXsm1yPSKKfiq/sZcchQBC3a+PKhYN44HjzZ0Ryd+22t4iu/u81qmDSzjGeJDvAd9xhg0J mray@farnsworth.local"
aws_vpc.default: Creating...
assign_generated_ipv6_cidr_block: "" => "false"
cidr_block: "" => "10.0.0.0/16"
default_network_acl_id: "" => "<computed>"
default_route_table_id: "" => "<computed>"
default_security_group_id: "" => "<computed>"
dhcp_options_id: "" => "<computed>"
enable_classiclink: "" => "<computed>"
enable_classiclink_dns_support: "" => "<computed>"
enable_dns_hostnames: "" => "<computed>"
enable_dns_support: "" => "true"
instance_tenancy: "" => "<computed>"
ipv6_association_id: "" => "<computed>"
ipv6_cidr_block: "" => "<computed>"
main_route_table_id: "" => "<computed>"
aws_key_pair.auth: Creation complete after 1s (ID: mattray-tf)
aws_vpc.default: Creation complete after 9s (ID: vpc-84bd21e3)
aws_internet_gateway.default: Creating...
vpc_id: "" => "vpc-84bd21e3"
aws_subnet.default: Creating...
assign_ipv6_address_on_creation: "" => "false"
availability_zone: "" => "<computed>"
cidr_block: "" => "10.0.1.0/24"
ipv6_cidr_block: "" => "<computed>"
ipv6_cidr_block_association_id: "" => "<computed>"
map_public_ip_on_launch: "" => "true"
vpc_id: "" => "vpc-84bd21e3"
aws_security_group.elb: Creating...
arn: "" => "<computed>"
description: "" => "Used in the terraform"
egress.#: "" => "1"
egress.482069346.cidr_blocks.#: "" => "1"
egress.482069346.cidr_blocks.0: "" => "0.0.0.0/0"
egress.482069346.description: "" => ""
egress.482069346.from_port: "" => "0"
egress.482069346.ipv6_cidr_blocks.#: "" => "0"
egress.482069346.prefix_list_ids.#: "" => "0"
egress.482069346.protocol: "" => "-1"
egress.482069346.security_groups.#: "" => "0"
egress.482069346.self: "" => "false"
egress.482069346.to_port: "" => "0"
ingress.#: "" => "1"
ingress.2214680975.cidr_blocks.#: "" => "1"
ingress.2214680975.cidr_blocks.0: "" => "0.0.0.0/0"
ingress.2214680975.description: "" => ""
ingress.2214680975.from_port: "" => "80"
ingress.2214680975.ipv6_cidr_blocks.#: "" => "0"
ingress.2214680975.protocol: "" => "tcp"
ingress.2214680975.security_groups.#: "" => "0"
ingress.2214680975.self: "" => "false"
ingress.2214680975.to_port: "" => "80"
name: "" => "terraform_example_elb"
owner_id: "" => "<computed>"
revoke_rules_on_delete: "" => "false"
vpc_id: "" => "vpc-84bd21e3"
aws_security_group.default: Creating...
arn: "" => "<computed>"
description: "" => "Used in the terraform"
egress.#: "" => "1"
egress.482069346.cidr_blocks.#: "" => "1"
egress.482069346.cidr_blocks.0: "" => "0.0.0.0/0"
egress.482069346.description: "" => ""
egress.482069346.from_port: "" => "0"
egress.482069346.ipv6_cidr_blocks.#: "" => "0"
egress.482069346.prefix_list_ids.#: "" => "0"
egress.482069346.protocol: "" => "-1"
egress.482069346.security_groups.#: "" => "0"
egress.482069346.self: "" => "false"
egress.482069346.to_port: "" => "0"
ingress.#: "" => "2"
ingress.2165049311.cidr_blocks.#: "" => "1"
ingress.2165049311.cidr_blocks.0: "" => "10.0.0.0/16"
ingress.2165049311.description: "" => ""
ingress.2165049311.from_port: "" => "80"
ingress.2165049311.ipv6_cidr_blocks.#: "" => "0"
ingress.2165049311.protocol: "" => "tcp"
ingress.2165049311.security_groups.#: "" => "0"
ingress.2165049311.self: "" => "false"
ingress.2165049311.to_port: "" => "80"
ingress.2541437006.cidr_blocks.#: "" => "1"
ingress.2541437006.cidr_blocks.0: "" => "0.0.0.0/0"
ingress.2541437006.description: "" => ""
ingress.2541437006.from_port: "" => "22"
ingress.2541437006.ipv6_cidr_blocks.#: "" => "0"
ingress.2541437006.protocol: "" => "tcp"
ingress.2541437006.security_groups.#: "" => "0"
ingress.2541437006.self: "" => "false"
ingress.2541437006.to_port: "" => "22"
name: "" => "terraform_example"
owner_id: "" => "<computed>"
revoke_rules_on_delete: "" => "false"
vpc_id: "" => "vpc-84bd21e3"
aws_internet_gateway.default: Creation complete after 4s (ID: igw-e8027c8c)
aws_route.internet_access: Creating...
destination_cidr_block: "" => "0.0.0.0/0"
destination_prefix_list_id: "" => "<computed>"
egress_only_gateway_id: "" => "<computed>"
gateway_id: "" => "igw-e8027c8c"
instance_id: "" => "<computed>"
instance_owner_id: "" => "<computed>"
nat_gateway_id: "" => "<computed>"
network_interface_id: "" => "<computed>"
origin: "" => "<computed>"
route_table_id: "" => "rtb-beb2b3d9"
state: "" => "<computed>"
aws_subnet.default: Creation complete after 4s (ID: subnet-68c1b633)
aws_route.internet_access: Creation complete after 1s (ID: r-rtb-beb2b3d91080289494)
aws_security_group.elb: Creation complete after 7s (ID: sg-d58b85ac)
aws_security_group.default: Creation complete after 8s (ID: sg-d48b85ad)
aws_instance.web: Creating...
ami: "" => "ami-969ab1f6"
associate_public_ip_address: "" => "<computed>"
availability_zone: "" => "<computed>"
ebs_block_device.#: "" => "<computed>"
ephemeral_block_device.#: "" => "<computed>"
get_password_data: "" => "false"
instance_state: "" => "<computed>"
instance_type: "" => "t2.micro"
ipv6_address_count: "" => "<computed>"
ipv6_addresses.#: "" => "<computed>"
key_name: "" => "mattray-tf"
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.#: "" => "<computed>"
security_groups.#: "" => "<computed>"
source_dest_check: "" => "true"
subnet_id: "" => "subnet-68c1b633"
tags.%: "" => "1"
tags.compliance_profile: "" => "https://github.com/dev-sec/apache-baseline"
tenancy: "" => "<computed>"
volume_tags.%: "" => "<computed>"
vpc_security_group_ids.#: "" => "1"
vpc_security_group_ids.1855093148: "" => "sg-d48b85ad"
aws_instance.web: Still creating... (10s elapsed)
aws_instance.web: Still creating... (20s elapsed)
aws_instance.web: Provisioning with 'remote-exec'...
aws_instance.web (remote-exec): Connecting to remote host via SSH...
aws_instance.web (remote-exec): Host: 13.57.213.227
aws_instance.web (remote-exec): User: ubuntu
aws_instance.web (remote-exec): Password: false
aws_instance.web (remote-exec): Private key: true
aws_instance.web (remote-exec): SSH Agent: true
aws_instance.web (remote-exec): Checking Host Key: false
aws_instance.web: Still creating... (30s elapsed)
aws_instance.web (remote-exec): Connecting to remote host via SSH...
aws_instance.web (remote-exec): Host: 13.57.213.227
aws_instance.web (remote-exec): User: ubuntu
aws_instance.web (remote-exec): Password: false
aws_instance.web (remote-exec): Private key: true
aws_instance.web (remote-exec): SSH Agent: true
aws_instance.web (remote-exec): Checking Host Key: false
aws_instance.web (remote-exec): Connecting to remote host via SSH...
aws_instance.web (remote-exec): Host: 13.57.213.227
aws_instance.web (remote-exec): User: ubuntu
aws_instance.web (remote-exec): Password: false
aws_instance.web (remote-exec): Private key: true
aws_instance.web (remote-exec): SSH Agent: true
aws_instance.web (remote-exec): Checking Host Key: false
aws_instance.web (remote-exec): Connected!
aws_instance.web (remote-exec): sudo: unable to resolve host ip-10-0-1-222
aws_instance.web (remote-exec): 0% [Working]
aws_instance.web (remote-exec): Hit:1 http://us-west-1.ec2.archive.ubuntu.com/ubuntu xenial InRelease
aws_instance.web (remote-exec): 0% [Connecting to security.ubuntu.com (
aws_instance.web (remote-exec): Get:2 http://us-west-1.ec2.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
aws_instance.web (remote-exec): 0% [2 InRelease 14.2 kB/102 kB 14%] [Co
aws_instance.web (remote-exec): 0% [1 InRelease gpgv 247 kB] [2 InRelea
aws_instance.web (remote-exec): 0% [1 InRelease gpgv 247 kB] [Waiting f
aws_instance.web (remote-exec): Get:3 http://us-west-1.ec2.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
aws_instance.web (remote-exec): 0% [1 InRelease gpgv 247 kB] [3 InRelea
aws_instance.web (remote-exec): 0% [1 InRelease gpgv 247 kB] [Connectin
aws_instance.web (remote-exec): 0% [Connecting to security.ubuntu.com (
aws_instance.web (remote-exec): 0% [2 InRelease gpgv 102 kB] [Waiting f
aws_instance.web (remote-exec): Get:4 http://us-west-1.ec2.archive.ubuntu.com/ubuntu xenial/main Sources [868 kB]
aws_instance.web (remote-exec): 0% [2 InRelease gpgv 102 kB] [4 Sources
aws_instance.web (remote-exec): 0% [2 InRelease gpgv 102 kB] [Connectin
aws_instance.web (remote-exec): 0% [4 Sources store 0 B] [2 InRelease g
aws_instance.web (remote-exec): Get:5 http://us-west-1.ec2.archive.ubuntu.com/ubuntu xenial/restricted Sources [4,808 B]
aws_instance.web (remote-exec): 0% [4 Sources store 0 B] [2 InRelease g
aws_instance.web (remote-exec): Get:6 http://us-west-1.ec2.archive.ubuntu.com/ubuntu xenial/universe Sources [7,728 kB]
aws_instance.web (remote-exec): 0% [4 Sources store 0 B] [2 InRelease g
aws_instance.web (remote-exec): 0% [4 Sources store 0 B] [6 Sources 5,0
aws_instance.web (remote-exec): 0% [4 Sources store 0 B] [3 InRelease g
aws_instance.web (remote-exec): 0% [4 Sources store 0 B] [3 InRelease g
aws_instance.web (remote-exec): Get:7 http://us-west-1.ec2.archive.ubuntu.com/ubuntu xenial/multiverse Sources [179 kB]
aws_instance.web (remote-exec): 0% [4 Sources store 0 B] [3 InRelease g
aws_instance.web (remote-exec): 0% [4 Sources store 0 B] [3 InRelease g
aws_instance.web (remote-exec): Get:8 http://us-west-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main Sources [305 kB]
aws_instance.web (remote-exec): 0% [4 Sources store 0 B] [3 InRelease g
aws_instance.web (remote-exec): 0% [4 Sources store 0 B] [3 InRelease g
aws_instance.web (remote-exec): Get:9 http://us-west-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/restricted Sources [2,524 B]
aws_instance.web (remote-exec): 0% [4 Sources store 0 B] [3 InRelease g
aws_instance.web (remote-exec): Get:10 http://us-west-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/universe Sources [201 kB]
aws_instance.web (remote-exec): 0% [4 Sources store 0 B] [3 InRelease g
aws_instance.web (remote-exec): Get:11 http://us-west-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/multiverse Sources [7,944 B]
aws_instance.web (remote-exec): 0% [4 Sources store 0 B] [3 InRelease g
aws_instance.web (remote-exec): 0% [4 Sources store 0 B] [3 InRelease g
aws_instance.web (remote-exec): Get:12 http://us-west-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [757 kB]
aws_instance.web (remote-exec): 0% [4 Sources store 0 B] [3 InRelease g
aws_instance.web (remote-exec): 0% [4 Sources store 0 B] [3 InRelease g
aws_instance.web (remote-exec): 0% [3 InRelease gpgv 102 kB] [Waiting f
aws_instance.web (remote-exec): 0% [5 Sources store 0 B] [3 InRelease g
aws_instance.web (remote-exec): Get:13 http://us-west-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [314 kB]
aws_instance.web (remote-exec): 0% [5 Sources store 0 B] [3 InRelease g
aws_instance.web (remote-exec): 0% [3 InRelease gpgv 102 kB] [13 Transl
aws_instance.web (remote-exec): 0% [6 Sources store 0 B] [3 InRelease g
aws_instance.web (remote-exec): 0% [6 Sources store 0 B] [3 InRelease g
aws_instance.web (remote-exec): Get:14 http://us-west-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages [7,560 B]
aws_instance.web (remote-exec): 0% [6 Sources store 0 B] [3 InRelease g
aws_instance.web (remote-exec): Get:15 http://us-west-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/restricted Translation-en [2,272 B]
aws_instance.web (remote-exec): 0% [6 Sources store 0 B] [3 InRelease g
aws_instance.web (remote-exec): Get:16 http://us-west-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [621 kB]
aws_instance.web (remote-exec): 0% [6 Sources store 0 B] [3 InRelease g
aws_instance.web (remote-exec): 0% [6 Sources store 0 B] [3 InRelease g
aws_instance.web (remote-exec): Get:17 http://us-west-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en [250 kB]
aws_instance.web (remote-exec): 0% [6 Sources store 0 B] [3 InRelease g
aws_instance.web (remote-exec): 0% [6 Sources store 0 B] [3 InRelease g
aws_instance.web (remote-exec): Get:18 http://us-west-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [16.2 kB]
aws_instance.web (remote-exec): 0% [6 Sources store 0 B] [3 InRelease g
aws_instance.web (remote-exec): 0% [6 Sources store 0 B] [3 InRelease g
aws_instance.web (remote-exec): 0% [6 Sources store 0 B] [Waiting for h
aws_instance.web (remote-exec): Get:19 http://us-west-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/multiverse Translation-en [8,076 B]
aws_instance.web (remote-exec): 0% [6 Sources store 0 B] [Connecting to
aws_instance.web (remote-exec): Get:20 http://us-west-1.ec2.archive.ubuntu.com/ubuntu xenial-backports/main Sources [3,432 B]
aws_instance.web (remote-exec): 0% [6 Sources store 0 B] [Waiting for h
aws_instance.web (remote-exec): Get:21 http://us-west-1.ec2.archive.ubuntu.com/ubuntu xenial-backports/universe Sources [5,816 B]
aws_instance.web (remote-exec): 0% [6 Sources store 0 B] [Waiting for h
aws_instance.web (remote-exec): Get:22 http://us-west-1.ec2.archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages [4,836 B]
aws_instance.web (remote-exec): 0% [6 Sources store 0 B] [Waiting for h
aws_instance.web (remote-exec): Get:23 http://us-west-1.ec2.archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [7,104 B]
aws_instance.web (remote-exec): 0% [6 Sources store 0 B] [Waiting for h
aws_instance.web (remote-exec): Get:24 http://us-west-1.ec2.archive.ubuntu.com/ubuntu xenial-backports/universe Translation-en [3,844 B]
aws_instance.web (remote-exec): 0% [6 Sources store 0 B] [Connecting to
aws_instance.web (remote-exec): 0% [6 Sources store 0 B] [Connecting to
aws_instance.web (remote-exec): Get:25 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
aws_instance.web (remote-exec): 0% [6 Sources store 0 B] [25 InRelease
aws_instance.web (remote-exec): 0% [25 InRelease 56.2 kB/102 kB 55%]
aws_instance.web (remote-exec): 0% [7 Sources store 0 B] [25 InRelease
aws_instance.web (remote-exec): 0% [25 InRelease 62.0 kB/102 kB 61%]
aws_instance.web (remote-exec): 0% [8 Sources store 0 B] [25 InRelease
aws_instance.web (remote-exec): 0% [25 InRelease 75.0 kB/102 kB 73%]
aws_instance.web (remote-exec): 0% [9 Sources store 0 B] [25 InRelease
aws_instance.web (remote-exec): 0% [25 InRelease 79.3 kB/102 kB 78%]
aws_instance.web (remote-exec): 0% [10 Sources store 0 B] [25 InRelease
aws_instance.web (remote-exec): 0% [25 InRelease 88.0 kB/102 kB 86%]
aws_instance.web (remote-exec): 0% [11 Sources store 0 B] [25 InRelease
aws_instance.web (remote-exec): 0% [25 InRelease 88.0 kB/102 kB 86%]
aws_instance.web (remote-exec): 0% [12 Packages store 0 B] [25 InReleas
aws_instance.web (remote-exec): 0% [12 Packages store 0 B]
aws_instance.web (remote-exec): 0% [12 Packages store 0 B] [25 InReleas
aws_instance.web (remote-exec): 0% [25 InRelease gpgv 102 kB]
aws_instance.web (remote-exec): 0% [13 Translation-en store 0 B] [25 In
aws_instance.web (remote-exec): 86% [13 Translation-en store 0 B]
aws_instance.web (remote-exec): 86% [Waiting for headers]
aws_instance.web (remote-exec): 86% [14 Packages store 0 B] [Waiting fo
aws_instance.web (remote-exec): 86% [Waiting for headers]
aws_instance.web (remote-exec): 86% [15 Translation-en store 0 B] [Wait
aws_instance.web (remote-exec): 87% [Waiting for headers]
aws_instance.web (remote-exec): 87% [16 Packages store 0 B] [Waiting fo
aws_instance.web (remote-exec): 87% [Waiting for headers]
aws_instance.web (remote-exec): 87% [17 Translation-en store 0 B] [Wait
aws_instance.web (remote-exec): 87% [Waiting for headers]
aws_instance.web (remote-exec): 87% [18 Packages store 0 B] [Waiting fo
aws_instance.web (remote-exec): 87% [Waiting for headers]
aws_instance.web (remote-exec): 87% [19 Translation-en store 0 B] [Wait
aws_instance.web (remote-exec): 88% [Waiting for headers]
aws_instance.web (remote-exec): 88% [20 Sources store 0 B] [Waiting for
aws_instance.web (remote-exec): 88% [Waiting for headers]
aws_instance.web (remote-exec): 88% [21 Sources store 0 B] [Waiting for
aws_instance.web (remote-exec): 88% [Waiting for headers]
aws_instance.web (remote-exec): 88% [22 Packages store 0 B] [Waiting fo
aws_instance.web (remote-exec): 88% [Waiting for headers]
aws_instance.web (remote-exec): 88% [23 Packages store 0 B] [Waiting fo
aws_instance.web (remote-exec): 89% [Waiting for headers]
aws_instance.web (remote-exec): 89% [24 Translation-en store 0 B] [Wait
aws_instance.web (remote-exec): 89% [Waiting for headers]
aws_instance.web (remote-exec): Get:26 http://security.ubuntu.com/ubuntu xenial-security/main Sources [120 kB]
aws_instance.web (remote-exec): 89% [26 Sources 2,687 B/120 kB 2%]
aws_instance.web (remote-exec): 90% [Working]
aws_instance.web (remote-exec): 90% [26 Sources store 0 B]
aws_instance.web (remote-exec): 90% [Waiting for headers]
aws_instance.web (remote-exec): Get:27 http://security.ubuntu.com/ubuntu xenial-security/restricted Sources [2,116 B]
aws_instance.web (remote-exec): 90% [Working]
aws_instance.web (remote-exec): 90% [27 Sources store 0 B] [Waiting for
aws_instance.web (remote-exec): 90% [Waiting for headers]
aws_instance.web (remote-exec): Get:28 http://security.ubuntu.com/ubuntu xenial-security/universe Sources [63.9 kB]
aws_instance.web (remote-exec): 90% [28 Sources 2,689 B/63.9 kB 4%]
aws_instance.web (remote-exec): 90% [Working]
aws_instance.web (remote-exec): 90% [28 Sources store 0 B] [Waiting for
aws_instance.web (remote-exec): 91% [Waiting for headers]
aws_instance.web (remote-exec): Get:29 http://security.ubuntu.com/ubuntu xenial-security/multiverse Sources [1,516 B]
aws_instance.web (remote-exec): 91% [Waiting for headers]
aws_instance.web (remote-exec): 91% [29 Sources store 0 B] [Waiting for
aws_instance.web (remote-exec): 91% [Waiting for headers]
aws_instance.web (remote-exec): Get:30 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [473 kB]
aws_instance.web (remote-exec): 91% [30 Packages 2,687 B/473 kB 1%]
aws_instance.web (remote-exec): 94% [Working]
aws_instance.web (remote-exec): 94% [30 Packages store 0 B]
aws_instance.web (remote-exec): 94% [Waiting for headers]
aws_instance.web (remote-exec): Get:31 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en [204 kB]
aws_instance.web: Still creating... (40s elapsed)
aws_instance.web (remote-exec): 94% [31 Translation-en 4,135 B/204 kB 2
aws_instance.web (remote-exec): 95% [Working]
aws_instance.web (remote-exec): 95% [31 Translation-en store 0 B]
aws_instance.web (remote-exec): 96% [Waiting for headers]
aws_instance.web (remote-exec): Get:32 http://security.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages [7,224 B]
aws_instance.web (remote-exec): 96% [32 Packages 4,138 B/7,224 B 57%]
aws_instance.web (remote-exec): 96% [Waiting for headers]
aws_instance.web (remote-exec): 96% [32 Packages store 0 B] [Waiting fo
aws_instance.web (remote-exec): 96% [Waiting for headers]
aws_instance.web (remote-exec): Get:33 http://security.ubuntu.com/ubuntu xenial-security/restricted Translation-en [2,152 B]
aws_instance.web (remote-exec): 96% [Waiting for headers]
aws_instance.web (remote-exec): 96% [33 Translation-en store 0 B] [Wait
aws_instance.web (remote-exec): 96% [Waiting for headers]
aws_instance.web (remote-exec): Get:34 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [341 kB]
aws_instance.web (remote-exec): 96% [34 Packages 4,135 B/341 kB 1%]
aws_instance.web (remote-exec): 98% [Working]
aws_instance.web (remote-exec): 98% [34 Packages store 0 B]
aws_instance.web (remote-exec): 98% [Waiting for headers]
aws_instance.web (remote-exec): Get:35 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en [128 kB]
aws_instance.web (remote-exec): 98% [35 Translation-en 4,135 B/128 kB 3
aws_instance.web (remote-exec): 99% [Working]
aws_instance.web (remote-exec): 99% [35 Translation-en store 0 B] [Wait
aws_instance.web (remote-exec): 99% [Waiting for headers]
aws_instance.web (remote-exec): Get:36 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [3,208 B]
aws_instance.web (remote-exec): 100% [Waiting for headers]
aws_instance.web (remote-exec): 100% [36 Packages store 0 B] [Waiting f
aws_instance.web (remote-exec): 100% [Waiting for headers]
aws_instance.web (remote-exec): Get:37 http://security.ubuntu.com/ubuntu xenial-security/multiverse Translation-en [1,408 B]
aws_instance.web (remote-exec): 100% [Working]
aws_instance.web (remote-exec): 100% [37 Translation-en store 0 B]
aws_instance.web (remote-exec): 100% [Working]
aws_instance.web (remote-exec): Fetched 13.0 MB in 5s (2,403 kB/s)
aws_instance.web (remote-exec): Reading package lists... 0%
aws_instance.web (remote-exec): Reading package lists... 0%
aws_instance.web (remote-exec): Reading package lists... 1%
aws_instance.web (remote-exec): Reading package lists... 6%
aws_instance.web (remote-exec): Reading package lists... 6%
aws_instance.web (remote-exec): Reading package lists... 10%
aws_instance.web (remote-exec): Reading package lists... 10%
aws_instance.web (remote-exec): Reading package lists... 10%
aws_instance.web (remote-exec): Reading package lists... 10%
aws_instance.web (remote-exec): Reading package lists... 10%
aws_instance.web (remote-exec): Reading package lists... 10%
aws_instance.web (remote-exec): Reading package lists... 51%
aws_instance.web (remote-exec): Reading package lists... 51%
aws_instance.web (remote-exec): Reading package lists... 73%
aws_instance.web (remote-exec): Reading package lists... 73%
aws_instance.web (remote-exec): Reading package lists... 74%
aws_instance.web (remote-exec): Reading package lists... 74%
aws_instance.web (remote-exec): Reading package lists... 74%
aws_instance.web (remote-exec): Reading package lists... 74%
aws_instance.web (remote-exec): Reading package lists... 79%
aws_instance.web (remote-exec): Reading package lists... 79%
aws_instance.web (remote-exec): Reading package lists... 83%
aws_instance.web (remote-exec): Reading package lists... 83%
aws_instance.web (remote-exec): Reading package lists... 83%
aws_instance.web (remote-exec): Reading package lists... 83%
aws_instance.web (remote-exec): Reading package lists... 83%
aws_instance.web (remote-exec): Reading package lists... 83%
aws_instance.web (remote-exec): Reading package lists... 86%
aws_instance.web (remote-exec): Reading package lists... 87%
aws_instance.web (remote-exec): Reading package lists... 87%
aws_instance.web (remote-exec): Reading package lists... 89%
aws_instance.web (remote-exec): Reading package lists... 89%
aws_instance.web (remote-exec): Reading package lists... 89%
aws_instance.web (remote-exec): Reading package lists... 89%
aws_instance.web (remote-exec): Reading package lists... 89%
aws_instance.web (remote-exec): Reading package lists... 89%
aws_instance.web (remote-exec): Reading package lists... 89%
aws_instance.web (remote-exec): Reading package lists... 89%
aws_instance.web (remote-exec): Reading package lists... 89%
aws_instance.web (remote-exec): Reading package lists... 89%
aws_instance.web (remote-exec): Reading package lists... 89%
aws_instance.web (remote-exec): Reading package lists... 89%
aws_instance.web (remote-exec): Reading package lists... 89%
aws_instance.web (remote-exec): Reading package lists... 89%
aws_instance.web (remote-exec): Reading package lists... 92%
aws_instance.web (remote-exec): Reading package lists... 92%
aws_instance.web (remote-exec): Reading package lists... 95%
aws_instance.web (remote-exec): Reading package lists... 95%
aws_instance.web (remote-exec): Reading package lists... 95%
aws_instance.web (remote-exec): Reading package lists... 95%
aws_instance.web (remote-exec): Reading package lists... 95%
aws_instance.web (remote-exec): Reading package lists... 95%
aws_instance.web (remote-exec): Reading package lists... 98%
aws_instance.web (remote-exec): Reading package lists... 98%
aws_instance.web (remote-exec): Reading package lists... 99%
aws_instance.web (remote-exec): Reading package lists... 99%
aws_instance.web (remote-exec): Reading package lists... 99%
aws_instance.web (remote-exec): Reading package lists... 99%
aws_instance.web (remote-exec): Reading package lists... 99%
aws_instance.web (remote-exec): Reading package lists... 99%
aws_instance.web (remote-exec): Reading package lists... Done
aws_instance.web (remote-exec): sudo: unable to resolve host ip-10-0-1-222
aws_instance.web (remote-exec): Reading package lists... 0%
aws_instance.web (remote-exec): Reading package lists... 100%
aws_instance.web (remote-exec): Reading package lists... Done
aws_instance.web (remote-exec): Building dependency tree... 0%
aws_instance.web (remote-exec): Building dependency tree... 0%
aws_instance.web (remote-exec): Building dependency tree... 50%
aws_instance.web (remote-exec): Building dependency tree... 50%
aws_instance.web (remote-exec): Building dependency tree
aws_instance.web (remote-exec): Reading state information... 0%
aws_instance.web (remote-exec): Reading state information... 6%
aws_instance.web (remote-exec): Reading state information... Done
aws_instance.web (remote-exec): The following additional packages will be installed:
aws_instance.web (remote-exec): apache2-bin apache2-data
aws_instance.web (remote-exec): apache2-utils libapr1 libaprutil1
aws_instance.web (remote-exec): libaprutil1-dbd-sqlite3
aws_instance.web (remote-exec): libaprutil1-ldap liblua5.1-0
aws_instance.web (remote-exec): ssl-cert
aws_instance.web (remote-exec): Suggested packages:
aws_instance.web (remote-exec): www-browser apache2-doc
aws_instance.web (remote-exec): apache2-suexec-pristine
aws_instance.web (remote-exec): | apache2-suexec-custom
aws_instance.web (remote-exec): openssl-blacklist
aws_instance.web (remote-exec): The following NEW packages will be installed:
aws_instance.web (remote-exec): apache2 apache2-bin apache2-data
aws_instance.web (remote-exec): apache2-utils libapr1 libaprutil1
aws_instance.web (remote-exec): libaprutil1-dbd-sqlite3
aws_instance.web (remote-exec): libaprutil1-ldap liblua5.1-0
aws_instance.web (remote-exec): ssl-cert
aws_instance.web (remote-exec): 0 upgraded, 10 newly installed, 0 to remove and 150 not upgraded.
aws_instance.web (remote-exec): Need to get 1,558 kB of archives.
aws_instance.web (remote-exec): After this operation, 6,436 kB of additional disk space will be used.
aws_instance.web (remote-exec): 0% [Working]
aws_instance.web (remote-exec): Get:1 http://us-west-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libapr1 amd64 1.5.2-3 [86.0 kB]
aws_instance.web (remote-exec): 0% [1 libapr1 0 B/86.0 kB 0%] [Connecti
aws_instance.web (remote-exec): 6% [Connecting to security.ubuntu.com (
aws_instance.web (remote-exec): Get:2 http://us-west-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libaprutil1 amd64 1.5.4-1build1 [77.1 kB]
aws_instance.web (remote-exec): 6% [2 libaprutil1 0 B/77.1 kB 0%] [Conn
aws_instance.web (remote-exec): 12% [Connecting to security.ubuntu.com
aws_instance.web (remote-exec): Get:3 http://us-west-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libaprutil1-dbd-sqlite3 amd64 1.5.4-1build1 [10.6 kB]
aws_instance.web (remote-exec): 12% [3 libaprutil1-dbd-sqlite3 0 B/10.6
aws_instance.web (remote-exec): 15% [Connecting to security.ubuntu.com
aws_instance.web (remote-exec): Get:4 http://us-west-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libaprutil1-ldap amd64 1.5.4-1build1 [8,720 B]
aws_instance.web (remote-exec): 15% [4 libaprutil1-ldap 0 B/8,720 B 0%]
aws_instance.web (remote-exec): 17% [Connecting to security.ubuntu.com
aws_instance.web (remote-exec): Get:5 http://us-west-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 liblua5.1-0 amd64 5.1.5-8ubuntu1 [102 kB]
aws_instance.web (remote-exec): 17% [5 liblua5.1-0 0 B/102 kB 0%] [Conn
aws_instance.web (remote-exec): 25% [Connecting to security.ubuntu.com
aws_instance.web (remote-exec): Get:6 http://us-west-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 ssl-cert all 1.0.37 [16.9 kB]
aws_instance.web (remote-exec): 25% [6 ssl-cert 0 B/16.9 kB 0%] [Connec
aws_instance.web (remote-exec): 27% [Connecting to security.ubuntu.com
aws_instance.web (remote-exec): Get:7 http://security.ubuntu.com/ubuntu xenial-security/main amd64 apache2-bin amd64 2.4.18-2ubuntu3.8 [926 kB]
aws_instance.web (remote-exec): 28% [7 apache2-bin 14.2 kB/926 kB 2%]
aws_instance.web (remote-exec): 35% [7 apache2-bin 150 kB/926 kB 16%]
aws_instance.web (remote-exec): 77% [Working]
aws_instance.web (remote-exec): Get:8 http://security.ubuntu.com/ubuntu xenial-security/main amd64 apache2-utils amd64 2.4.18-2ubuntu3.8 [82.0 kB]
aws_instance.web (remote-exec): 77% [8 apache2-utils 0 B/82.0 kB 0%]
aws_instance.web (remote-exec): 83% [Working]
aws_instance.web (remote-exec): Get:9 http://security.ubuntu.com/ubuntu xenial-security/main amd64 apache2-data all 2.4.18-2ubuntu3.8 [162 kB]
aws_instance.web (remote-exec): 83% [9 apache2-data 0 B/162 kB 0%]
aws_instance.web (remote-exec): 94% [Working]
aws_instance.web (remote-exec): Get:10 http://security.ubuntu.com/ubuntu xenial-security/main amd64 apache2 amd64 2.4.18-2ubuntu3.8 [86.8 kB]
aws_instance.web (remote-exec): 94% [10 apache2 0 B/86.8 kB 0%]
aws_instance.web (remote-exec): 100% [Working]
aws_instance.web (remote-exec): Fetched 1,558 kB in 1s (973 kB/s)
aws_instance.web (remote-exec): Preconfiguring packages ...
aws_instance.web (remote-exec): Selecting previously unselected package libapr1:amd64.
aws_instance.web (remote-exec): (Reading database ...
aws_instance.web (remote-exec): (Reading database ... 5%
aws_instance.web (remote-exec): (Reading database ... 10%
aws_instance.web (remote-exec): (Reading database ... 15%
aws_instance.web (remote-exec): (Reading database ... 20%
aws_instance.web (remote-exec): (Reading database ... 25%
aws_instance.web (remote-exec): (Reading database ... 30%
aws_instance.web (remote-exec): (Reading database ... 35%
aws_instance.web (remote-exec): (Reading database ... 40%
aws_instance.web (remote-exec): (Reading database ... 45%
aws_instance.web (remote-exec): (Reading database ... 50%
aws_instance.web (remote-exec): (Reading database ... 55%
aws_instance.web (remote-exec): (Reading database ... 60%
aws_instance.web (remote-exec): (Reading database ... 65%
aws_instance.web (remote-exec): (Reading database ... 70%
aws_instance.web (remote-exec): (Reading database ... 75%
aws_instance.web (remote-exec): (Reading database ... 80%
aws_instance.web (remote-exec): (Reading database ... 85%
aws_instance.web (remote-exec): (Reading database ... 90%
aws_instance.web (remote-exec): (Reading database ... 95%
aws_instance.web (remote-exec): (Reading database ... 100%
aws_instance.web (remote-exec): (Reading database ... 51039 files and directories currently installed.)
aws_instance.web (remote-exec): Preparing to unpack .../libapr1_1.5.2-3_amd64.deb ...
aws_instance.web (remote-exec): Unpacking libapr1:amd64 (1.5.2-3) ...
aws_instance.web (remote-exec): Selecting previously unselected package libaprutil1:amd64.
aws_instance.web (remote-exec): Preparing to unpack .../libaprutil1_1.5.4-1build1_amd64.deb ...
aws_instance.web (remote-exec): Unpacking libaprutil1:amd64 (1.5.4-1build1) ...
aws_instance.web (remote-exec): Selecting previously unselected package libaprutil1-dbd-sqlite3:amd64.
aws_instance.web (remote-exec): Preparing to unpack .../libaprutil1-dbd-sqlite3_1.5.4-1build1_amd64.deb ...
aws_instance.web (remote-exec): Unpacking libaprutil1-dbd-sqlite3:amd64 (1.5.4-1build1) ...
aws_instance.web (remote-exec): Selecting previously unselected package libaprutil1-ldap:amd64.
aws_instance.web (remote-exec): Preparing to unpack .../libaprutil1-ldap_1.5.4-1build1_amd64.deb ...
aws_instance.web (remote-exec): Unpacking libaprutil1-ldap:amd64 (1.5.4-1build1) ...
aws_instance.web (remote-exec): Selecting previously unselected package liblua5.1-0:amd64.
aws_instance.web (remote-exec): Preparing to unpack .../liblua5.1-0_5.1.5-8ubuntu1_amd64.deb ...
aws_instance.web (remote-exec): Unpacking liblua5.1-0:amd64 (5.1.5-8ubuntu1) ...
aws_instance.web (remote-exec): Selecting previously unselected package apache2-bin.
aws_instance.web (remote-exec): Preparing to unpack .../apache2-bin_2.4.18-2ubuntu3.8_amd64.deb ...
aws_instance.web (remote-exec): Unpacking apache2-bin (2.4.18-2ubuntu3.8) ...
aws_instance.web (remote-exec): Selecting previously unselected package apache2-utils.
aws_instance.web (remote-exec): Preparing to unpack .../apache2-utils_2.4.18-2ubuntu3.8_amd64.deb ...
aws_instance.web (remote-exec): Unpacking apache2-utils (2.4.18-2ubuntu3.8) ...
aws_instance.web (remote-exec): Selecting previously unselected package apache2-data.
aws_instance.web (remote-exec): Preparing to unpack .../apache2-data_2.4.18-2ubuntu3.8_all.deb ...
aws_instance.web (remote-exec): Unpacking apache2-data (2.4.18-2ubuntu3.8) ...
aws_instance.web (remote-exec): Selecting previously unselected package apache2.
aws_instance.web (remote-exec): Preparing to unpack .../apache2_2.4.18-2ubuntu3.8_amd64.deb ...
aws_instance.web (remote-exec): Unpacking apache2 (2.4.18-2ubuntu3.8) ...
aws_instance.web (remote-exec): Selecting previously unselected package ssl-cert.
aws_instance.web (remote-exec): Preparing to unpack .../ssl-cert_1.0.37_all.deb ...
aws_instance.web (remote-exec): Unpacking ssl-cert (1.0.37) ...
aws_instance.web (remote-exec): Processing triggers for libc-bin (2.23-0ubuntu9) ...
aws_instance.web (remote-exec): Processing triggers for man-db (2.7.5-1) ...
aws_instance.web (remote-exec): Processing triggers for ufw (0.35-0ubuntu2) ...
aws_instance.web (remote-exec): Processing triggers for systemd (229-4ubuntu19) ...
aws_instance.web (remote-exec): Processing triggers for ureadahead (0.100.0-19) ...
aws_instance.web (remote-exec): Setting up libapr1:amd64 (1.5.2-3) ...
aws_instance.web (remote-exec): Setting up libaprutil1:amd64 (1.5.4-1build1) ...
aws_instance.web (remote-exec): Setting up libaprutil1-dbd-sqlite3:amd64 (1.5.4-1build1) ...
aws_instance.web (remote-exec): Setting up libaprutil1-ldap:amd64 (1.5.4-1build1) ...
aws_instance.web (remote-exec): Setting up liblua5.1-0:amd64 (5.1.5-8ubuntu1) ...
aws_instance.web (remote-exec): Setting up apache2-bin (2.4.18-2ubuntu3.8) ...
aws_instance.web (remote-exec): Setting up apache2-utils (2.4.18-2ubuntu3.8) ...
aws_instance.web (remote-exec): Setting up apache2-data (2.4.18-2ubuntu3.8) ...
aws_instance.web (remote-exec): Setting up apache2 (2.4.18-2ubuntu3.8) ...
aws_instance.web (remote-exec): Enabling module mpm_event.
aws_instance.web (remote-exec): Enabling module authz_core.
aws_instance.web (remote-exec): Enabling module authz_host.
aws_instance.web (remote-exec): Enabling module authn_core.
aws_instance.web (remote-exec): Enabling module auth_basic.
aws_instance.web (remote-exec): Enabling module access_compat.
aws_instance.web (remote-exec): Enabling module authn_file.
aws_instance.web (remote-exec): Enabling module authz_user.
aws_instance.web (remote-exec): Enabling module alias.
aws_instance.web (remote-exec): Enabling module dir.
aws_instance.web (remote-exec): Enabling module autoindex.
aws_instance.web (remote-exec): Enabling module env.
aws_instance.web (remote-exec): Enabling module mime.
aws_instance.web (remote-exec): Enabling module negotiation.
aws_instance.web (remote-exec): Enabling module setenvif.
aws_instance.web (remote-exec): Enabling module filter.
aws_instance.web (remote-exec): Enabling module deflate.
aws_instance.web (remote-exec): Enabling module status.
aws_instance.web (remote-exec): Enabling conf charset.
aws_instance.web (remote-exec): Enabling conf localized-error-pages.
aws_instance.web (remote-exec): Enabling conf other-vhosts-access-log.
aws_instance.web (remote-exec): Enabling conf security.
aws_instance.web (remote-exec): Enabling conf serve-cgi-bin.
aws_instance.web (remote-exec): Enabling site 000-default.
aws_instance.web: Still creating... (50s elapsed)
aws_instance.web (remote-exec): Setting up ssl-cert (1.0.37) ...
aws_instance.web (remote-exec): hostname: Name or service not known
aws_instance.web (remote-exec): make-ssl-cert: Could not get FQDN, using "ip-10-0-1-222".
aws_instance.web (remote-exec): make-ssl-cert: You may want to fix your /etc/hosts and/or DNS setup and run
aws_instance.web (remote-exec): make-ssl-cert: make-ssl-cert generate-default-snakeoil --force-overwrite
aws_instance.web (remote-exec): make-ssl-cert: again.
aws_instance.web (remote-exec): Processing triggers for libc-bin (2.23-0ubuntu9) ...
aws_instance.web (remote-exec): Processing triggers for systemd (229-4ubuntu19) ...
aws_instance.web (remote-exec): Processing triggers for ureadahead (0.100.0-19) ...
aws_instance.web (remote-exec): Processing triggers for ufw (0.35-0ubuntu2) ...
aws_instance.web: Creation complete after 53s (ID: i-04eefacc2798e8816)
aws_elb.web: Creating...
arn: "" => "<computed>"
availability_zones.#: "" => "<computed>"
connection_draining: "" => "false"
connection_draining_timeout: "" => "300"
cross_zone_load_balancing: "" => "true"
dns_name: "" => "<computed>"
health_check.#: "" => "<computed>"
idle_timeout: "" => "60"
instances.#: "" => "1"
instances.1476309557: "" => "i-04eefacc2798e8816"
internal: "" => "<computed>"
listener.#: "" => "1"
listener.3057123346.instance_port: "" => "80"
listener.3057123346.instance_protocol: "" => "http"
listener.3057123346.lb_port: "" => "80"
listener.3057123346.lb_protocol: "" => "http"
listener.3057123346.ssl_certificate_id: "" => ""
name: "" => "terraform-example-elb"
security_groups.#: "" => "1"
security_groups.1451353995: "" => "sg-d58b85ac"
source_security_group: "" => "<computed>"
source_security_group_id: "" => "<computed>"
subnets.#: "" => "1"
subnets.2618309620: "" => "subnet-68c1b633"
zone_id: "" => "<computed>"
aws_elb.web: Still creating... (10s elapsed)
aws_elb.web: Creation complete after 11s (ID: terraform-example-elb)
Apply complete! Resources: 9 added, 0 changed, 0 destroyed.
Outputs:
address = terraform-example-elb-1860834975.us-west-1.elb.amazonaws.com
instance_id = i-04eefacc2798e8816
vpc_id = vpc-84bd21e3
mray@farnsworth[00:04]2.4.4(generating_demo*)~/ws/inspec-verify-provision/terraform
$ cd ../../iggy/
mray@farnsworth[00:06]2.4.4(master*)~/ws/iggy
$ bundle exec bin/iggy terraform -f ../inspec-verify-provision/terraform/terraform.tfstate > iggy.rb
mray@farnsworth[00:07]2.4.4(master*)~/ws/iggy
$ /opt/inspec/bin/inspec exec iggy.rb -t aws://us-west-1
Profile: tests from iggy.rb (tests from iggy.rb)
Version: (not specified)
Target: aws://us-west-1
✔ aws_security_group::sg-d48b85ad: Iggy terraform.tfstate aws_security_group::sg-d48b85ad
✔ EC2 Security Group sg-d48b85ad should exist
✔ aws_security_group::sg-d58b85ac: Iggy terraform.tfstate aws_security_group::sg-d58b85ac
✔ EC2 Security Group sg-d58b85ac should exist
✔ aws_subnet::subnet-68c1b633: Iggy terraform.tfstate aws_subnet::subnet-68c1b633
✔ VPC Subnet subnet-68c1b633 should exist
✔ aws_vpc::vpc-84bd21e3: Iggy terraform.tfstate aws_vpc::vpc-84bd21e3
✔ VPC vpc-84bd21e3 should exist
Profile Summary: 4 successful controls, 0 control failures, 0 controls skipped
Test Summary: 4 successful, 0 failures, 0 skipped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment