File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -103,17 +103,18 @@ difference it can make in your AWS setup!
103
103
``` hcl
104
104
module "vpc" {
105
105
source = "registry.terraform.io/terraform-aws-modules/vpc/aws"
106
- version = "~> 5.0"
107
-
108
- name = "${var.name}-main"
109
- cidr = "10.100.0.0/16"
110
- azs = ["eu-central-1a", "eu-central-1b"]
106
+ version = "~> 5.0.0"
111
107
108
+ name = "${var.name}-main"
109
+ cidr = "10.100.0.0/16"
110
+ azs = ["eu-central-1a", "eu-central-1b"]
111
+ private_subnets = ["10.100.1.0/24", "10.100.2.0/24"]
112
112
elasticache_subnets = ["10.100.10.0/24", "10.100.11.0/24"]
113
113
}
114
114
115
115
module "redis_security_group" {
116
- source = "github.com/geekcell/terraform-aws-security-group?ref=main"
116
+ source = "geekcell/security-group/aws"
117
+ version = ">= 1.0.0, < 2.0.0"
117
118
118
119
name = "${var.name}-redis"
119
120
vpc_id = module.vpc.vpc_id
You can’t perform that action at this time.
0 commit comments