From e0e2b427b62fed22cf8e0f9bae05b8c316515d5f Mon Sep 17 00:00:00 2001 From: Grant Birkinbine Date: Tue, 8 Oct 2024 14:45:45 -0700 Subject: [PATCH 1/2] Update branch-deploy.yml --- .github/workflows/branch-deploy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/branch-deploy.yml b/.github/workflows/branch-deploy.yml index 9da0ccd..3d47421 100644 --- a/.github/workflows/branch-deploy.yml +++ b/.github/workflows/branch-deploy.yml @@ -13,6 +13,7 @@ permissions: deployments: write contents: write checks: read + statuses: read jobs: branch-deploy: @@ -79,7 +80,7 @@ jobs: - name: terratrash if: ${{ steps.branch-deploy.outputs.continue == 'true' }} - uses: GrantBirki/terratrash-action@v0.0.2 + uses: GrantBirki/terratrash-action@v1.0.0 with: input_file_path: terraform/terraform-output.txt erb_render_template: .github/deployment_message.md From 1f73f5d583b8dec7a16eb85725c3403e3cf82bf1 Mon Sep 17 00:00:00 2001 From: GrantBirki Date: Tue, 8 Oct 2024 15:03:50 -0700 Subject: [PATCH 2/2] dns state sync --- terraform/.terraform.lock.hcl | 1 + terraform/dns.tf | 15 +++------------ 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/terraform/.terraform.lock.hcl b/terraform/.terraform.lock.hcl index 845384c..ad109f7 100644 --- a/terraform/.terraform.lock.hcl +++ b/terraform/.terraform.lock.hcl @@ -8,6 +8,7 @@ provider "registry.terraform.io/cloudflare/cloudflare" { "h1:ObUlP3wpucSRONuMxA74IbtpmwL151f3evo0L2tKW1g=", "h1:iGDvVJ6kdlopyhR3ONeoh8gZWZg8+M/seP7VM7gOp1I=", "h1:swSwcJhM9N9NDpGZl6/Y+GT5l+9ZEVNvoek0gl8hG5g=", + "h1:zTODvAxUbXsXBwAhBWbWJ1033Jm1OytbBDUs3f+SAV4=", "zh:0947f7f9e0234aaeb6b5f344de4148a6379d05370937e1c255872697803c17cc", "zh:17abb230abd852e0e4ed9921cd9aaf03336ad4a13a25b1040ed86cdbddf05123", "zh:2ddf550dbdf5c58bbb8d14de6b2dc76627bb92787b99328300fb312c51e12d1f", diff --git a/terraform/dns.tf b/terraform/dns.tf index db2b7b9..ac5878a 100644 --- a/terraform/dns.tf +++ b/terraform/dns.tf @@ -20,8 +20,8 @@ resource "cloudflare_record" "api" { name = "api" proxied = true ttl = 1 - type = "CNAME" - value = "api.hideout-api.workers.dev" + type = "A" + value = "135.148.120.117" zone_id = var.CLOUDFLARE_ZONE_ID } @@ -66,16 +66,7 @@ resource "cloudflare_record" "socket" { proxied = true ttl = 1 type = "CNAME" - value = "tarkov-socket-server-production.up.railway.app" - zone_id = var.CLOUDFLARE_ZONE_ID -} - -resource "cloudflare_record" "market" { - name = "market" - proxied = true - ttl = 1 - type = "A" - value = "209.151.146.50" + value = "sxzwu785.up.railway.app" zone_id = var.CLOUDFLARE_ZONE_ID }