replace terraform compose with dummy
This commit is contained in:
parent
d84e3b0669
commit
176b4ab191
2 changed files with 19 additions and 15 deletions
|
|
@ -1,16 +1,4 @@
|
||||||
services:
|
services:
|
||||||
terraform:
|
terraform-manager:
|
||||||
image: hashicorp/terraform:latest
|
image: alpine:latest
|
||||||
container_name: terraform-worker
|
command: tail -f /dev/null # This just keeps the container "active"
|
||||||
# We mount the current folder into the container so it can see your .tf files
|
|
||||||
volumes:
|
|
||||||
- .:/app
|
|
||||||
working_dir: /app
|
|
||||||
# We pass your Komodo secrets into the container
|
|
||||||
environment:
|
|
||||||
- TF_VAR_pve_endpoint=${TF_VAR_pve_endpoint}
|
|
||||||
- TF_VAR_pve_token_id=${TF_VAR_pve_token_id}
|
|
||||||
- TF_VAR_pve_token_secret=${TF_VAR_pve_token_secret}
|
|
||||||
# This prevents the container from trying to run a service;
|
|
||||||
# we want to trigger commands manually or via Komodo Actions.
|
|
||||||
entrypoint: ["/bin/sh", "-c", "sleep infinity"]
|
|
||||||
16
terraform/original-docker-compose.bak0
Normal file
16
terraform/original-docker-compose.bak0
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
services:
|
||||||
|
terraform:
|
||||||
|
image: hashicorp/terraform:latest
|
||||||
|
container_name: terraform-worker
|
||||||
|
# We mount the current folder into the container so it can see your .tf files
|
||||||
|
volumes:
|
||||||
|
- .:/app
|
||||||
|
working_dir: /app
|
||||||
|
# We pass your Komodo secrets into the container
|
||||||
|
environment:
|
||||||
|
- TF_VAR_pve_endpoint=${TF_VAR_pve_endpoint}
|
||||||
|
- TF_VAR_pve_token_id=${TF_VAR_pve_token_id}
|
||||||
|
- TF_VAR_pve_token_secret=${TF_VAR_pve_token_secret}
|
||||||
|
# This prevents the container from trying to run a service;
|
||||||
|
# we want to trigger commands manually or via Komodo Actions.
|
||||||
|
entrypoint: ["/bin/sh", "-c", "sleep infinity"]
|
||||||
Loading…
Reference in a new issue