diff --git a/README.md b/README.md index 462145e..7f1b3c3 100644 --- a/README.md +++ b/README.md @@ -100,8 +100,8 @@ No modules. | Name | Description | |------|-------------| +| [security\_group\_id](#output\_security\_group\_id) | The security group id of the bastion server | | [ssm\_document\_name](#output\_ssm\_document\_name) | The document name of SSM | -| [this\_security\_group\_id](#output\_this\_security\_group\_id) | The security group id of the bastion server | diff --git a/outputs.tf b/outputs.tf index 1052d64..d5c1140 100644 --- a/outputs.tf +++ b/outputs.tf @@ -1,4 +1,4 @@ -output "this_security_group_id" { +output "security_group_id" { description = "The security group id of the bastion server" value = concat(aws_security_group.allow_egress.*.id, [""])[0] }