Difference between revisions of "Download module"

From wikieduonline
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
* GET packages/terraform/modules/v1/:module_namespace/:module_name/:module_system/:module_version/file
 
* GET packages/terraform/modules/v1/:module_namespace/:module_name/:module_system/:module_version/file
  
  GET https://registry.terraform.io/packages/terraform/modules/v1/terraform-aws-modules/eks/aws/latest/file
+
  GET https://gitlab.example.com/api/v4/packages/terraform/modules/v1/terraform-aws-modules/eks/aws/latest/file
 +
 
 +
== Error ==
 +
  Error: Unreadable module directory
 +
 +
│ The directory  could not be read for module "eks" at .terraform/modules/xxx/cluster.tf:1234.
 +
 +
 +
 +
│ Error: Error accessing remote module registry
 +
 +
│  on .terraform/modules/xxx/cluster.tf line 1234:
 +
│  335: module "vpc_cni_irsa_role" {
 +
 +
│ Failed to retrieve available versions for module "vpc_cni_irsa_role" (.terraform/modules/xxxx/cluster.tf:335) from
 +
│ registry.terraform.io: failed to request discovery document: Get "https://registry.terraform.io/.well-known/terraform.json": tls:
 +
failed to verify
 +
│ certificate: x509: certificate signed by unknown authority.
 +
 
 +
== See also ==
 +
* {{kubectl get}}
 +
 
 +
[[Category:K8s]]

Latest revision as of 13:19, 4 March 2024

  • GET packages/terraform/modules/v1/:module_namespace/:module_name/:module_system/:module_version/file
GET https://gitlab.example.com/api/v4/packages/terraform/modules/v1/terraform-aws-modules/eks/aws/latest/file

Error[edit]

 Error: Unreadable module directory
│ 
│ The directory  could not be read for module "eks" at .terraform/modules/xxx/cluster.tf:1234.
╵

╷
│ Error: Error accessing remote module registry
│ 
│   on .terraform/modules/xxx/cluster.tf line 1234:
│  335: module "vpc_cni_irsa_role" {
│ 
│ Failed to retrieve available versions for module "vpc_cni_irsa_role" (.terraform/modules/xxxx/cluster.tf:335) from
│ registry.terraform.io: failed to request discovery document: Get "https://registry.terraform.io/.well-known/terraform.json": tls: 
failed to verify
│ certificate: x509: certificate signed by unknown authority.

See also[edit]

Advertising: