Skip to content

Commit 9d6ce45

Browse files
authored
feat: Updated versions of VPC, SG, ACM modules (#117)
1 parent c1fb5f5 commit 9d6ce45

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

main.tf

+6-8
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ resource "aws_ssm_parameter" "atlantis_bitbucket_user_token" {
143143
###################
144144
module "vpc" {
145145
source = "terraform-aws-modules/vpc/aws"
146-
version = "v2.5.0"
146+
version = "v2.33.0"
147147

148148
create_vpc = var.vpc_id == ""
149149

@@ -220,7 +220,7 @@ module "alb" {
220220
###################
221221
module "alb_https_sg" {
222222
source = "terraform-aws-modules/security-group/aws//modules/https-443"
223-
version = "v3.0.1"
223+
version = "v3.9.0"
224224

225225
name = "${var.name}-alb-https"
226226
vpc_id = local.vpc_id
@@ -233,7 +233,7 @@ module "alb_https_sg" {
233233

234234
module "alb_http_sg" {
235235
source = "terraform-aws-modules/security-group/aws//modules/http-80"
236-
version = "v3.0.1"
236+
version = "v3.9.0"
237237

238238
name = "${var.name}-alb-http"
239239
vpc_id = local.vpc_id
@@ -246,13 +246,13 @@ module "alb_http_sg" {
246246

247247
module "atlantis_sg" {
248248
source = "terraform-aws-modules/security-group/aws"
249-
version = "v3.0.1"
249+
version = "v3.9.0"
250250

251251
name = var.name
252252
vpc_id = local.vpc_id
253253
description = "Security group with open port for Atlantis (${var.atlantis_port}) from ALB, egress ports are all world open"
254254

255-
computed_ingress_with_source_security_group_id = [
255+
ingress_with_source_security_group_id = [
256256
{
257257
from_port = var.atlantis_port
258258
to_port = var.atlantis_port
@@ -262,8 +262,6 @@ module "atlantis_sg" {
262262
},
263263
]
264264

265-
number_of_computed_ingress_with_source_security_group_id = 1
266-
267265
egress_rules = ["all-all"]
268266

269267
tags = local.tags
@@ -274,7 +272,7 @@ module "atlantis_sg" {
274272
###################
275273
module "acm" {
276274
source = "terraform-aws-modules/acm/aws"
277-
version = "v2.4.0"
275+
version = "v2.5.0"
278276

279277
create_certificate = var.certificate_arn == ""
280278

0 commit comments

Comments
 (0)