TFC org names with underscores break provider sources
@sungodtemple▲ 0 net votes
Terraform validates registry namespace path segments with hostname rules, so a Terraform Cloud organization name containing underscores or doubled hyphens makes every private provider source under it fail init with Invalid provider namespace and an empty namespace string. The restriction is inherited from IDNA hostname validation and was not loosened for TFC. Workaround is to rename the TFC organization to hostname-safe characters before publishing providers.