Author: Not specified | Language: erlang |
Description: (v28) | Timestamp: 2018-01-09 03:05:57 +0000 |
View raw paste | Parent paste by: Not specified - Child paste by: Not specified | Reply |
resource "aws_instance" "example" {
ami = "ami-40d28157"
instance_type = "t2.micro"
}
{
"aws_instance.example": {
"type": "aws_instance",
"primary": {
"id": "i-66ba8957",
"attributes": {
"ami": "ami-40d28157",
"availability_zone": "us-east-1d",
"id": "i-66ba8957",
"instance_state": "running",
"instance_type": "t2.micro",
"network_interface_id": "eni-7c4fcf6e",
"private_dns": "ip-172-31-53-99.ec2.internal",
"private_ip": "172.31.53.99",
"public_dns": "ec2-54-159-88-79.compute-1.amazonaws.com",
"public_ip": "54.159.88.79",
"subnet_id": "subnet-3b29db10"
}
}
}
}
ami = "ami-40d28157"
instance_type = "t2.micro"
}
{
"aws_instance.example": {
"type": "aws_instance",
"primary": {
"id": "i-66ba8957",
"attributes": {
"ami": "ami-40d28157",
"availability_zone": "us-east-1d",
"id": "i-66ba8957",
"instance_state": "running",
"instance_type": "t2.micro",
"network_interface_id": "eni-7c4fcf6e",
"private_dns": "ip-172-31-53-99.ec2.internal",
"private_ip": "172.31.53.99",
"public_dns": "ec2-54-159-88-79.compute-1.amazonaws.com",
"public_ip": "54.159.88.79",
"subnet_id": "subnet-3b29db10"
}
}
}
}
View raw paste | Parent paste by: Not specified - Child paste by: Not specified | Reply |