You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| existing\_sg\_egress\_rules\_with\_cidr\_blocks | Ingress rules with only cidr block. Should be used when there is existing security group. |`any`|`{}`| no |
281
+
| existing\_sg\_egress\_rules\_with\_prefix\_list | Egress rules with only prefic ist ids. Should be used when there is existing security group. |`any`|`{}`| no |
282
+
| existing\_sg\_egress\_rules\_with\_self | Egress rules with only self. Should be used when there is existing security group. |`any`|`{}`| no |
283
+
| existing\_sg\_egress\_rules\_with\_source\_sg\_id | Egress rules with only source security group id. Should be used when there is existing security group. |`any`|`{}`| no |
161
284
| existing\_sg\_id | Provide existing security group id for updating existing rule |`string`|`null`| no |
162
-
| is\_external | enable to udated existing security Group |`bool`|`false`| no |
163
-
| label\_order | Label order, e.g. `name`,`application`. |`list(any)`|`[]`| no |
285
+
| existing\_sg\_ingress\_rules\_with\_cidr\_blocks | Ingress rules with only cidr blocks. Should be used when there is existing security group. |`any`|`{}`| no |
286
+
| existing\_sg\_ingress\_rules\_with\_prefix\_list | Ingress rules with only prefix\_list. Should be used when new security group is been deployed. |`any`|`{}`| no |
287
+
| existing\_sg\_ingress\_rules\_with\_self | Ingress rules with only source security group id. Should be used when new security group is been deployed. |`any`|`{}`| no |
288
+
| existing\_sg\_ingress\_rules\_with\_source\_sg\_id | Ingress rules with only prefix list ids. Should be used when there is existing security group. |`any`|`{}`| no |
289
+
| label\_order | Label order, e.g. `name`,`application`. |`list(any)`| <pre>[<br> "name",<br> "environment"<br>]</pre> | no |
290
+
| managedby | ManagedBy, eg 'CloudDrove'. |`string`|`"[email protected]"`| no |
164
291
| max\_entries | The maximum number of entries that this prefix list can contain. |`number`|`5`| no |
165
292
| name | Name (e.g. `app` or `cluster`). |`string`|`""`| no |
166
-
| new\_enable\_security\_group | Enable default Security Group with only Egress traffic allowed. |`bool`|`true`| no |
167
-
| prefix\_list\_enabled | Enable prefix\_list. |`bool`|`true`| no |
168
-
| prefix\_list\_id | The ID of the prefix list. |`list(string)`|`[]`| no |
169
-
| security\_groups | List of Security Group IDs allowed to connect to the instance. |`list(string)`|`[]`| no |
293
+
| new\_sg | Flag to control creation of new security group. |`bool`|`true`| no |
294
+
| new\_sg\_egress\_rules\_with\_cidr\_blocks | Egress rules with only cidr\_blockd. Should be used when new security group is been deployed. |`any`|`{}`| no |
295
+
| new\_sg\_egress\_rules\_with\_prefix\_list | Egress rules with only prefix list ids. Should be used when new security group is been deployed. |`any`|`{}`| no |
296
+
| new\_sg\_egress\_rules\_with\_self | Egress rules with only self. Should be used when new security group is been deployed. |`any`|`{}`| no |
297
+
| new\_sg\_egress\_rules\_with\_source\_sg\_id | Egress rules with only source security group id. Should be used when new security group is been deployed. |`any`|`{}`| no |
298
+
| new\_sg\_ingress\_rules\_with\_cidr\_blocks | Ingress rules with only cidr blocks. Should be used when new security group is been deployed. |`any`|`{}`| no |
299
+
| new\_sg\_ingress\_rules\_with\_prefix\_list | Ingress rules with only prefix list ids. Should be used when new security group is been deployed. |`any`|`{}`| no |
300
+
| new\_sg\_ingress\_rules\_with\_self | Ingress rules with only self. Should be used when new security group is been deployed. |`any`|`{}`| no |
301
+
| new\_sg\_ingress\_rules\_with\_source\_sg\_id | Ingress rules with only source security group id. Should be used when new security group is been deployed. |`any`|`{}`| no |
302
+
| prefix\_list\_address\_family | (Required, Forces new resource) The address family (IPv4 or IPv6) of prefix list. |`string`|`"IPv4"`| no |
303
+
| prefix\_list\_enabled | Enable prefix\_list. |`bool`|`false`| no |
304
+
| prefix\_list\_ids | The ID of the prefix list. |`list(string)`|`[]`| no |
305
+
| repository | Terraform current module repo |`string`|`"https://github.com/clouddrove/terraform-aws-security-group"`| no |
306
+
| sg\_description | Security group description. Defaults to Managed by Terraform. Cannot be empty string. NOTE: This field maps to the AWS GroupDescription attribute, for which there is no Update API. If you'd like to classify your security groups in a way that can be updated, use tags. |`string`|`null`| no |
170
307
| vpc\_id | The ID of the VPC that the instance security group belongs to. |`string`|`""`| no |
171
308
172
309
## Outputs
173
310
174
311
| Name | Description |
175
312
|------|-------------|
176
-
| prefix\_id | n/a |
177
-
| security\_group\_ids | A mapping of security group ids. |
178
-
| tags | A mapping of tags to assign to the resource. |
313
+
| prefix\_list\_id | The ID of the prefix list. |
314
+
| security\_group\_arn | IDs on the AWS Security Groups associated with the instance. |
315
+
| security\_group\_id | IDs on the AWS Security Groups associated with the instance. |
316
+
| security\_group\_tags | A mapping of public tags to assign to the resource. |
0 commit comments