Skip to content

Commit

Permalink
Merge pull request #28 from transcend-io/dmattia/alb_arn_suffix_output
Browse files Browse the repository at this point in the history
Added output for ALB ARN suffix
  • Loading branch information
dmattia authored Aug 24, 2020
2 parents 68e0e23 + b957dd6 commit 076ada0
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
8 changes: 4 additions & 4 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ module container_definition {
HMAC_NONCE_KEY_CYCLE = var.hmac_nonce_key_cycle
KEY_ENCRYPTION_BASE_CYCLE = var.key_encryption_base_cycle

NODE_ENV = "production"
TRANSCEND_URL = var.transcend_backend_url
TRANSCEND_CN = var.transcend_certificate_common_name
LOG_LEVEL = var.log_level
NODE_ENV = "production"
TRANSCEND_URL = var.transcend_backend_url
TRANSCEND_CN = var.transcend_certificate_common_name
LOG_LEVEL = var.log_level

# Global Settings
ORGANIZATION_URI = var.organization_uri
Expand Down
5 changes: 5 additions & 0 deletions modules/sombra_load_balancers/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,9 @@ output internal_listener_arn {
output external_listener_arn {
value = var.use_private_load_balancer ? module.external_load_balancer.https_listener_arns[0] : module.load_balancer.https_listener_arns[1]
description = "ARN of the external sombra load balancer listener"
}

output arn_suffix {
value = var.use_private_load_balancer ? "" : module.load_balancer.this_lb_arn_suffix
description = "Amazon Resource Name suffix for the load balancer. Only present in single alb configurations"
}
7 changes: 6 additions & 1 deletion outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,17 @@ output external_listener_arn {
description = "ARN of the external sombra load balancer listener"
}

output lb_arn_suffix {
value = module.load_balancer.arn_suffix
description = "Amazon Resource Name suffix for the load balancer. Only present in single alb configurations"
}

output "role_arn" {
value = module.service.role_arn
description = "Arn of the task execution role"
}

output "policy_arns" {
value = module.service.policy_arns
value = module.service.policy_arns
description = "Amazon resource names of all policies set on the IAM Role execution task"
}

0 comments on commit 076ada0

Please sign in to comment.