checkov icon indicating copy to clipboard operation
checkov copied to clipboard

Working with Terraform Enterprise

Open jbrule opened this issue 2 years ago • 2 comments

It looks like TFC_HOST_NAME is hardcoded as a constant. Is there reason that this can't be specified via ENV or other method? I am trying to pull modules from TFE registry.

Thank you, Josh

jbrule avatar Dec 07 '22 15:12 jbrule

Any comments? Ideas? Is there enough difference between TFC and TFE to negate the possibility. My understanding is TFC is the leading release with TFE lagging behind a bit. The module registry is basically identical as I understand it.

jbrule avatar Dec 21 '22 17:12 jbrule

My company needs to do the same pull modules from TFE registry, is there a solution for this?

dolivetoa avatar Jan 27 '23 15:01 dolivetoa

It looks like recently some environment variable support has been added. TF_HOST_NAME and TF_REGISTRY_TOKEN.

jbrule avatar May 18 '23 21:05 jbrule

this was added a while back. Feel free to create a new issue, if you have problems using it.

gruebel avatar Jul 29 '23 14:07 gruebel