-
Hello! Problem I have this main.tf that has a reference to another gitlab repository: provider "aws" {}
terraform {
experiments = [module_variable_optional_attrs]
}
module "tgw" {
source = "git::https://gitlab.com/company/shared-services/modules/tgw?ref=v1.0.0"
create_tgw = var.create_tgw
env = var.env
transit_gateway_name = var.transit_gateway_name
transit_gateway_asn = var.transit_gateway_asn
auto_accept_shared_attachments = var.auto_accept_shared_attachments
default_route_table_association = var.default_route_table_association
default_route_table_propagation = var.default_route_table_propagation
dns_support = var.dns_support
description = var.description
transit_gateway_routing_tables = var.transit_gateway_routing_tables
} After Failed to load configurations; main.tf:7,1-13: `tgw` module is not found. Did you run `terraform init`?; :
Error: `tgw` module is not found. Did you run `terraform init`?
on main.tf line 7, in module "tgw":
7: module "tgw" { This method works absolutely fine for terraform provisioning (plan, apply), the URL and ref are correct. Details $ terraform --version
Terraform v1.1.9
$ tflint --version
TFLint version 0.40.0 |
Beta Was this translation helpful? Give feedback.
Answered by
eleeaz95
Nov 14, 2022
Replies: 1 comment
Answer selected by
eleeaz95
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Solved!