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: on:
push: push:
@ -9,8 +9,8 @@ permissions:
contents: read contents: read
jobs: jobs:
terraform: opentofu:
name: Terraform name: OpenTofu
runs-on: ubuntu-latest runs-on: ubuntu-latest
defaults: defaults:
run: run:

View file

@ -1,10 +1,7 @@
#!/usr/bin/env sh #!/usr/bin/env sh
# load nvm if available
export NVM_DIR="$HOME/.nvm" export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
if [ -s "$NVM_DIR/nvm.sh" ]; then
. "$NVM_DIR/nvm.sh"
fi
. "$(dirname -- "$0")/_/husky.sh"
npx --no -- commitlint --edit "${1}" 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 ## Setting up for deployment
1. Install the following 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) - [AWS CLI](https://aws.amazon.com/cli)
2. Setup AWS credentials 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) ![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) ![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) ![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) ![Firebase](https://img.shields.io/badge/firebase-222?style=for-the-badge&logo=firebase)
## Special thanks ## Special thanks