Problem
When executing Terraform configuration code that includes the use of the tfe provider, you encounter the error below during the plan phase:
Error: idna: disallowed rune U+002F
with provider["registry.terraform.io/hashicorp/tfe"]
on XXX.tf line X, in provider "tfe":
provider "tfe" {
Cause
- This occurs when the value for the
hostnameargument, orTFE_HOSTNAMEenvironment variable set for use by thetfeprovider, contains a/character, such as at the end of the address entered.
Solution:
-
Remove the
/from the address that's set for thehostnameargument, orTFE_HOSTNAMEenvironment variable.- Example
app.terraform.ioortfe.domain.com
- Example