Kube Service

A kube spring backend with route53 and such

Terraform Module Source

module "kube_service" {
  source = "https://tfmodules.matillion-cto.matillion.com/kube_service.tar.gz"
  ...
}

Resources

NameType
aws_ecr_repository.repositoryresource
aws_iam_policy.mainresource
kubernetes_deployment.deploymentresource
kubernetes_ingress_v1.kube_ingressresource
kubernetes_namespace.namespaceresource
kubernetes_service.serviceresource
kubernetes_service.service_newresource
aws_caller_identity.awsdata source
aws_elb_hosted_zone_id.elb_zone_iddata source
aws_iam_policy_document.empty_policydata source
aws_region.currentdata source

Inputs

NameDescriptionTypeDefaultRequired
kube_confign/a
object({
cluster_name = string
oidc_provider_id = string
provider_config = any
})
n/ayes
serviceNameThe name of the servicestringn/ayes
serviceUrlNameThe first part of the URL, this gets combined with zone to be serviceUrlName.zonestringn/ayes
create_ecr_repositoryn/abooltrueno
create_namespacen/abooltrueno
ebPolicyJsonn/astring""no
envVarsn/amap(string){}no
expose_pathn/astring"/api/"no
image_namen/astring""no
image_versionn/astring"latest"no
include_legacy_service_lbn/aboolfalseno
ingress_alternate_hostsn/alist(string)[]no
ingress_groupn/astring"shared-apis"no
internalPortn/anumber8080no
maxInstancesThe maximum number of instances that should be creatednumber2no
minInstancesThe minimum number of instances that should be creatednumber2no
namespacen/astring""no
persistent_volumesn/a
list(object({
name = string
claim_name = string
mount_path = string
}))
[]no
profileThe spring profile that should be enabledstring"preprod"no
prometheus_enabledn/aboolfalseno
prometheus_pathn/astring"/actuator/prometheus"no
prometheus_portn/anumber0no
use_legacy_service_dnsn/aboolfalseno
vpc_namen/astring"public"no
zoneThe name of the Route53 zone to usestring"matillion-cto.matillion.com"no

Outputs

NameDescription
service_accountn/a