Skip to content

Commit

Permalink
feat: Add ARN created roles as output (#123)
Browse files Browse the repository at this point in the history
* Add ARN created roles as output

* terraform-docs: automated action

* Rollback Readme.md

* terraform-docs: automated action

---------

Co-authored-by: HectorArchilogic <hector@archilogic.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored and mgerlach committed May 11, 2023
1 parent 970ae6b commit 3204fb9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,8 @@ No modules.
| Name | Description |
|------|-------------|
| <a name="output_mwaa_arn"></a> [mwaa\_arn](#output\_mwaa\_arn) | The arn of the created MWAA environment. |
| <a name="output_mwaa_execution_role_arn"></a> [mwaa\_execution\_role\_arn](#output\_mwaa\_execution\_role\_arn) | The IAM Role arn for MWAA Execution Role. |
| <a name="output_mwaa_nat_gateway_public_ips"></a> [mwaa\_nat\_gateway\_public\_ips](#output\_mwaa\_nat\_gateway\_public\_ips) | List of the ips of the nat gateways created by this module. |
| <a name="output_mwaa_service_role_arn"></a> [mwaa\_service\_role\_arn](#output\_mwaa\_service\_role\_arn) | The Service Role arn for MWAA environment. |
| <a name="output_mwaa_webserver_url"></a> [mwaa\_webserver\_url](#output\_mwaa\_webserver\_url) | The webserver URL of the MWAA Environment. |
<!-- END_TF_DOCS -->
10 changes: 10 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@ output "mwaa_arn" {
description = "The arn of the created MWAA environment."
}

output "mwaa_execution_role_arn" {
value = aws_mwaa_environment.this.execution_role_arn
description = "The IAM Role arn for MWAA Execution Role."
}

output "mwaa_service_role_arn" {
value = aws_mwaa_environment.this.execution_role_arn
description = "The Service Role arn for MWAA environment."
}

output "mwaa_nat_gateway_public_ips" {
value = aws_nat_gateway.this[*].public_ip
description = "List of the ips of the nat gateways created by this module."
Expand Down

0 comments on commit 3204fb9

Please sign in to comment.