Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 1.79 KB

README.md

File metadata and controls

37 lines (27 loc) · 1.79 KB

Terraform Module Kustomization

This module is a convenience wrapper for the kustomization_resource. (https://registry.terraform.io/providers/kbst/kustomization/latest/docs) It creates kustomization resources from a kustomization data source.

Migration for v2

Because of changes to sensitive value detection in terraform v1.10, sensitive kinds now have their own resource. To prevent recreation of those kinds, add moved blocks like below.

moved {
  from = module.keycloak.module.kustomization.kustomization_resource.p1["_/Secret/<Namespace>/<SecretName>"]
  to   = module.keycloak.module.kustomization.kustomization_resource.p1_sensitive["_/Secret/<Namespace>/<SecretName>"]
}

Inputs

Name Description Type Default Required
kustomization_data_source This input accepts a kustomization_build or kustomization_overlay data source as input.
object({
ids = set(string)
ids_prio = list(set(string))
manifests = map(string)
})
n/a yes
timeout Timeout for create, update and delete string "5m" no

Outputs

Name Description
p0 Kustomization resources applied with priority 0
p1 Kustomization resources applied with priority 1
p1_sensitive Sensitive kustomization resources applied with priority 1
p2 Kustomization resources applied with priority 2