chore: replace remaining references of terraform to opentofu
This commit is contained in:
parent
26f489ecc0
commit
43a592d7a1
6 changed files with 11 additions and 21 deletions
6
.github/workflows/opentofu.yml
vendored
6
.github/workflows/opentofu.yml
vendored
|
@ -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:
|
||||
|
|
|
@ -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
3
.husky/pre-commit
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
tofu fmt -check
|
|
@ -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
|
|
@ -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
|
||||
```
|
||||
|
|
|
@ -19,7 +19,7 @@ A collection of "pomp-branded" websites.
|
|||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
## Special thanks
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue