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:
|
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:
|
||||||
|
|
|
@ -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
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
|
## 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
|
||||||
```
|
```
|
||||||
|
|
|
@ -19,7 +19,7 @@ A collection of "pomp-branded" websites.
|
||||||

|

|
||||||

|

|
||||||

|

|
||||||

|

|
||||||

|

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