Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kciter/terraform-apply-for-aws-action
Create, change, and improve AWS infrastructure by Terraform.
https://github.com/kciter/terraform-apply-for-aws-action
aws github-actions terraform
Last synced: 24 days ago
JSON representation
Create, change, and improve AWS infrastructure by Terraform.
- Host: GitHub
- URL: https://github.com/kciter/terraform-apply-for-aws-action
- Owner: kciter
- License: mit
- Created: 2019-10-24T05:02:46.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-28T12:07:35.000Z (over 4 years ago)
- Last Synced: 2024-05-01T13:44:41.844Z (6 months ago)
- Topics: aws, github-actions, terraform
- Language: Shell
- Size: 8.79 KB
- Stars: 21
- Watchers: 3
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Terraform Apply for AWS Action
This Action allows you to create, change, and improve AWS infrastructure by Terraform.
## Parameters
| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `access_key_id` | `string` | | Your AWS access key id |
| `secret_access_key` | `string` | | Your AWS secret access key |
| `region` | `string` | | Your AWS region |
| `variables` | `string` | `""` | Comma-separated string of Terraform variables |
| `path` | `string` | `.` | Path to Terraform directory, defaults to the working directory |## Usage
```yaml
jobs:
provisioning:
runs-on: ubuntu-latest
steps:
- uses: kciter/terraform-apply-for-aws-action@v3
with:
access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}
secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
region: ap-northeast-2
variables: var=${{ github.sha }}
path: terraform/dev
```## License
The MIT License (MIT)