Skip to content

no getter available for X-Terraform-Get source protocol #31186

@jbgraindorge-pubfac

Description

@jbgraindorge-pubfac

Terraform Version

Terraform v1.2.2

Terraform Configuration Files

module "cloudfront" {
  source = "https://api.example.com/module"
  [...]
}

Expected Behavior

Downloading https://api.example.com/module cloudfront...
- cloudfront in .terraform/modules/cloudfront

Actual Behavior

Could not download module "cloudfront" (cloudfront.tf:1) source code from
│ "https://api.example.com/module": error
│ downloading 'https://api.example.com/module':
│ no getter available for X-Terraform-Get source protocol:"github.com/terraform-aws-modules/terraform-aws-cloudfront?ref=v2.9.3"

Steps to Reproduce

terraform init

Additional Context

We are using custom API to return modules locations and versions, it is working fine with terraform 1.2.1 but it is not working anymore with terraform 1.2.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugconfirmeda Terraform Core team member has reproduced this issueupstream

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions