A reusable Terraform module for setting commonly used resource-types for the Humanitec Platform Orchestrator.
This module provides reusable configuration for installing standard resource types that you may see frequently in tutorials, demos, and reference implementations.
Currently, this supports the following resource types which can each be opted-in to by setting the appropriate enable-xyz flag (see the inputs section below):
score-workloadk8s-namespacek8s-service-accountenv
This set of types will be expanded over time as we add new modules to github.com/humanitec-tf-modules.
In your IaC you use to configure your Platform Orchestrator, you can specify the module and enable types as you need them.
module "common_resource_types" {
source = "github.com/humanitec-tf-modules/common-resource-types"
enable-score-workload = true
enable-env = true
// etc.
}| Name | Version |
|---|---|
| platform-orchestrator | 2.10.2 |
| Name | Version |
|---|---|
| platform-orchestrator | 2.10.2 |
No modules.
| Name | Type |
|---|---|
| platform-orchestrator_resource_type.env | resource |
| platform-orchestrator_resource_type.k8s-namespace | resource |
| platform-orchestrator_resource_type.k8s-service-account | resource |
| platform-orchestrator_resource_type.score-workload | resource |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| enable-env | Whether to install the env resource type | bool |
false |
no |
| enable-k8s-namespace | Whether to install the k8s-namespace resource type | bool |
false |
no |
| enable-k8s-service-account | Whether to install the k8s-service-account resource type | bool |
false |
no |
| enable-score-workload | Whether to install the score-workload resource type | bool |
false |
no |
| resource-type-prefix | A prefix to add to the generated resource types | string |
"" |
no |
| Name | Description |
|---|---|
| env-type | The id of the env resource type if enabled |
| k8s-namespace-type | The id of the k8s-namespace resource type if enabled |
| k8s-service-account-type | The id of the k8s-service-account resource type if enabled |
| score-workload-type | The id of the score-workload resource type if enabled |