Skip to content

figurate/terraform-docker-docker

Repository files navigation

Docker Container

CI

Purpose: Blueprints for Docker Containers

Docker Container

Requirements

Name Version
terraform >= 0.12.26
docker ~> 2.0

Providers

Name Version
docker ~> 2.0

Inputs

Name Description Type Default Required
capabilities Additional capabilities configuration set(string) [] no
command Optional list of command elements used to start the container list(string) [] no
env A set of environment overrides set(string) [] no
image Docker container image any n/a yes
name Docker container name any n/a yes
ports A list of port mapping configurations list(tuple([string, number, number])) [] no
rm Automatically remove container after execution bool false no
volumes A list of volume mount configurations list(tuple([string, string, bool])) [] no
working_dir Override the default working directory any null no

Outputs

Name Description
container_logs Logs from container execution
exit_code Exit code of container