From d234aed1f944c8007cab613820d880dc16481921 Mon Sep 17 00:00:00 2001 From: Jakob Diebold Date: Fri, 3 May 2024 15:56:27 +0200 Subject: [PATCH] feat: add security group id to output (#169) * feat: add security group id to output * terraform-docs: automated action --------- Co-authored-by: github-actions[bot] --- README.md | 1 + outputs.tf | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/README.md b/README.md index 139d5d9..e965bf7 100644 --- a/README.md +++ b/README.md @@ -187,6 +187,7 @@ No modules. | [mwaa\_arn](#output\_mwaa\_arn) | The arn of the created MWAA environment. | | [mwaa\_execution\_role\_arn](#output\_mwaa\_execution\_role\_arn) | The IAM Role arn for MWAA Execution Role. | | [mwaa\_nat\_gateway\_public\_ips](#output\_mwaa\_nat\_gateway\_public\_ips) | List of the ips of the nat gateways created by this module. | +| [mwaa\_security\_group\_id](#output\_mwaa\_security\_group\_id) | The security group id of the MWAA Environment. | | [mwaa\_service\_role\_arn](#output\_mwaa\_service\_role\_arn) | The Service Role arn for MWAA environment. | | [mwaa\_webserver\_url](#output\_mwaa\_webserver\_url) | The webserver URL of the MWAA Environment. | diff --git a/outputs.tf b/outputs.tf index 6b7ab3b..373972b 100644 --- a/outputs.tf +++ b/outputs.tf @@ -22,3 +22,8 @@ output "mwaa_webserver_url" { value = aws_mwaa_environment.this.webserver_url description = "The webserver URL of the MWAA Environment." } + +output "mwaa_security_group_id" { + value = aws_security_group.this.id + description = "The security group id of the MWAA Environment." +}