Hello,
From one day to the next, I encounter the following problem on my modules :
│ Error: Invalid module source address
│
│ Module "node-termination-handler" (declared at main.tf line 287) has invalid source address "x/x/aws-modules/node-termination-handler": Terraform cannot detect a
│ supported external module source type for x/x/aws-modules/node-termination-handler.
main.tf :
module "node-termination-handler" {
source = "x/x/aws-modules/node-termination-handler"
version = "0.1.3"
[...]
}
I’m using terraform registry of gitlab, my personnal token is good.
My version is well present in the registry.
My terraformrc file content my credential.
However, if I use the git reference like this :
git::https://x/terraform/aws-modules/node-termination-handler?ref=0.1.3
It works
While on the first terraform modules I created and pushed on gitlab, do not encounter the problem
Terraform version : v1.1.7
OS : MacOS