* chore(enos): Move `terraform-enos-aws-boundary` to `boundary` * chore(enos): Rename module tag * chore(enos): Refactor module names * fixup! chore(enos): Move `terraform-enos-aws-boundary` to `boundary` * fixup! chore(enos): Move `terraform-enos-aws-boundary` to `boundary` * chore(enos): Refactored hard-coded module tag
32 lines
625 B
HCL
32 lines
625 B
HCL
# Copyright (c) HashiCorp, Inc.
|
|
# SPDX-License-Identifier: BUSL-1.1
|
|
|
|
listener "tcp" {
|
|
purpose = "proxy"
|
|
tls_disable = true
|
|
address = "0.0.0.0"
|
|
}
|
|
|
|
worker {
|
|
# Name attr must be unique across workers
|
|
name = "worker-${id}"
|
|
description = "Enos Boundary worker ${id}"
|
|
|
|
# Workers must be able to reach controllers on :9201
|
|
initial_upstreams = ${controller_addresses}
|
|
|
|
public_addr = "${public_addr}"
|
|
|
|
tags {
|
|
region = ["${region}"]
|
|
type = ${type}
|
|
}
|
|
}
|
|
|
|
# must be same key as used on controller config
|
|
kms "awskms" {
|
|
purpose = "worker-auth"
|
|
region = "${region}"
|
|
kms_key_id = "${kms_key_id}"
|
|
}
|