Skip to content

Commit 44d8a25

Browse files
authored
feat: Add additional output security_group_arn (#249)
1 parent 0bd31aa commit 44d8a25

File tree

177 files changed

+486
-126
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

177 files changed

+486
-126
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
repos:
22
- repo: https://github.com/antonbabenko/pre-commit-terraform
3-
rev: v1.64.0
3+
rev: v1.74.1
44
hooks:
55
- id: terraform_fmt
66
- id: terraform_validate
7+
exclude: '^modules/_templates/[^/]+$'
78
- id: terraform_docs
89
args:
910
- '--args=--lockfile=false'
1011
- repo: https://github.com/pre-commit/pre-commit-hooks
11-
rev: v4.1.0
12+
rev: v4.3.0
1213
hooks:
1314
- id: check-merge-conflict
1415
- id: end-of-file-fixer

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,13 +160,13 @@ No issue is creating limit on this module.
160160
| Name | Version |
161161
|------|---------|
162162
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.13.1 |
163-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.0 |
163+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.29 |
164164

165165
## Providers
166166

167167
| Name | Version |
168168
|------|---------|
169-
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 3.0 |
169+
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 3.29 |
170170

171171
## Modules
172172

@@ -258,6 +258,7 @@ No modules.
258258

259259
| Name | Description |
260260
|------|-------------|
261+
| <a name="output_security_group_arn"></a> [security\_group\_arn](#output\_security\_group\_arn) | The ARN of the security group |
261262
| <a name="output_security_group_description"></a> [security\_group\_description](#output\_security\_group\_description) | The description of the security group |
262263
| <a name="output_security_group_id"></a> [security\_group\_id](#output\_security\_group\_id) | The ID of the security group |
263264
| <a name="output_security_group_name"></a> [security\_group\_name](#output\_security\_group\_name) | The name of the security group |

examples/complete/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ Note that this example may create resources which cost money. Run `terraform des
2222
| Name | Version |
2323
|------|---------|
2424
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.13.1 |
25-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.0 |
25+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.29 |
2626

2727
## Providers
2828

2929
| Name | Version |
3030
|------|---------|
31-
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 3.0 |
31+
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 3.29 |
3232

3333
## Modules
3434

@@ -56,6 +56,7 @@ No inputs.
5656

5757
| Name | Description |
5858
|------|-------------|
59+
| <a name="output_security_group_arn"></a> [security\_group\_arn](#output\_security\_group\_arn) | The ARN of the security group |
5960
| <a name="output_security_group_description"></a> [security\_group\_description](#output\_security\_group\_description) | The description of the security group |
6061
| <a name="output_security_group_id"></a> [security\_group\_id](#output\_security\_group\_id) | The ID of the security group |
6162
| <a name="output_security_group_name"></a> [security\_group\_name](#output\_security\_group\_name) | The name of the security group |

examples/complete/outputs.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
output "security_group_arn" {
2+
description = "The ARN of the security group"
3+
value = module.complete_sg.security_group_arn
4+
}
5+
16
output "security_group_id" {
27
description = "The ID of the security group"
38
value = module.complete_sg.security_group_id

examples/complete/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ terraform {
44
required_providers {
55
aws = {
66
source = "hashicorp/aws"
7-
version = ">= 3.0"
7+
version = ">= 3.29"
88
}
99
}
1010
}

examples/computed/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ Note that this example may create resources which cost money. Run `terraform des
2020
| Name | Version |
2121
|------|---------|
2222
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.13.1 |
23-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.0 |
23+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.29 |
2424

2525
## Providers
2626

2727
| Name | Version |
2828
|------|---------|
29-
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 3.0 |
29+
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 3.29 |
3030

3131
## Modules
3232

@@ -50,6 +50,7 @@ No inputs.
5050

5151
| Name | Description |
5252
|------|-------------|
53+
| <a name="output_security_group_arn"></a> [security\_group\_arn](#output\_security\_group\_arn) | The ARN of the security group |
5354
| <a name="output_security_group_description"></a> [security\_group\_description](#output\_security\_group\_description) | The description of the security group |
5455
| <a name="output_security_group_id"></a> [security\_group\_id](#output\_security\_group\_id) | The ID of the security group |
5556
| <a name="output_security_group_name"></a> [security\_group\_name](#output\_security\_group\_name) | The name of the security group |

examples/computed/outputs.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
output "security_group_arn" {
2+
description = "The ARN of the security group"
3+
value = module.mysql_sg.security_group_arn
4+
}
5+
16
output "security_group_id" {
27
description = "The ID of the security group"
38
value = module.mysql_sg.security_group_id

examples/computed/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ terraform {
44
required_providers {
55
aws = {
66
source = "hashicorp/aws"
7-
version = ">= 3.0"
7+
version = ">= 3.29"
88
}
99
}
1010
}

examples/disabled/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ Note that this example may create resources which cost money. Run `terraform des
2222
| Name | Version |
2323
|------|---------|
2424
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.13.1 |
25-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.0 |
25+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.29 |
2626

2727
## Providers
2828

2929
| Name | Version |
3030
|------|---------|
31-
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 3.0 |
31+
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 3.29 |
3232

3333
## Modules
3434

@@ -52,5 +52,6 @@ No inputs.
5252

5353
| Name | Description |
5454
|------|-------------|
55+
| <a name="output_security_group_arn"></a> [security\_group\_arn](#output\_security\_group\_arn) | The ARN of the security group |
5556
| <a name="output_security_group_id"></a> [security\_group\_id](#output\_security\_group\_id) | The ID of the security group |
5657
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->

examples/disabled/outputs.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
output "security_group_arn" {
2+
description = "The ARN of the security group"
3+
value = module.complete_sg_disabled.security_group_arn
4+
}
5+
16
output "security_group_id" {
27
description = "The ID of the security group"
38
value = module.complete_sg_disabled.security_group_id

0 commit comments

Comments
 (0)