14
14
<p align =" center " >
15
15
16
16
<a href =" https://www.terraform.io " >
17
- <img src =" https://img.shields.io/badge/terraform-v0.13 -green " alt =" Terraform " >
17
+ <img src =" https://img.shields.io/badge/terraform-v0.14 -green " alt =" Terraform " >
18
18
</a >
19
19
<a href =" LICENSE.md " >
20
20
<img src =" https://img.shields.io/badge/License-MIT-blue.svg " alt =" Licence " >
@@ -74,12 +74,11 @@ Here is an example of how you can use this module in your inventory structure:
74
74
# use this
75
75
module "security_group" {
76
76
source = "clouddrove/security-group/aws"
77
- version = "0.13 .0"
77
+ version = "0.14 .0"
78
78
name = "security-group"
79
- application = "clouddrove"
80
79
environment = "test"
81
80
protocol = "tcp"
82
- label_order = ["environment ", "application", "name "]
81
+ label_order = ["name ", "environment "]
83
82
vpc_id = "vpc-xxxxxxxxx"
84
83
allowed_ip = ["172.16.0.0/16", "10.0.0.0/16"]
85
84
allowed_ipv6 = ["2405:201:5e00:3684:cd17:9397:5734:a167/128"]
@@ -96,18 +95,19 @@ Here is an example of how you can use this module in your inventory structure:
96
95
97
96
| Name | Description | Type | Default | Required |
98
97
| ------| -------------| ------| ---------| :--------:|
99
- | allowed\_ ip | List of allowed ip. | ` list ` | ` [] ` | no |
100
- | allowed\_ ipv6 | List of allowed ipv6. | ` list ` | ` [] ` | no |
101
- | allowed\_ ports | List of allowed ingress ports. | ` list ` | ` [] ` | no |
102
- | application | Application (e.g. ` cd ` or ` clouddrove ` ). | ` string ` | ` "" ` | no |
98
+ | allowed\_ ip | List of allowed ip. | ` list(any) ` | ` [] ` | no |
99
+ | allowed\_ ipv6 | List of allowed ipv6. | ` list(any) ` | ` [] ` | no |
100
+ | allowed\_ ports | List of allowed ingress ports | ` list(any) ` | ` [] ` | no |
101
+ | attributes | Additional attributes (e.g. ` 1 ` ). | ` list(any) ` | ` [] ` | no |
103
102
| description | The security group description. | ` string ` | ` "Instance default security group (only egress access is allowed)." ` | no |
104
103
| enable\_ security\_ group | Enable default Security Group with only Egress traffic allowed. | ` bool ` | ` true ` | no |
105
104
| environment | Environment (e.g. ` prod ` , ` dev ` , ` staging ` ). | ` string ` | ` "" ` | no |
106
- | label\_ order | Label order, e.g. ` name ` ,` application ` . | ` list ` | ` [] ` | no |
107
- | managedby | ManagedBy, eg 'CloudDrove' or 'AnmolNagpal' . | ` string ` | ` "anmol @clouddrove.com" ` | no |
105
+ | label\_ order | Label order, e.g. ` name ` ,` application ` . | ` list(any) ` | ` [] ` | no |
106
+ | managedby | ManagedBy, eg 'CloudDrove'. | ` string ` | ` "hello @clouddrove.com" ` | no |
108
107
| name | Name (e.g. ` app ` or ` cluster ` ). | ` string ` | ` "" ` | no |
109
- | prefix\_ list | List of prefix list IDs (for allowing access to VPC endpoints)Only valid with egress | ` list ` | ` [] ` | no |
108
+ | prefix\_ list | List of prefix list IDs (for allowing access to VPC endpoints)Only valid with egress | ` list(any) ` | ` [] ` | no |
110
109
| protocol | The protocol. If not icmp, tcp, udp, or all use the. | ` string ` | ` "tcp" ` | no |
110
+ | repository | Terraform current module repo | ` string ` | ` "https://registry.terraform.io/modules/clouddrove/security-group/aws/" ` | no |
111
111
| security\_ groups | List of Security Group IDs allowed to connect to the instance. | ` list(string) ` | ` [] ` | no |
112
112
| tags | Additional tags (e.g. map(` BusinessUnit ` ,` XYZ ` ). | ` map(string) ` | ` {} ` | no |
113
113
| vpc\_ id | The ID of the VPC that the instance security group belongs to. | ` string ` | ` "" ` | no |
0 commit comments