Skip to content

This module is a convenience wrapper for the kustomization_resource

License

Notifications You must be signed in to change notification settings

e-breuninger/terraform-module-kustomization

Repository files navigation

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

About

This module is a convenience wrapper for the kustomization_resource

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages