Remove variables.tf

This commit is contained in:
s0dy
2018-11-01 14:37:02 +01:00
parent 31a38b9043
commit 4601f095c8
8 changed files with 240 additions and 119 deletions

View File

@ -1,7 +1,7 @@
{
"version": 3,
"terraform_version": "0.11.10",
"serial": 5,
"serial": 8,
"lineage": "40e25136-2a8a-573c-e896-537bfb7f8b22",
"modules": [
{
@ -17,13 +17,13 @@
"data.aws_eip.webserver-ip"
],
"primary": {
"id": "eipassoc-008af9caa6691c04b",
"id": "eipassoc-0826b0b47141924ba",
"attributes": {
"allocation_id": "eipalloc-0f61e902f5f680dc0",
"id": "eipassoc-008af9caa6691c04b",
"instance_id": "i-05ab29acdb857ba07",
"network_interface_id": "eni-04f05313a3fb9d22e",
"private_ip_address": "172.31.33.78",
"id": "eipassoc-0826b0b47141924ba",
"instance_id": "i-09f2de73feb5c3e7a",
"network_interface_id": "eni-02d855d56e40967d0",
"private_ip_address": "172.31.36.68",
"public_ip": "35.180.10.123"
},
"meta": {},
@ -40,10 +40,10 @@
"aws_security_group.allow_ssh"
],
"primary": {
"id": "i-05ab29acdb857ba07",
"id": "i-09f2de73feb5c3e7a",
"attributes": {
"ami": "ami-969c2deb",
"arn": "arn:aws:ec2:eu-west-3:116854918046:instance/i-05ab29acdb857ba07",
"ami": "ami-04992646d54c69ef4",
"arn": "arn:aws:ec2:eu-west-3:116854918046:instance/i-09f2de73feb5c3e7a",
"associate_public_ip_address": "true",
"availability_zone": "eu-west-3c",
"cpu_core_count": "1",
@ -56,25 +56,25 @@
"ephemeral_block_device.#": "0",
"get_password_data": "false",
"iam_instance_profile": "",
"id": "i-05ab29acdb857ba07",
"id": "i-09f2de73feb5c3e7a",
"instance_state": "running",
"instance_type": "t2.micro",
"ipv6_addresses.#": "0",
"key_name": "terraform_ec2_key",
"monitoring": "false",
"network_interface.#": "0",
"network_interface_id": "eni-04f05313a3fb9d22e",
"network_interface_id": "eni-02d855d56e40967d0",
"password_data": "",
"placement_group": "",
"primary_network_interface_id": "eni-04f05313a3fb9d22e",
"private_dns": "ip-172-31-33-78.eu-west-3.compute.internal",
"private_ip": "172.31.33.78",
"public_dns": "ec2-35-180-131-72.eu-west-3.compute.amazonaws.com",
"public_ip": "35.180.131.72",
"primary_network_interface_id": "eni-02d855d56e40967d0",
"private_dns": "ip-172-31-36-68.eu-west-3.compute.internal",
"private_ip": "172.31.36.68",
"public_dns": "ec2-35-180-10-123.eu-west-3.compute.amazonaws.com",
"public_ip": "35.180.10.123",
"root_block_device.#": "1",
"root_block_device.0.delete_on_termination": "true",
"root_block_device.0.iops": "100",
"root_block_device.0.volume_id": "vol-0b2c3ade9942b0498",
"root_block_device.0.volume_id": "vol-0b1da0548cc9c546e",
"root_block_device.0.volume_size": "8",
"root_block_device.0.volume_type": "gp2",
"security_groups.#": "2",
@ -87,8 +87,8 @@
"tenancy": "default",
"volume_tags.%": "0",
"vpc_security_group_ids.#": "2",
"vpc_security_group_ids.1275660324": "sg-069d406cd5c97a02e",
"vpc_security_group_ids.1919395107": "sg-000fa76bafd2d1490"
"vpc_security_group_ids.1821931549": "sg-059fe679d9db32397",
"vpc_security_group_ids.2822979855": "sg-082897f758ada2701"
},
"meta": {
"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0": {
@ -126,9 +126,9 @@
"type": "aws_security_group",
"depends_on": [],
"primary": {
"id": "sg-000fa76bafd2d1490",
"id": "sg-082897f758ada2701",
"attributes": {
"arn": "arn:aws:ec2:eu-west-3:116854918046:security-group/sg-000fa76bafd2d1490",
"arn": "arn:aws:ec2:eu-west-3:116854918046:security-group/sg-082897f758ada2701",
"description": "Managed by Terraform",
"egress.#": "2",
"egress.2214680975.cidr_blocks.#": "1",
@ -151,8 +151,28 @@
"egress.2617001939.security_groups.#": "0",
"egress.2617001939.self": "false",
"egress.2617001939.to_port": "443",
"id": "sg-000fa76bafd2d1490",
"ingress.#": "0",
"id": "sg-082897f758ada2701",
"ingress.#": "2",
"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.prefix_list_ids.#": "0",
"ingress.2214680975.protocol": "tcp",
"ingress.2214680975.security_groups.#": "0",
"ingress.2214680975.self": "false",
"ingress.2214680975.to_port": "80",
"ingress.2617001939.cidr_blocks.#": "1",
"ingress.2617001939.cidr_blocks.0": "0.0.0.0/0",
"ingress.2617001939.description": "",
"ingress.2617001939.from_port": "443",
"ingress.2617001939.ipv6_cidr_blocks.#": "0",
"ingress.2617001939.prefix_list_ids.#": "0",
"ingress.2617001939.protocol": "tcp",
"ingress.2617001939.security_groups.#": "0",
"ingress.2617001939.self": "false",
"ingress.2617001939.to_port": "443",
"name": "allow http",
"owner_id": "116854918046",
"revoke_rules_on_delete": "false",
@ -175,12 +195,12 @@
"type": "aws_security_group",
"depends_on": [],
"primary": {
"id": "sg-069d406cd5c97a02e",
"id": "sg-059fe679d9db32397",
"attributes": {
"arn": "arn:aws:ec2:eu-west-3:116854918046:security-group/sg-069d406cd5c97a02e",
"arn": "arn:aws:ec2:eu-west-3:116854918046:security-group/sg-059fe679d9db32397",
"description": "Managed by Terraform",
"egress.#": "0",
"id": "sg-069d406cd5c97a02e",
"id": "sg-059fe679d9db32397",
"ingress.#": "1",
"ingress.2541437006.cidr_blocks.#": "1",
"ingress.2541437006.cidr_blocks.0": "0.0.0.0/0",