Skip to content

Commit 0de725e

Browse files
authored
Upstream: eks/echo-server (cloudposse/terraform-aws-components#591)
1 parent 68309f2 commit 0de725e

File tree

4 files changed

+22
-0
lines changed

4 files changed

+22
-0
lines changed

src/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ components:
8585
8686
| Name | Source | Version |
8787
|------|--------|---------|
88+
| <a name="module_alb"></a> [alb](#module\_alb) | cloudposse/stack-config/yaml//modules/remote-state | 1.4.1 |
8889
| <a name="module_echo_server"></a> [echo\_server](#module\_echo\_server) | cloudposse/helm-release/aws | 0.7.0 |
8990
| <a name="module_eks"></a> [eks](#module\_eks) | cloudposse/stack-config/yaml//modules/remote-state | 1.4.1 |
9091
| <a name="module_iam_roles"></a> [iam\_roles](#module\_iam\_roles) | ../../account-map/modules/iam-roles | n/a |
@@ -103,6 +104,7 @@ components:
103104
| Name | Description | Type | Default | Required |
104105
|------|-------------|------|---------|:--------:|
105106
| <a name="input_additional_tag_map"></a> [additional\_tag\_map](#input\_additional\_tag\_map) | Additional key-value pairs to add to each map in `tags_as_list_of_maps`. Not added to `tags` or `id`.<br>This is for some rare cases where resources want additional configuration of tags<br>and therefore take a list of maps with tag key, value, and additional configuration. | `map(string)` | `{}` | no |
107+
| <a name="input_alb_controller_ingress_group_component_name"></a> [alb\_controller\_ingress\_group\_component\_name](#input\_alb\_controller\_ingress\_group\_component\_name) | The name of the alb\_controller\_ingress\_group component | `string` | `"eks/alb-controller-ingress-group"` | no |
106108
| <a name="input_atomic"></a> [atomic](#input\_atomic) | If set, installation process purges chart on fail. The wait flag will be set automatically if atomic is used. | `bool` | `true` | no |
107109
| <a name="input_attributes"></a> [attributes](#input\_attributes) | ID element. Additional attributes (e.g. `workers` or `cluster`) to add to `id`,<br>in the order they appear in the list. New attributes are appended to the<br>end of the list. The elements of the list are joined by the `delimiter`<br>and treated as a single ID element. | `list(string)` | `[]` | no |
108110
| <a name="input_chart_values"></a> [chart\_values](#input\_chart\_values) | Addition map values to yamlencode as `helm_release` values. | `any` | `{}` | no |

src/main.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ module "echo_server" {
3838
value = local.ingress_nginx_enabled
3939
type = "auto"
4040
},
41+
{
42+
name = "ingress.alb.group_name"
43+
value = module.alb.outputs.group_name
44+
type = "auto"
45+
},
4146
{
4247
name = "ingress.alb.enabled"
4348
value = local.ingress_alb_enabled

src/remote-state.tf

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,12 @@ module "eks" {
66

77
context = module.this.context
88
}
9+
10+
module "alb" {
11+
source = "cloudposse/stack-config/yaml//modules/remote-state"
12+
version = "1.4.1"
13+
14+
component = var.alb_controller_ingress_group_component_name
15+
16+
context = module.this.context
17+
}

src/variables.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ variable "eks_component_name" {
99
default = "eks/cluster"
1010
}
1111

12+
variable "alb_controller_ingress_group_component_name" {
13+
type = string
14+
description = "The name of the alb_controller_ingress_group component"
15+
default = "eks/alb-controller-ingress-group"
16+
}
17+
1218
variable "chart_values" {
1319
type = any
1420
description = "Addition map values to yamlencode as `helm_release` values."

0 commit comments

Comments
 (0)