Closed devsecfranklin closed 4 years ago
The terraform makes the ubuntu instance to host the scoreboard.
Plan: 8 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.franklin: Creating... fingerprint: "" => "<computed>" key_name: "" => "do_terra_rsa" key_pair_id: "" => "<computed>" public_key: "" => "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDABuFmeNzJtKfq/BhI5okytxj9a7J+eDlUCPozZdasQyXq3DSy4pOUO3brYMSiTCUX0eQseUVXjzUO4C7OojZKZ8dONaiUrBvj8icKB137mDzq5iSAZrbdnIQdjiNZC3/DQ6W0PMHk4SZez0Z5oKikbP/l/E8zRxnfWJHXiogYogOdtqxZdx4SshDy2iPsReINFJNIwJJB0cbZB35fhxRAghSmf3MWjkPeHzLE+6fZD3HszzZ7g7ngDN1E5MRqH06tqeRDboTypOrH5CcUjergq2xwJ9/eSdbtrKY4uGG5U/6RTo0hA/kcLW9AmBsHlCvpn5YnLKhswETCkEOCsqHZ thedevilsvoice@grimoire" aws_vpc.main: Creating... arn: "" => "<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: "" => "default" ipv6_association_id: "" => "<computed>" ipv6_cidr_block: "" => "<computed>" main_route_table_id: "" => "<computed>" owner_id: "" => "<computed>" aws_key_pair.franklin: Creation complete after 2s (ID: do_terra_rsa) aws_vpc.main: Creation complete after 7s (ID: vpc-07c27f5103aea2c7e) aws_internet_gateway.default: Creating... owner_id: "" => "<computed>" vpc_id: "" => "vpc-07c27f5103aea2c7e" aws_subnet.franklin-iac: Creating... arn: "" => "<computed>" assign_ipv6_address_on_creation: "" => "false" availability_zone: "" => "us-west-2c" availability_zone_id: "" => "<computed>" cidr_block: "" => "10.0.1.0/24" ipv6_cidr_block: "" => "<computed>" ipv6_cidr_block_association_id: "" => "<computed>" map_public_ip_on_launch: "" => "true" owner_id: "" => "<computed>" vpc_id: "" => "vpc-07c27f5103aea2c7e" aws_security_group.iac_sec_grp: 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.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.prefix_list_ids.#: "" => "0" ingress.2541437006.protocol: "" => "tcp" ingress.2541437006.security_groups.#: "" => "0" ingress.2541437006.self: "" => "false" ingress.2541437006.to_port: "" => "22" name: "" => "iac_sec_grp" owner_id: "" => "<computed>" revoke_rules_on_delete: "" => "false" vpc_id: "" => "vpc-07c27f5103aea2c7e" aws_subnet.franklin-iac: Creation complete after 2s (ID: subnet-0a4ab200d672e7ed0) aws_route_table_association.a: Creating... route_table_id: "" => "rtb-0986a85748dea3da2" subnet_id: "" => "subnet-0a4ab200d672e7ed0" aws_internet_gateway.default: Creation complete after 3s (ID: igw-01c680b6b5c4795b7) 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-01c680b6b5c4795b7" instance_id: "" => "<computed>" instance_owner_id: "" => "<computed>" nat_gateway_id: "" => "<computed>" network_interface_id: "" => "<computed>" origin: "" => "<computed>" route_table_id: "" => "rtb-0986a85748dea3da2" state: "" => "<computed>" aws_route_table_association.a: Creation complete after 0s (ID: rtbassoc-031002dbba0207073) aws_route.internet_access: Creation complete after 1s (ID: r-rtb-0986a85748dea3da21080289494) aws_security_group.iac_sec_grp: Creation complete after 5s (ID: sg-06da56fdf6377d4d7) aws_instance.franklin-iac: Creating... ami: "" => "ami-02e30ba14d8ffa6e6" arn: "" => "<computed>" associate_public_ip_address: "" => "true" 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_state: "" => "<computed>" instance_type: "" => "t2.micro" ipv6_address_count: "" => "<computed>" ipv6_addresses.#: "" => "<computed>" key_name: "" => "do_terra_rsa" 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-0a4ab200d672e7ed0" tags.%: "" => "1" tags.Name: "" => "franklin-iac" tenancy: "" => "<computed>" volume_tags.%: "" => "<computed>" vpc_security_group_ids.#: "" => "1" vpc_security_group_ids.4060184329: "" => "sg-06da56fdf6377d4d7" aws_instance.franklin-iac: Still creating... (10s elapsed) aws_instance.franklin-iac: Still creating... (20s elapsed) aws_instance.franklin-iac: Still creating... (30s elapsed) aws_instance.franklin-iac: Creation complete after 38s (ID: i-05364ff04886e3926) Apply complete! Resources: 8 added, 0 changed, 0 destroyed. Outputs: sensor_ip = Now do this: ssh -i /home/thedevilsvoice/.ssh/do_terra_rsa -l centos 18.236.239.239
The terraform makes the ubuntu instance to host the scoreboard.