Skip to content

Commit 3ba2886

Browse files
committed
Refactoring terraform rds cidr block
1 parent 318d343 commit 3ba2886

File tree

1 file changed

+3
-1
lines changed
  • terraform/environment/providers/aws/infra/resources/rds/laraveldb

1 file changed

+3
-1
lines changed

‎terraform/environment/providers/aws/infra/resources/rds/laraveldb/rds.tf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,10 @@ resource "aws_security_group" "rds_default" {
6161
cidr_blocks = [
6262
data.terraform_remote_state.core_state.outputs.ec2_private_1a_cidr,
6363
data.terraform_remote_state.core_state.outputs.ec2_private_1b_cidr,
64+
data.terraform_remote_state.core_state.outputs.ec2_private_1c_cidr,
6465
data.terraform_remote_state.core_state.outputs.eks_private_1a_cidr,
65-
data.terraform_remote_state.core_state.outputs.eks_private_1b_cidr
66+
data.terraform_remote_state.core_state.outputs.eks_private_1b_cidr,
67+
data.terraform_remote_state.core_state.outputs.eks_private_1c_cidr
6668
]
6769
ipv6_cidr_blocks = ["::/0"]
6870
security_groups = [data.terraform_remote_state.core_state.outputs.security_group_id]

0 commit comments

Comments
 (0)