We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5368f61 + df92904 commit 3531e0eCopy full SHA for 3531e0e
main.tf
@@ -16,12 +16,12 @@ resource "aws_instance" "gateway" {
16
17
export DEBIAN_FRONTEND=noninteractive
18
sudo apt-get update
19
- sudo apt-get install -y curl uuid-runtime iptables
+ sudo apt-get install -y curl iptables
20
21
FIREZONE_TOKEN="${var.firezone_token}" \
22
FIREZONE_VERSION="${var.firezone_version}" \
23
FIREZONE_NAME="${var.firezone_name}" \
24
- FIREZONE_ID="$(uuidgen)" \
+ FIREZONE_ID="$(head -c /dev/urandom | sha256)" \
25
FIREZONE_API_URL="${var.firezone_api_url}" \
26
bash <(curl -fsSL https://raw.githubusercontent.com/firezone/firezone/main/scripts/gateway-systemd-install.sh)
27
0 commit comments