From 94ea8bcb7f2414a0875d818239364825e765e485 Mon Sep 17 00:00:00 2001 From: Luca Venturelli Date: Fri, 1 Dec 2017 16:23:54 +0100 Subject: [PATCH] fixing output for terraform 0.11 (#20) --- README.md | 2 -- bastion/outputs.tf | 4 ---- instance/outputs.tf | 4 ---- 3 files changed, 10 deletions(-) diff --git a/README.md b/README.md index fe058d6..6db352b 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,6 @@ Terraform modules to set up a few commonly used instances. * [`bastion_sg_id`]: String: The ID of the security group * [`instance_id`]: String: The instance IDs. * [`instance_az`]: String: The availability zone of the instances. - * [`instance_placement_group`]: String: The placement group of the instances * [`instance_key_name`]: String: The key name of the instances * [`instance_public_dns`]: String: The public DNS name assigned to the instance. For EC2-VPC, this is only available if you've enabled DNS hostnames for your VPC * [`instance_public_ip`]: String: The public IP address assigned to the bastion. NOTE: If you are using an aws_eip with your instance, you should refer to the EIP's address directly and not use public_ip, as this field will change after the EIP is attached. @@ -84,7 +83,6 @@ module "bastion" { * [`role_id`]: String: The ID of the role * [`instance_ids`]: List: The instance IDs. * [`instance_azs`]: List: The availability zone of the instances. - * [`instance_placement_groups`]: List: The placement group of the instances * [`instance_key_names`]: List: The key name of the instances * [`instance_public_dns`]: List: The public DNS name assigned to the instance. For EC2-VPC, this is only available if you've enabled DNS hostnames for your VPC * [`instance_public_ips`]: List: The public IP address assigned to the instance, if applicable. NOTE: If you are using an aws_eip with your instance, you should refer to the EIP's address directly and not use public_ip, as this field will change after the EIP is attached. diff --git a/bastion/outputs.tf b/bastion/outputs.tf index c0f1e67..76a5238 100644 --- a/bastion/outputs.tf +++ b/bastion/outputs.tf @@ -10,10 +10,6 @@ output "instance_az" { value = "${module.bastion_host.instance_azs[0]}" } -output "instance_placement_group" { - value = "${module.bastion_host.instance_placement_groups[0]}" -} - output "instance_key_name" { value = "${module.bastion_host.instance_key_names[0]}" } diff --git a/instance/outputs.tf b/instance/outputs.tf index 23caea1..2acf218 100644 --- a/instance/outputs.tf +++ b/instance/outputs.tf @@ -6,10 +6,6 @@ output "instance_azs" { value = ["${concat(aws_instance.instance.*.availability_zone, aws_instance.instance_no_ebs.*.availability_zone) }"] } -output "instance_placement_groups" { - value = ["${concat(aws_instance.instance.*.placement_group, aws_instance.instance_no_ebs.*.placement_group)}"] -} - output "instance_key_names" { value = ["${concat(aws_instance.instance.*.key_name, aws_instance.instance_no_ebs.*.key_name)}"] }