Barak BD
Barak BD
I indeed see this issue with `scratch`: ``` $ docker run -it --rm tfswitch-scratch:multi -l 2021/05/27 05:20:40 Error getting url: Get "https://releases.hashicorp.com/terraform/": x509: certificate signed by unknown authority 2021/05/27 05:20:40...
I updated to go 1.16 and as a consequence also had update vendor files with `go mod vendor`. AFAIK, it is ok to gitignore the `vendor` dir (https://stackoverflow.com/questions/51118691/should-i-add-go-dep-vendor-to-gitignore) but it...
Tested the docker image with a TF repo (running this from withtin a TF repo directory): ``` $ docker run -it --entrypoint sh --rm -v $PWD:/terraform tfswitch:latest / # ls...
@warrensbox - if you can remove the need for the `os/user` and then we can build with `CGO_ENABLED=0` we can make the docker image tiny using `FROM scratch`
Maybe we can do this here https://github.com/warrensbox/terraform-switcher/blob/a710b0368ae3aa13b0c4e1891ecce596e9e52c09/lib/install.go#L58: ```go if errCurr != nil { installLocation = '/' + installPath } ```` Since `scratch` has only `/` as a path. I am...
It would be great oh have a tfswitch Dockerhub image that can just be pulled in CI. This way every new version releasse would also create a new Docker (latest)...
I think pre-populating the image with a specific version defeats the purpose of tfswitch :)
@llamahunter - What do you think of my above comment regarding a dockerhub image? Please add a 👍 or 👎 . Should I open a separate issue for that?
The `/status` endpoint keeps returning 200 reporting and reporting the environments. It should not. BTW, we are using that endpoint as the `livelinessProbe` in K8S, so if it did not...
I tested the ability of the LDRP to relay feature flags once the auto-config key has changed, using this example repo: https://github.com/launchdarkly/hello-js I added color to the example code, so...