RouxAntoine
8a3514f1a6
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
25 lines
531 B
Markdown
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
|
|
}
|
|
]
|
|
}
|
|
|
|
```
|
|
|