From 81655fde579bf202869b7da11c87a3d2168e676f Mon Sep 17 00:00:00 2001 From: Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> Date: Mon, 15 Jul 2024 10:19:14 +0200 Subject: [PATCH] Delete tf-infra/contabo/state.sh --- tf-infra/contabo/state.sh | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100755 tf-infra/contabo/state.sh diff --git a/tf-infra/contabo/state.sh b/tf-infra/contabo/state.sh deleted file mode 100755 index 1dff13a..0000000 --- a/tf-infra/contabo/state.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env bash - -BUCKET="nilstrieb-states" - -case "$1" in - download) - aws s3api get-object --bucket "$BUCKET" --key "contabo-terraform.tfstate" "terraform.tfstate" - ;; - upload) - aws s3api put-object --bucket "$BUCKET" --key "contabo-terraform.tfstate" --body "terraform.tfstate" - ;; - *) - echo "subcommand download or upload required" - exit 1 -esac