@@ -3,9 +3,9 @@ provider "aws" {
33}
44
55module "vpc" {
6- source = " git::https://github.com/clouddrove/terraform-aws-vpc.git?ref=0.14.0"
6+ source = " clouddrove/vpc/aws"
7+ version = " 0.14.0"
78 name = " vpc"
8- repository = " https://registry.terraform.io/modules/clouddrove/vpc/aws/0.14.0"
99 environment = " test"
1010 label_order = [" name" , " environment" ]
1111 cidr_block = " 10.0.0.0/16"
@@ -14,14 +14,15 @@ module "vpc" {
1414module "security_group" {
1515 source = " ./../"
1616
17- name = " security-group"
18- repository = " https://registry.terraform.io/modules/clouddrove/security-group/aws/0.14.0"
19- environment = " test"
20- label_order = [" name" , " environment" ]
21- vpc_id = module. vpc . vpc_id
22- protocol = " tcp"
23- description = " Instance default security group (only egress access is allowed)."
24- allowed_ip = [" 172.16.0.0/16" , " 10.0.0.0/16" ]
25- allowed_ipv6 = [" 2405:201:5e00:3684:cd17:9397:5734:a167/128" ]
26- allowed_ports = [22 , 27017 ]
17+ name = " security-group"
18+ environment = " test"
19+ label_order = [" name" , " environment" ]
20+
21+ enable_security_group = true
22+ vpc_id = module. vpc . vpc_id
23+ protocol = " tcp"
24+ description = " Instance default security group (only egress access is allowed)."
25+ allowed_ip = [" 172.16.0.0/16" , " 10.0.0.0/16" ]
26+ allowed_ipv6 = [" 2405:201:5e00:3684:cd17:9397:5734:a167/128" ]
27+ allowed_ports = [22 , 27017 ]
2728}
0 commit comments