Sign inSign up

energonhq/terraform

By energonhq

•Updated 7 months ago

Image
0

1.5K

energonhq/terraform repository overview

⁠Terraform

Docker Pulls Docker Image Size Docker Image Version

Alpine-based image with Terraform, tfsec security scanner, and Google Cloud SDK for infrastructure automation and multi-cloud deployments.

⁠Quick Start

docker pull energonhq/terraform:latest
docker run --rm -v $(pwd):/work -w /work energonhq/terraform:latest terraform init
docker run --rm -v $(pwd):/work -w /work energonhq/terraform:latest tfsec .

⁠Features

  • Terraform 1.0.7 for infrastructure as code
  • tfsec v0.58.6 for security scanning of Terraform configurations
  • Google Cloud SDK 462.0.1 (gcloud, gsutil)
  • Common utilities: jq, curl, wget, git, bash
  • Optimized layer caching for faster CI/CD builds

⁠Supported Tags

  • latest - Most recent stable build
  • 1.0.7, 1.0, 1 - Semantic version tags

⁠Quick Reference

KeyValue
Base Imagealpine:3.19.1
Archamd64, arm64
Size~400 MB
Workdir/work
Userroot

⁠Environment Variables

VariableDescriptionDefault
AWS_ACCESS_KEY_IDAWS access key-
AWS_SECRET_ACCESS_KEYAWS secret key-
AWS_DEFAULT_REGIONAWS region-
GOOGLE_APPLICATION_CREDENTIALSPath to GCP service account key-
TF_IN_AUTOMATIONSet to any value for CI/CD mode-

⁠Volumes

PathPurpose
/workMount Terraform code here
/root/.terraform.dTerraform provider cache
/root/.config/gcloudGCP credentials (mount read-only)
/root/.awsAWS credentials (mount read-only)

Tag summary

Content type

Image

Digest

sha256:2af088741…

Size

339.4 MB

Last updated

7 months ago

docker pull energonhq/terraform