https://github.com/softkitit/github-actions-terraform
https://github.com/softkitit/github-actions-terraform
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/softkitit/github-actions-terraform
- Owner: softkitit
- Created: 2024-03-15T07:58:49.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-05-05T12:54:43.000Z (11 months ago)
- Last Synced: 2025-05-15T16:18:42.784Z (11 months ago)
- Size: 85.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
General terraform workflows to reuse in your projects, to initialize state, validate, plan, apply, and destroy infrastructure
## Workflows
| Name | Description |
|-------------------------------------------------------------------------------------|-------------|
| [CI - Terraform Initialize State](#ci---terraform-initialize-state) | Lint, format and validate terraform code |
## CI - Terraform Initialize State
Initialize terraform state on remote backend and create PR with backend file configuration
### Usage
```yaml
```
### Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|----------|
| environment | Environment name deploy to | string | N/A | true |
| image | Docker Image to deploy | string | N/A | true |
| organization | Repository owner organization (ex. acme for repo acme/example) | string | N/A | true |
| repository | Repository name (ex. example for repo acme/example) | string | N/A | true |
| synchronously | Wait until ArgoCD successfully apply the changes | boolean | false | false |
| tag | Docker Image tag to deploy | string | N/A | true |
### Secrets
| Name | Description | Required |
|------|-------------|----------|
| github-private-actions-pat | Github PAT allow to pull private repos | true |