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
hostname
argument, orTFE_HOSTNAME
environment variable set for use by thetfe
provider, contains a/
character, such as at the end of the address entered.
Solution:
-
Remove the
/
from the address that's set for thehostname
argument, orTFE_HOSTNAME
environment variable.- Example
app.terraform.io
ortfe.domain.com
- Example