finalized automated build for web

This commit is contained in:
2020-08-09 14:43:33 +09:00
parent 94a9d18c02
commit 56b3448138
19 changed files with 83 additions and 35 deletions

View File

@@ -1,4 +1,5 @@
resource "aws_security_group" "catherine_fc_asg_sg" {
name = "catherine-fc-asg-sg"
description = "catherine fc security group"
vpc_id = var.vpc_id
tags = var.tags
@@ -27,6 +28,7 @@ resource "aws_security_group_rule" "catherine_fc_asg_sg_allow_egress" {
}
resource "aws_security_group" "catherine_fc_lb_sg" {
name = "catherine-fc-alb-sg"
description = "catherine fc security group for load balancer"
vpc_id = var.vpc_id
tags = var.tags
@@ -43,7 +45,7 @@ resource "aws_security_group_rule" "catherine_fc_alb_sg_ingress" {
security_group_id = aws_security_group.catherine_fc_lb_sg.id
}
resource "aws_security_group_rule" "catherine_fc_asg_sg_allow_egress" {
resource "aws_security_group_rule" "catherine_fc_alb_sg_allow_egress" {
description = "allow all"
type = "egress"
protocol = "all"