Requirements
| Name | Version |
|---|---|
| kubernetes | >= 1.13.3 |
Providers
Modules
No modules.
Resources
| Name | Type |
|---|---|
| helm_release.k8s-service | resource |
| azurerm_client_config.current | data source |
| azurerm_container_registry.pltf | data source |
| azurerm_resource_group.pltf | data source |
| azurerm_subscription.current | data source |
Inputs
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| acr_registry_name | n/a | string |
n/a | yes |
| args | n/a | list(string) |
n/a | yes |
| autoscaling_target_cpu_percentage | Percentage of requested cpu after which autoscaling kicks in | number |
80 |
no |
| autoscaling_target_mem_percentage | Percentage of requested memory after which autoscaling kicks in | number |
80 |
no |
| commands | n/a | list(string) |
n/a | yes |
| consistent_hash | n/a | string |
null |
no |
| cron_jobs | n/a | list |
[] |
no |
| digest | Digest of image to be deployed | string |
null |
no |
| domain | n/a | string |
"" |
no |
| env_name | Env name | string |
n/a | yes |
| env_vars | Environment variables to pass to the container | list(object({ |
[] |
no |
| healthcheck_command | n/a | list(string) |
n/a | yes |
| healthcheck_path | n/a | string |
null |
no |
| http_port | The port that exposes an HTTP interface | any |
null |
no |
| image | External Image to be deployed | string |
n/a | yes |
| ingress_extra_annotations | n/a | map(string) |
{} |
no |
| initial_liveness_delay | n/a | number |
30 |
no |
| initial_readiness_delay | n/a | number |
30 |
no |
| keep_path_prefix | n/a | bool |
false |
no |
| layer_name | Layer name | string |
n/a | yes |
| link_secrets | n/a | list(map(string)) |
[] |
no |
| links | n/a | any |
null |
no |
| liveness_probe_command | n/a | list(string) |
n/a | yes |
| liveness_probe_path | Url path for liveness probe | string |
null |
no |
| max_containers | Max value for HPA autoscaling | string |
3 |
no |
| max_history | n/a | number |
n/a | yes |
| min_containers | Min value for HPA autoscaling | string |
1 |
no |
| module_name | Module name | string |
n/a | yes |
| persistent_storage | n/a | list(map(string)) |
[] |
no |
| pod_annotations | values to add to the pod annotations for the k8s-service pods | map(string) |
{} |
no |
| pod_labels | n/a | map(string) |
n/a | yes |
| ports | Ports to be exposed | list(any) |
n/a | yes |
| probe_port | The port that is used for health probes | any |
null |
no |
| public_uri | n/a | list(string) |
[] |
no |
| readiness_probe_command | n/a | list(string) |
n/a | yes |
| readiness_probe_path | Url path for readiness probe | string |
null |
no |
| resource_limits | n/a | map(any) |
n/a | yes |
| resource_request | n/a | map(any) |
{ |
no |
| secrets | n/a | any |
null |
no |
| service_annotations | Annotations to add to the service resource | map(string) |
{} |
no |
| sticky_session | n/a | bool |
false |
no |
| sticky_session_max_age | n/a | number |
86400 |
no |
| tag | Tag of image to be deployed | string |
null |
no |
| timeout | n/a | number |
300 |
no |
Outputs
| Name | Description |
|---|---|
| current_digest | n/a |
| current_image | n/a |
| current_tag | n/a |
| docker_repo_url | n/a |