Skip to content

Commit

Permalink
fixing output for terraform 0.11 (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
Luca Venturelli authored Dec 1, 2017
1 parent 466842f commit 94ea8bc
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down
4 changes: 0 additions & 4 deletions bastion/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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]}"
}
Expand Down
4 changes: 0 additions & 4 deletions instance/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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)}"]
}
Expand Down

0 comments on commit 94ea8bc

Please sign in to comment.