terraform-library/README.md
RouxAntoine 8a3514f1a6
fix: scp-like url syntax
indeed in scp like syntax no : are allowed in url
here now we don't use scp like url anymore.
To use scp like syntax we need to remove ssh:// prefix and just keep git:: one

https://developer.hashicorp.com/terraform/language/modules/sources#scp-like-address-syntax
2024-05-29 00:40:27 +02:00

25 lines
531 B
Markdown

# terraform-library
This repository contained a set of terraform reusable library to deploy an application into kubernetes cluster.
usage example:
```hcl
module "image-uploader-mock" {
source = "git::ssh://gitolite@antoine-roux.tk/virtualization/terraform-library.git?depth=1&ref=main"
application_name = "wiremock"
namespace = local.default_namespace
image = {
name = "container.localdomain/wiremock"
}
ports = [
{
container_port = 8083
expose = true
}
]
}
```