6 lines
234 B
Docker
6 lines
234 B
Docker
FROM hashicorp/terraform:latest
|
|
|
|
COPY init-server init-server
|
|
COPY main.tf main.tf
|
|
|
|
ENTRYPOINT terraform init && terraform apply -var="token=${token}" -auto-approve && sleep 180 && terraform destroy -var="token=${token}" -auto-approve |