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,4 @@
resource "aws_autoscaling_group" "es_asg" {
resource "aws_autoscaling_group" "catherine_fc_asg" {
name = "${var.basename}-${terraform.workspace}"
availability_zones = ["ap-northeast-1a", "ap-northeast-1c", "ap-northeast-1d"]
@@ -9,7 +9,7 @@ resource "aws_autoscaling_group" "es_asg" {
min_size = var.asg_caps.min
launch_configuration = aws_launch_configuration.catherine_fc_conf.name
target_group_arns = [aws_lb_target_group.target_group_web.id]
tags = concat(var.asg_tags, [
{
key = "STAGE_ENVIRONMENT",