Skip to content

Commit 1e30250

Browse files
author
Mykhailo Babych
committed
chore: Add outputs
1 parent 067db11 commit 1e30250

2 files changed

Lines changed: 22 additions & 2 deletions

File tree

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ In the above diagram, you can see the components and their relations (PostgreSQL
2828
|------|---------|
2929
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.36.0 |
3030
| <a name="provider_helm"></a> [helm](#provider\_helm) | 2.11.0 |
31-
| <a name="provider_kubernetes"></a> [kubernetes](#provider\_kubernetes) | 3.0.1 |
31+
| <a name="provider_kubernetes"></a> [kubernetes](#provider\_kubernetes) | 2.33.0 |
3232

3333
## Modules
3434

@@ -80,5 +80,9 @@ In the above diagram, you can see the components and their relations (PostgreSQL
8080

8181
## Outputs
8282

83-
No outputs.
83+
| Name | Description |
84+
|------|-------------|
85+
| <a name="output_arn"></a> [arn](#output\_arn) | ARN of IAM role |
86+
| <a name="output_buckets"></a> [buckets](#output\_buckets) | List of buckets created |
87+
| <a name="output_name"></a> [name](#output\_name) | Name of IAM role |
8488
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->

outputs.tf

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,17 @@
1+
output "name" {
2+
description = "Name of IAM role"
3+
value = module.gitlab_role.iam_role_name
4+
}
15

6+
output "arn" {
7+
description = "ARN of IAM role"
8+
value = module.gitlab_role.iam_role_arn
9+
10+
}
11+
12+
output "buckets" {
13+
description = "List of buckets created"
14+
value = tomap({
15+
for k, v in module.s3_bucket : k => v.s3_bucket_arn
16+
})
17+
}

0 commit comments

Comments
 (0)