mirror of
https://github.com/Aviortheking/Blog_IMIE.git
synced 2025-07-28 13:49:50 +00:00
amazon linux
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
{
|
||||
"version": 3,
|
||||
"terraform_version": "0.11.10",
|
||||
"serial": 1,
|
||||
"serial": 3,
|
||||
"lineage": "4559bbe1-495e-5de2-cb83-77e241ef9eac",
|
||||
"modules": [
|
||||
{
|
||||
@ -17,13 +17,13 @@
|
||||
"data.aws_eip.webserver-ip"
|
||||
],
|
||||
"primary": {
|
||||
"id": "eipassoc-0edb0ab1c83127191",
|
||||
"id": "eipassoc-01df35e4fb2455c9a",
|
||||
"attributes": {
|
||||
"allocation_id": "eipalloc-0f61e902f5f680dc0",
|
||||
"id": "eipassoc-0edb0ab1c83127191",
|
||||
"instance_id": "i-08b55950401cc9976",
|
||||
"network_interface_id": "eni-099550d3263efebcf",
|
||||
"private_ip_address": "172.31.39.96",
|
||||
"id": "eipassoc-01df35e4fb2455c9a",
|
||||
"instance_id": "i-0c9eae21a3130cc41",
|
||||
"network_interface_id": "eni-07011ea41afb09dec",
|
||||
"private_ip_address": "172.31.46.198",
|
||||
"public_ip": "35.180.10.123"
|
||||
},
|
||||
"meta": {},
|
||||
@ -36,14 +36,13 @@
|
||||
"type": "aws_instance",
|
||||
"depends_on": [
|
||||
"aws_key_pair.terraform_ec2_key",
|
||||
"aws_security_group.allow_ssh",
|
||||
"data.aws_ami.ubuntu"
|
||||
"aws_security_group.allow_ssh"
|
||||
],
|
||||
"primary": {
|
||||
"id": "i-08b55950401cc9976",
|
||||
"id": "i-0c9eae21a3130cc41",
|
||||
"attributes": {
|
||||
"ami": "ami-0a2ca21adb4a04084",
|
||||
"arn": "arn:aws:ec2:eu-west-3:116854918046:instance/i-08b55950401cc9976",
|
||||
"ami": "ami-04992646d54c69ef4",
|
||||
"arn": "arn:aws:ec2:eu-west-3:116854918046:instance/i-0c9eae21a3130cc41",
|
||||
"associate_public_ip_address": "true",
|
||||
"availability_zone": "eu-west-3c",
|
||||
"cpu_core_count": "1",
|
||||
@ -56,29 +55,29 @@
|
||||
"ephemeral_block_device.#": "0",
|
||||
"get_password_data": "false",
|
||||
"iam_instance_profile": "",
|
||||
"id": "i-08b55950401cc9976",
|
||||
"id": "i-0c9eae21a3130cc41",
|
||||
"instance_state": "running",
|
||||
"instance_type": "t2.micro",
|
||||
"ipv6_addresses.#": "0",
|
||||
"key_name": "terraform_ec2_key",
|
||||
"monitoring": "false",
|
||||
"network_interface.#": "0",
|
||||
"network_interface_id": "eni-099550d3263efebcf",
|
||||
"network_interface_id": "eni-07011ea41afb09dec",
|
||||
"password_data": "",
|
||||
"placement_group": "",
|
||||
"primary_network_interface_id": "eni-099550d3263efebcf",
|
||||
"private_dns": "ip-172-31-39-96.eu-west-3.compute.internal",
|
||||
"private_ip": "172.31.39.96",
|
||||
"public_dns": "ec2-35-180-98-19.eu-west-3.compute.amazonaws.com",
|
||||
"public_ip": "35.180.98.19",
|
||||
"primary_network_interface_id": "eni-07011ea41afb09dec",
|
||||
"private_dns": "ip-172-31-46-198.eu-west-3.compute.internal",
|
||||
"private_ip": "172.31.46.198",
|
||||
"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-0a7dfd6d0b2e29b1f",
|
||||
"root_block_device.0.volume_id": "vol-0fb06f24a4cfdcad0",
|
||||
"root_block_device.0.volume_size": "8",
|
||||
"root_block_device.0.volume_type": "gp2",
|
||||
"security_groups.#": "1",
|
||||
"security_groups.3705046556": "terraform-example-instance",
|
||||
"security_groups.1710041364": "allow ssh",
|
||||
"source_dest_check": "true",
|
||||
"subnet_id": "subnet-6308d02e",
|
||||
"tags.%": "1",
|
||||
@ -86,7 +85,7 @@
|
||||
"tenancy": "default",
|
||||
"volume_tags.%": "0",
|
||||
"vpc_security_group_ids.#": "1",
|
||||
"vpc_security_group_ids.3229956732": "sg-0d04233f1196d8c4c"
|
||||
"vpc_security_group_ids.1567020715": "sg-091ed62f53cbe7b39"
|
||||
},
|
||||
"meta": {
|
||||
"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0": {
|
||||
@ -124,12 +123,12 @@
|
||||
"type": "aws_security_group",
|
||||
"depends_on": [],
|
||||
"primary": {
|
||||
"id": "sg-0d04233f1196d8c4c",
|
||||
"id": "sg-091ed62f53cbe7b39",
|
||||
"attributes": {
|
||||
"arn": "arn:aws:ec2:eu-west-3:116854918046:security-group/sg-0d04233f1196d8c4c",
|
||||
"arn": "arn:aws:ec2:eu-west-3:116854918046:security-group/sg-091ed62f53cbe7b39",
|
||||
"description": "Managed by Terraform",
|
||||
"egress.#": "0",
|
||||
"id": "sg-0d04233f1196d8c4c",
|
||||
"id": "sg-091ed62f53cbe7b39",
|
||||
"ingress.#": "1",
|
||||
"ingress.2541437006.cidr_blocks.#": "1",
|
||||
"ingress.2541437006.cidr_blocks.0": "0.0.0.0/0",
|
||||
@ -141,7 +140,7 @@
|
||||
"ingress.2541437006.security_groups.#": "0",
|
||||
"ingress.2541437006.self": "false",
|
||||
"ingress.2541437006.to_port": "22",
|
||||
"name": "terraform-example-instance",
|
||||
"name": "allow ssh",
|
||||
"owner_id": "116854918046",
|
||||
"revoke_rules_on_delete": "false",
|
||||
"tags.%": "0",
|
||||
|
Reference in New Issue
Block a user