Requirements

Name

Version

terraform

>= 1.0

kubernetes

>= 2.7.1

Providers

Name

Version

kubernetes

>= 2.7.1

Modules

Name

Source

Version

my_svc_ip

../../service-ip

n/a

Resources

Name

Type

kubernetes_service.my_svc

resource

kubernetes_config_map.dns

data source

Inputs

Name

Description

Type

Default

Required

namespace

Namespace where to deploy the service

string

"default"

no

port

Port on which to expose the service

number

n/a

yes

type

Type of service to deploy

string

n/a

yes

Outputs

Name

Description

domain

Domain of the service deployed

fqdn

Fully Qualified Domain Name of the service deployed

host

Either the IP of the FQDN or the deployed service

ip

IP of the service deployed

port

Port used by the service deployed