File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
examples/internet-gateway Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ locals {
1010 firezone_token = " <YOUR TOKEN HERE>"
1111
1212 # We recommend a minimum of 3 instances for high availability.
13- gateway_count = 4
13+ gateway_count = 3
1414
1515 # Whether to attach Elastic IPs to the Gateway instances. Set to false to restrict the Gateways
1616 # to private subnets only. Note: using only private subnets for the Gateway will require a NAT in a public subnet.
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ resource "aws_instance" "gateway" {
2121 FIREZONE_TOKEN="${ var . firezone_token } " \
2222 FIREZONE_VERSION="${ var . firezone_version } " \
2323 FIREZONE_NAME="${ var . firezone_name } " \
24- FIREZONE_ID="$(head -c /dev/urandom | sha256 )" \
24+ FIREZONE_ID="$(head -c 32 /dev/urandom | sha256sum | cut -d' ' -f1 )" \
2525 FIREZONE_API_URL="${ var . firezone_api_url } " \
2626 bash <(curl -fsSL https://raw.githubusercontent.com/firezone/firezone/main/scripts/gateway-systemd-install.sh)
2727
Original file line number Diff line number Diff line change 11variable "base_ami" {
2- description = " The base AMI for the instances"
2+ description = " The base AMI for the instances. This module assumes a Debian-based AMI. "
33 type = string
44}
55
You can’t perform that action at this time.
0 commit comments