author | Nemo <me@captnemo.in> | 2018-03-30 23:48:26.0 +05:30:00 |
---|---|---|
committer | Nemo <me@captnemo.in> | 2018-03-30 23:48:26.0 +05:30:00 |
commit | a08132ca8cd53892ec66cdbd942be1cab282dea0 [patch] |
|
tree | 7bfdd2aa384d352b6e60e25f3bde318c81faa301 |
|
parent | 57d175d7949e52170f8ffd15cb836370e6bcc6ef |
|
download | a08132ca8cd53892ec66cdbd942be1cab282dea0.tar.gz |
terraform file uploads can't be executed
- Uses a custom entrypoint instead
Diff
main.tf | 4 +++- variables.tf | 3 +++ timemachine/main.tf | 1 + 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/main.tf b/main.tf index 0e393e1..97cb654 100644 --- a/main.tf +++ a/main.tf @@ -29,9 +29,9 @@ source = "timemachine" ips = "${var.ips}" username-1 = "vikalp" password-1 = "vikalp" password-1 = "${var.timemachine-password-1}" username-2 = "rishav" password-2 = "vikalp" password-2 = "${var.timemachine-password-2}" } module "gitea" { diff --git a/variables.tf b/variables.tf index 1a5b9bf..f0e9da4 100644 --- a/variables.tf +++ a/variables.tf @@ -67,3 +67,6 @@ "traefik.frontend.headers.browserXSSFilter" = "true" } } variable "timemachine-password-2" {} variable "timemachine-password-1" {} diff --git a/timemachine/main.tf b/timemachine/main.tf index 3d7cdab..2fff2c3 100644 --- a/timemachine/main.tf +++ a/timemachine/main.tf @@ -34,6 +34,7 @@ } entrypoint = [ "/bin/sh", "/entrypoint-custom.sh", ]