Skip to content

Frontend and backend modules are not included in the releases #507

@thanos-kataras

Description

@thanos-kataras

TL;DR

Using the following code, does not get the module, same thing with the backend

module "lb_frontend" {
  source  = "terraform-google-modules/lb-http/google//modules/frontend"
  version = "~> 12.0"


│ Error: Unreadable module directory

│ The directory .terraform/modules/simple-lb-http.lb_frontend/modules/frontend could not be read. This is a bug in Terraform and should be reported.

Expected behavior

Module should be available within the .terraform directory.

Observed behavior


│ Error: Unreadable module directory

│ The directory .terraform/modules/simple-lb-http.lb_frontend/modules/frontend could not be read. This is a bug in Terraform and should be reported.

Terraform Configuration

# Create the frontend configuration for the load balancer
module "lb_frontend" {
  source  = "terraform-google-modules/lb-http/google//modules/frontend"
  version = "~> 12.0"

  # anything in terms of parameters
}

Terraform Version

1.5.7

Terraform Provider Versions

terraform {
  required_version = "~> 1.5"
  required_providers {
    google = {
      source  = "hashicorp/google"
      version = ">= 5.3, < 7"
    }
    google-beta = {
      source  = "hashicorp/google-beta"
      version = ">= 5.3, < 7"
    }
    random = {
      source  = "hashicorp/random"
      version = "3.6.3"
    }
  }
}

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions