Files
threshold/enos/modules/aws_boundary/templates/worker.hcl
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
635 B
HCL
Raw Normal View History

2023-04-12 14:21:23 -06:00
# 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 = "demo-worker-${id}"
2023-04-12 14:21:23 -06:00
description = "Enos Boundary worker ${id}"
# Workers must be able to reach controllers on :9201
controllers = ${controller_ips}
2023-04-12 14:21:23 -06:00
public_addr = "${public_addr}"
tags {
type = ["prod", "webservers"]
2023-04-12 14:21:23 -06:00
region = ["${region}"]
}
}
# must be same key as used on controller config
kms "awskms" {
purpose = "worker-auth"
region = "${region}"
kms_key_id = "${kms_key_id}"
}