Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/studistcorporation/actions-setup-terraform-credentials
https://github.com/studistcorporation/actions-setup-terraform-credentials
terraform-managed
Last synced: 13 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/studistcorporation/actions-setup-terraform-credentials
- Owner: StudistCorporation
- License: mit
- Created: 2022-10-11T06:05:26.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-31T08:04:31.000Z (about 2 years ago)
- Last Synced: 2024-12-01T01:38:42.193Z (about 1 month ago)
- Topics: terraform-managed
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 13
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Setup terraformrc
This action will setup the terraform credential(`~/.terraformrc`) with the given token.
## Usage
```yaml
steps
# Install terraform cli via aqua
- uses: aquaproj/[email protected]
with:
aqua_version: v1.20.2 # renovate depName=aquaproj/aqua
- run: aqua i# Setup ~/.terraformrc
- uses: StudistCorporation/[email protected]
with:
token: ${{ secrets.TF_API_TOKEN }}- run: terraform init
- run: terraform plan
```## Inputs
### token
The token to used for authenticating with Terraform Cloud.
### hostname
The hostname to use in the credential file.
Default is `app.terraform.io`.