Skip to content

Commit

Permalink
Refactoring terraform rds cidr block
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroc0d3 committed Dec 18, 2022
1 parent 318d343 commit 3ba2886
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,10 @@ resource "aws_security_group" "rds_default" {
cidr_blocks = [
data.terraform_remote_state.core_state.outputs.ec2_private_1a_cidr,
data.terraform_remote_state.core_state.outputs.ec2_private_1b_cidr,
data.terraform_remote_state.core_state.outputs.ec2_private_1c_cidr,
data.terraform_remote_state.core_state.outputs.eks_private_1a_cidr,
data.terraform_remote_state.core_state.outputs.eks_private_1b_cidr
data.terraform_remote_state.core_state.outputs.eks_private_1b_cidr,
data.terraform_remote_state.core_state.outputs.eks_private_1c_cidr
]
ipv6_cidr_blocks = ["::/0"]
security_groups = [data.terraform_remote_state.core_state.outputs.security_group_id]
Expand Down

0 comments on commit 3ba2886

Please sign in to comment.