Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

Terraform credentials helper that uses environment variables.

License

Notifications You must be signed in to change notification settings

favadi/terraform-credentials-env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

terraform-credentials-env

A Terraform credentials helper that reads credentials from environment varialbles.

Environment variable format: TF_TOKEN_<hostname>. Hostname should have . characters replaced with _, as it is difficult to set environment variables with dots in name.

Example usage:

TF_TOKEN_app_terraform_io=abc123

direnv is recommended when using this plugin.

Installation

mkdir -p ~/.terraform.d/plugins/ &&
  wget https://raw.githubusercontent.com/favadi/terraform-credentials-env/main/terraform-credentials-env -O ~/.terraform.d/plugins/terraform-credentials-env &&
  chmod +x ~/.terraform.d/plugins/terraform-credentials-env

About

Terraform credentials helper that uses environment variables.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages