chore: replace remaining references of terraform to opentofu

This commit is contained in:
Kim, Jimin 2024-04-15 20:30:53 +09:00
parent 26f489ecc0
commit 43a592d7a1
Signed by: pomp
GPG key ID: 2B516173EDD492EB
6 changed files with 11 additions and 21 deletions

View file

@ -1,4 +1,4 @@
name: Terraform
name: OpenTofu
on:
push:
@ -9,8 +9,8 @@ permissions:
contents: read
jobs:
terraform:
name: Terraform
opentofu:
name: OpenTofu
runs-on: ubuntu-latest
defaults:
run:

View file

@ -1,10 +1,7 @@
#!/usr/bin/env sh
# load nvm if available
export NVM_DIR="$HOME/.nvm"
if [ -s "$NVM_DIR/nvm.sh" ]; then
. "$NVM_DIR/nvm.sh"
fi
. "$(dirname -- "$0")/_/husky.sh"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
npx --no -- commitlint --edit "${1}"

3
.husky/pre-commit Executable file
View file

@ -0,0 +1,3 @@
#!/usr/bin/env sh
tofu fmt -check

View file

@ -1,10 +0,0 @@
#!/usr/bin/env sh
export NVM_DIR="$HOME/.nvm"
if [ -s "$NVM_DIR/nvm.sh" ]; then
. "$NVM_DIR/nvm.sh"
fi
. "$(dirname -- "$0")/_/husky.sh"
terraform fmt -check

View file

@ -43,7 +43,7 @@
## Setting up for deployment
1. Install the following
- [terraform CLI](https://developer.hashicorp.com/terraform/downloads)
- [OpenTofu CLI](https://opentofu.org/docs/cli)
- [AWS CLI](https://aws.amazon.com/cli)
2. Setup AWS credentials
```

View file

@ -19,7 +19,7 @@ A collection of "pomp-branded" websites.
![Next.js](https://img.shields.io/badge/next.js-222?style=for-the-badge&logo=nextdotjs)
![Svelte](https://img.shields.io/badge/svelte-222?style=for-the-badge&logo=svelte)
![SvelteKit](https://img.shields.io/badge/sveltekit-222?style=for-the-badge&logo=svelte)
![Terraform](https://img.shields.io/badge/terraform-222?style=for-the-badge&logo=terraform)
![OpenTofu](https://img.shields.io/badge/opentofu-222?style=for-the-badge&logo=opentofu)
![Firebase](https://img.shields.io/badge/firebase-222?style=for-the-badge&logo=firebase)
## Special thanks