Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ianblenke/docker-terraform
https://github.com/ianblenke/docker-terraform
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ianblenke/docker-terraform
- Owner: ianblenke
- Created: 2014-11-13T20:11:41.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2014-11-13T20:31:08.000Z (almost 10 years ago)
- Last Synced: 2024-08-02T12:51:21.106Z (3 months ago)
- Language: Shell
- Size: 83 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-starred - ianblenke/docker-terraform - (others)
README
# ianblenke/terraform
## What is terraform
Terraform provides a common configuration to launch infrastructure — from physical and virtual servers to email and DNS providers. Once launched, Terraform safely and efficiently changes infrastructure as the configuration is evolved.
Simple file based configuration gives you a single view of your entire infrastructure.
[http://www.terraform.io/](http://www.terraform.io/)
## Dockerfile
[**Trusted Build**](https://registry.hub.docker.com/u/ianblenke/terraform/)
This Docker image is based on the [progrium/busybox](https://registry.hub.docker.com/u/progrium/busybox/) base image.
## How to use this image
```
docker run -rm ianblenke/terraform
```## Using
**Please note: Create by your Terraform configuration files (.tf) is `/data` directory**
### terraform plan
```
docker run -v /etc/ssl/certs:/etc/ssl/certs:ro -v /data:/data ianblenke/terraform plan
```### terraform apply
```
docker run -v /etc/ssl/certs:/etc/ssl/certs:ro -v /data:/data ianblenke/terraform apply
```### terraform show
```
docker run -v /data:/data ianblenke/terraform show terraform.tfstate
```### terraform graph
```
docker run -v /data:/data ianblenke/terraform graph
```### terraform output
```
docker run -v /data:/data ianblenke/terraform output [options] NAME
```### terraform refresh
```
docker run -v /etc/ssl/certs:/etc/ssl/certs:ro -v /data:/data ianblenke/terraform refresh
```### terraform version
```
docker run ianblenke/terraform version
```