From 3468bb99b8a7507ba6236bf64f117459acdc8355 Mon Sep 17 00:00:00 2001 From: Tine Date: Fri, 3 Jan 2025 19:43:10 +0100 Subject: [PATCH] feat: typos --- ingress.tjo.cloud/install.sh | 7 +++++-- ingress.tjo.cloud/terraform/node.tf | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ingress.tjo.cloud/install.sh b/ingress.tjo.cloud/install.sh index cb73786..d4fe887 100755 --- a/ingress.tjo.cloud/install.sh +++ b/ingress.tjo.cloud/install.sh @@ -68,9 +68,9 @@ ATTRIBUTES="" ATTRIBUTES+="service.name=${SERVICE_NAME}," ATTRIBUTES+="service.version=${SERVICE_VERSION}," ATTRIBUTES+="cloud.region=${CLOUD_REGION}" -echo "OTEL_RESOURCE_ATTRIBUTES=${ATTRIBUTES}" >>/etc/default/alloy -# set credentials { + echo "" + echo "OTEL_RESOURCE_ATTRIBUTES=${ATTRIBUTES}" echo "alloy_username=${SERVICE_ACCOUNT_USERNAME}" echo "alloy_password=${SERVICE_ACCOUNT_PASSWORD}" } >>/etc/default/alloy @@ -83,6 +83,7 @@ cp root/etc/systemd/system/dyndns.service /etc/systemd/system/dyndns.service cp root/usr/local/bin/dyndns /usr/local/bin/dyndns cp -r root/etc/default/dyndns /etc/default/dyndns { + echo "" echo "DNSIMPLE_TOKEN=${DNSIMPLE_TOKEN}" echo "NAME=any;${CLOUD_REGION}" } >>/etc/default/dyndns @@ -128,6 +129,8 @@ ufw allow 587 # EMAIL ufw allow 993 # EMAIL ufw allow 4190 # EMAIL +ufw allow 2222 # SSH ACCESS + ufw --force enable systemctl enable ufw diff --git a/ingress.tjo.cloud/terraform/node.tf b/ingress.tjo.cloud/terraform/node.tf index 6d2627c..4a40e3c 100644 --- a/ingress.tjo.cloud/terraform/node.tf +++ b/ingress.tjo.cloud/terraform/node.tf @@ -15,7 +15,7 @@ locals { auth_key = tailscale_tailnet_key.key.key } dnsimple = { - token = var.dnsimple_token + token = var.dnsimple_token } } })