chore: remove unused terraform/opentofu stuff

This commit is contained in:
Kim, Jimin 2024-10-11 18:04:05 +09:00
parent 977eb71fc8
commit cbd9e12fd5
Signed by: pomp
GPG key ID: 2B516173EDD492EB
6 changed files with 4 additions and 54 deletions

42
.gitignore vendored
View file

@ -5,8 +5,8 @@ build
vite.config.js.timestamp-*
vite.config.ts.timestamp-*
# Created by https://www.toptal.com/developers/gitignore/api/node,macos,turbo,terraform
# Edit at https://www.toptal.com/developers/gitignore?templates=node,macos,turbo,terraform
# Created by https://www.toptal.com/developers/gitignore/api/node,macos,turbo
# Edit at https://www.toptal.com/developers/gitignore?templates=node,macos,turbo
### macOS ###
# General
@ -180,44 +180,8 @@ dist
# SvelteKit build / generate output
.svelte-kit
### Terraform ###
# Local .terraform directories
**/.terraform/*
# .tfstate files
*.tfstate
*.tfstate.*
# Crash log files
crash.log
crash.*.log
# Exclude all .tfvars files, which are likely to contain sensitive data, such as
# password, private keys, and other secrets. These should not be part of version
# control as they are data points which are potentially sensitive and subject
# to change depending on the environment.
*.tfvars
*.tfvars.json
# Ignore override files as they are usually used to override resources locally and so
# are not checked in
override.tf
override.tf.json
*_override.tf
*_override.tf.json
# Include override files you do wish to add to version control using negated pattern
# !example_override.tf
# Include tfplan files to ignore the plan output of command: terraform plan -out=tfplan
# example: *tfplan*
# Ignore CLI configuration files
.terraformrc
terraform.rc
### Turbo ###
# Turborepo task cache
.turbo
# End of https://www.toptal.com/developers/gitignore/api/node,macos,turbo,terraform
# End of https://www.toptal.com/developers/gitignore/api/node,macos,turbo

View file

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

View file

@ -10,7 +10,6 @@
"svelte.svelte-vscode",
"redhat.vscode-xml",
"github.vscode-github-actions",
"gamunu.opentofu",
"foxundermoon.shell-format"
]
}

View file

@ -47,7 +47,6 @@
"nojs",
"noopener",
"noto",
"opentofu",
"planetscale",
"pnpm",
"pocketbase",

View file

@ -40,16 +40,6 @@
- `pnpm lint` - Lint all apps and packages
- `pnpm clean` - Remove all auto-generated content such as `node_modules` and `dist`.
## Setting up for deployment
1. Install the following
- [OpenTofu CLI](https://opentofu.org/docs/cli)
- [AWS CLI](https://aws.amazon.com/cli)
2. Setup AWS credentials
```
aws configure
```
## Testing
1. Build site

View file

@ -6,7 +6,7 @@
"test:unit": "turbo run test:unit --parallel --continue",
"test:e2e": "turbo run test:e2e --parallel --continue",
"lint": "turbo run lint",
"clean": "turbo run clean && rm -rf node_modules .turbo .terraform terraform.tfstate"
"clean": "turbo run clean && rm -rf node_modules .turbo"
},
"devDependencies": {
"@developomp-site/eslint-config": "workspace:*",