Changed target group names to prefix S-dedicated- and S-shared-

This commit is contained in:
Leon Radeck committed 2018-01-15 16:26:49 +01:00
1 parent ea4c806492
commit 548db19084
2 files changed
+3 -3

No files matched your search

@@ -15,12 +15,12 @@ function associate_alb_start(){
# -----------------------------------------------------------
function associate_alb_require(){
# will only be executed after instance creation
:
:
}
function associate_alb_execute() {
# create target group for instance
local target_group_arn=$(create_target_group $instance_name)
local target_group_arn=$(create_target_group "S-dedicated-$instance_name")
# add instance to target group
register_targets $target_group_arn $instance_id
@@ -116,7 +116,7 @@ function sub_instance_execute() {
header "Configuring ALB"
local target_group_arn=$(create_target_group $instance_name)
local target_group_arn=$(create_target_group "S-shared-$instance_name")
register_targets $target_group_arn $(get_instance_id $super_instance)
local domain=$(create_rule $listener_arn $instance_short_name $target_group_arn)