Skip to content

Commit 827e678

Browse files
spikeheapantonbabenko
authored andcommitted
Add asg_id output (#41)
1 parent 231dc8c commit 827e678

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ Only SSH access is allowed to the bastion host.
3636

3737
* ssh_user - SSH user to login to bastion
3838
* security_group_id - ID of the security group the bastion host is launched in.
39+
* asg_id - The ID of the AutoScalingGroup the bastion host is launched within.
3940

4041
## Example:
4142

outputs.tf

+4
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@ output "ssh_user" {
55
output "security_group_id" {
66
value = "${aws_security_group.bastion.id}"
77
}
8+
9+
output "asg_id" {
10+
value = "${aws_autoscaling_group.bastion.id}"
11+
}

0 commit comments

Comments
 (0)