1414<p align =" center " >
1515
1616<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 " >
1818</a >
1919<a href =" LICENSE.md " >
2020 <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:
7474# use this
7575 module "security_group" {
7676 source = "clouddrove/security-group/aws"
77- version = "0.13 .0"
77+ version = "0.14 .0"
7878 name = "security-group"
79- application = "clouddrove"
8079 environment = "test"
8180 protocol = "tcp"
82- label_order = ["environment ", "application", "name "]
81+ label_order = ["name ", "environment "]
8382 vpc_id = "vpc-xxxxxxxxx"
8483 allowed_ip = ["172.16.0.0/16", "10.0.0.0/16"]
8584 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:
9695
9796| Name | Description | Type | Default | Required |
9897| ------| -------------| ------| ---------| :--------:|
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 |
103102| description | The security group description. | ` string ` | ` "Instance default security group (only egress access is allowed)." ` | no |
104103| enable\_ security\_ group | Enable default Security Group with only Egress traffic allowed. | ` bool ` | ` true ` | no |
105104| 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 |
108107| 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 |
110109| 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 |
111111| security\_ groups | List of Security Group IDs allowed to connect to the instance. | ` list(string) ` | ` [] ` | no |
112112| tags | Additional tags (e.g. map(` BusinessUnit ` ,` XYZ ` ). | ` map(string) ` | ` {} ` | no |
113113| vpc\_ id | The ID of the VPC that the instance security group belongs to. | ` string ` | ` "" ` | no |
0 commit comments