mirror of
https://github.com/adammck/terraform-inventory
synced 2024-05-25 05:46:03 +02:00
Update fixtures again
This commit is contained in:
parent
0a61a938ad
commit
420247c637
|
@ -13,7 +13,7 @@ provider "digitalocean" {
|
|||
token = "${var.do_token}"
|
||||
}
|
||||
|
||||
resource "aws_instance" "web-aws" {
|
||||
resource "aws_instance" "alpha" {
|
||||
ami = "ami-96a818fe"
|
||||
instance_type = "t2.micro"
|
||||
subnet_id = "${var.aws_subnet_id}"
|
||||
|
@ -26,11 +26,11 @@ resource "aws_instance" "web-aws" {
|
|||
}
|
||||
|
||||
tags = {
|
||||
Role = "Webserver"
|
||||
Role = "Web"
|
||||
}
|
||||
}
|
||||
|
||||
resource "aws_instance" "worker-aws" {
|
||||
resource "aws_instance" "beta" {
|
||||
ami = "ami-96a818fe"
|
||||
instance_type = "t2.micro"
|
||||
subnet_id = "${var.aws_subnet_id}"
|
||||
|
@ -46,7 +46,7 @@ resource "aws_instance" "worker-aws" {
|
|||
}
|
||||
}
|
||||
|
||||
resource "digitalocean_droplet" "web-do" {
|
||||
resource "digitalocean_droplet" "gamma" {
|
||||
image = "centos-7-0-x64"
|
||||
name = "terraform-inventory-1"
|
||||
region = "nyc1"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"version": 1,
|
||||
"serial": 15,
|
||||
"serial": 17,
|
||||
"modules": [
|
||||
{
|
||||
"path": [
|
||||
|
@ -8,10 +8,10 @@
|
|||
],
|
||||
"outputs": {},
|
||||
"resources": {
|
||||
"aws_instance.web-aws.0": {
|
||||
"aws_instance.alpha.0": {
|
||||
"type": "aws_instance",
|
||||
"primary": {
|
||||
"id": "i-6db8dedb",
|
||||
"id": "i-92f79124",
|
||||
"attributes": {
|
||||
"ami": "ami-96a818fe",
|
||||
"associate_public_ip_address": "true",
|
||||
|
@ -20,14 +20,14 @@
|
|||
"ebs_optimized": "false",
|
||||
"ephemeral_block_device.#": "0",
|
||||
"iam_instance_profile": "",
|
||||
"id": "i-6db8dedb",
|
||||
"id": "i-92f79124",
|
||||
"instance_type": "t2.micro",
|
||||
"key_name": "terraform-inventory",
|
||||
"monitoring": "false",
|
||||
"private_dns": "ip-10-0-0-14.ec2.internal",
|
||||
"private_ip": "10.0.0.14",
|
||||
"private_dns": "ip-10-0-0-4.ec2.internal",
|
||||
"private_ip": "10.0.0.4",
|
||||
"public_dns": "",
|
||||
"public_ip": "52.90.155.162",
|
||||
"public_ip": "52.90.134.71",
|
||||
"root_block_device.#": "1",
|
||||
"root_block_device.0.delete_on_termination": "true",
|
||||
"root_block_device.0.iops": "0",
|
||||
|
@ -37,7 +37,7 @@
|
|||
"source_dest_check": "true",
|
||||
"subnet_id": "subnet-59f9b32e",
|
||||
"tags.#": "1",
|
||||
"tags.Role": "Webserver",
|
||||
"tags.Role": "Web",
|
||||
"tenancy": "default",
|
||||
"vpc_security_group_ids.#": "1",
|
||||
"vpc_security_group_ids.2076429742": "sg-b42329d0"
|
||||
|
@ -47,10 +47,10 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"aws_instance.web-aws.1": {
|
||||
"aws_instance.alpha.1": {
|
||||
"type": "aws_instance",
|
||||
"primary": {
|
||||
"id": "i-10b9dfa6",
|
||||
"id": "i-23f69095",
|
||||
"attributes": {
|
||||
"ami": "ami-96a818fe",
|
||||
"associate_public_ip_address": "true",
|
||||
|
@ -59,14 +59,14 @@
|
|||
"ebs_optimized": "false",
|
||||
"ephemeral_block_device.#": "0",
|
||||
"iam_instance_profile": "",
|
||||
"id": "i-10b9dfa6",
|
||||
"id": "i-23f69095",
|
||||
"instance_type": "t2.micro",
|
||||
"key_name": "terraform-inventory",
|
||||
"monitoring": "false",
|
||||
"private_dns": "ip-10-0-0-6.ec2.internal",
|
||||
"private_ip": "10.0.0.6",
|
||||
"private_dns": "ip-10-0-0-9.ec2.internal",
|
||||
"private_ip": "10.0.0.9",
|
||||
"public_dns": "",
|
||||
"public_ip": "54.174.82.24",
|
||||
"public_ip": "52.90.154.150",
|
||||
"root_block_device.#": "1",
|
||||
"root_block_device.0.delete_on_termination": "true",
|
||||
"root_block_device.0.iops": "0",
|
||||
|
@ -76,7 +76,7 @@
|
|||
"source_dest_check": "true",
|
||||
"subnet_id": "subnet-59f9b32e",
|
||||
"tags.#": "1",
|
||||
"tags.Role": "Webserver",
|
||||
"tags.Role": "Web",
|
||||
"tenancy": "default",
|
||||
"vpc_security_group_ids.#": "1",
|
||||
"vpc_security_group_ids.2076429742": "sg-b42329d0"
|
||||
|
@ -86,10 +86,10 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"aws_instance.worker-aws": {
|
||||
"aws_instance.beta": {
|
||||
"type": "aws_instance",
|
||||
"primary": {
|
||||
"id": "i-9e85e328",
|
||||
"id": "i-c2f79174",
|
||||
"attributes": {
|
||||
"ami": "ami-96a818fe",
|
||||
"associate_public_ip_address": "true",
|
||||
|
@ -98,14 +98,14 @@
|
|||
"ebs_optimized": "false",
|
||||
"ephemeral_block_device.#": "0",
|
||||
"iam_instance_profile": "",
|
||||
"id": "i-9e85e328",
|
||||
"id": "i-c2f79174",
|
||||
"instance_type": "t2.micro",
|
||||
"key_name": "terraform-inventory",
|
||||
"monitoring": "false",
|
||||
"private_dns": "ip-10-0-0-5.ec2.internal",
|
||||
"private_ip": "10.0.0.5",
|
||||
"private_dns": "ip-10-0-0-8.ec2.internal",
|
||||
"private_ip": "10.0.0.8",
|
||||
"public_dns": "",
|
||||
"public_ip": "52.23.169.41",
|
||||
"public_ip": "52.23.224.202",
|
||||
"root_block_device.#": "1",
|
||||
"root_block_device.0.delete_on_termination": "true",
|
||||
"root_block_device.0.iops": "0",
|
||||
|
@ -125,14 +125,14 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"digitalocean_droplet.web-do": {
|
||||
"digitalocean_droplet.gamma": {
|
||||
"type": "digitalocean_droplet",
|
||||
"primary": {
|
||||
"id": "9410811",
|
||||
"id": "9411223",
|
||||
"attributes": {
|
||||
"id": "9410811",
|
||||
"id": "9411223",
|
||||
"image": "centos-7-0-x64",
|
||||
"ipv4_address": "192.241.149.172",
|
||||
"ipv4_address": "198.211.99.194",
|
||||
"locked": "false",
|
||||
"name": "terraform-inventory-1",
|
||||
"region": "nyc1",
|
||||
|
|
Loading…
Reference in New Issue