Loading...
Loading...
### Terraform Version ```shell Terraform version: 1.5.3 ``` ### Terraform Configuration Files ```hcl module "my_module_name" { source = "**server_url**/gitlab/**project**/**name**/**system**" version = "0.0.1" } ``` ### Debug Output ``` 2023-07-18T13:28:21.912Z [TRACE] HTTP client GET request to https://**server_url**/.well-known/terraform.json │ Error: Invalid registry module source address │ │ on main.tf line 62, in module "my_module_name": │ 62: source = "**server_url**/gitlab/**project**/**name**/**system**" │ │ Failed to parse module registry address: a module registry source address must have either three or four │ slash-separated components. │ │ Terraform assumed that you intended a module registry source address because you also set the argument "version", │ which applies only to registry modules. ``` ### Expected Behavior Ability to configure a proper server endpoint, so: 1) metadata can be properly downloaded from https://**server_url**/gitlab/.well-known/terraform.json instead of https://**server_url**/.well-known/terraform.json 2) parsing of the module url works properly ### Actual Behavior 1) [TRACE] HTTP client GET request to https://***/.well-known/terraform.json 2) │ Failed to parse module registry address: a module registry source address must have either three or four │ slash-separated components. ### Steps to Reproduce terraform init ### Additional Context _No response_ ### References _No response_
Click on a version to see all relevant bugs
Terraform Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.