mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 16:55:00 +01:00
Delete tf-infra/aws/state.sh
This commit is contained in:
parent
81655fde57
commit
83458998aa
1 changed files with 0 additions and 15 deletions
|
|
@ -1,15 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
BUCKET="nilstrieb-states"
|
|
||||||
|
|
||||||
case "$1" in
|
|
||||||
download)
|
|
||||||
aws s3api get-object --bucket "$BUCKET" --key "aws-terraform.tfstate" "terraform.tfstate"
|
|
||||||
;;
|
|
||||||
upload)
|
|
||||||
aws s3api put-object --bucket "$BUCKET" --key "aws-terraform.tfstate" --body "terraform.tfstate"
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
echo "subcommand download or upload required"
|
|
||||||
exit 1
|
|
||||||
esac
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue