terraform-library/README.md

29 lines
570 B
Markdown
Raw Normal View History

2024-05-28 22:23:45 +00:00
# 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"
2024-05-28 22:23:45 +00:00
application_name = "wiremock"
namespace = local.default_namespace
image = {
name = "container.localdomain/wiremock"
}
ports = [
{
container_port = 8083
expose = true
}
]
}
```
## running test
```shell
$ tf test
```