An open API service indexing awesome lists of open source software.

https://github.com/brandonc/tfediags

A single script that bundles Terraform Enterprise product diagnostics
https://github.com/brandonc/tfediags

bash terraform-enterprise

Last synced: 3 months ago
JSON representation

A single script that bundles Terraform Enterprise product diagnostics

Awesome Lists containing this project

README

        

# tfediags

A shell script that collects helpful product information from Terraform Enterprise. This script will read non-sensitive data such as Terraform version usage from the host Admin API, and pack it into a diagnostic bundle.

Usage:

`$ bash tfediags.sh `

or

`$ curl https://raw.githubusercontent.com/brandonc/tfediags/v0.2.0/tfediags.sh | bash -s -- `

The script will write a file named something like `tfe-diags-20230203_105511Z.tar.gz` to the current directory which you can send to your Terraform Enterprise account or support representative.

## Troubleshooting

`tfediags.sh` relies on the default `terraform login` credentials file, so be sure to `terraform login ` using a site admin account before running this script.

Debug logging output can help us troubleshoot additional problems: `LOG=DEBUG ./tfediags.sh `

## Prerequisites

- jq (1.4+, tested using 1.6)
- curl