https://github.com/loft-sh/vcluster-terraform-modules
https://github.com/loft-sh/vcluster-terraform-modules
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/loft-sh/vcluster-terraform-modules
- Owner: loft-sh
- Created: 2024-06-05T12:05:49.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-01T07:45:50.000Z (over 1 year ago)
- Last Synced: 2024-12-31T07:44:48.235Z (about 1 year ago)
- Language: HCL
- Size: 59.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vcluster-terraform-modules
This repository contains ready to use Terraform modules that will make working with vCluster easier.
## Available modules
- [single-namespace-rename](single-namespace-rename/README.md)
## How to use
You can import given module into your terraform using git:
```hcl
provider "http" {
alias = "default"
}
module "my_k8s_resource" {
source = "github.com/loft-sh/vcluster-terraform-modules//single-namespace-rename"
providers = {
http.default = http.default
}
host = var.vcluster_platform_host
access_key = var.access_key
resource_name = var.service_account_name
resource_namespace = var.service_account_namespace
vcluster_name = var.vcluster_name
}
output "updated_name" {
value = module.my_k8s_resource.name
}
```