File tree Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -90,10 +90,6 @@ We highly recommend that in your code you pin the version to the exact version y
9090using so that your infrastructure remains stable, and update versions in a
9191systematic way so that they do not catch you by surprise.
9292
93- Also, because of a bug in the Terraform registry ([ hashicorp/terraform #21417 ] ( https://github.com/hashicorp/terraform/issues/21417 ) ),
94- the registry shows many of our inputs as required when in fact they are optional.
95- The table below correctly indicates which inputs are required.
96-
9793
9894For a complete example, see [ examples/complete] ( examples/complete ) .
9995
@@ -233,6 +229,7 @@ Available targets:
233229
234230| Name | Source | Version |
235231| ------| --------| ---------|
232+ | <a name =" module_target_group " ></a > [ target\_ group] ( #module\_ target\_ group ) | cloudposse/label/null | 0.25.0 |
236233| <a name =" module_this " ></a > [ this] ( #module\_ this ) | cloudposse/label/null | 0.25.0 |
237234
238235## Resources
Original file line number Diff line number Diff line change 1616
1717| Name | Source | Version |
1818| ------| --------| ---------|
19+ | <a name =" module_target_group " ></a > [ target\_ group] ( #module\_ target\_ group ) | cloudposse/label/null | 0.25.0 |
1920| <a name =" module_this " ></a > [ this] ( #module\_ this ) | cloudposse/label/null | 0.25.0 |
2021
2122## Resources
Original file line number Diff line number Diff line change @@ -8,10 +8,17 @@ data "aws_lb_target_group" "default" {
88 arn = local. target_group_arn
99}
1010
11+ module "target_group" {
12+ source = " cloudposse/label/null"
13+ version = " 0.25.0"
14+ id_length_limit = 32
15+ context = module. this . context
16+ }
17+
1118resource "aws_lb_target_group" "default" {
1219 count = module. this . enabled && var. default_target_group_enabled ? 1 : 0
1320
14- name = coalesce (var. target_group_name , module. this . id )
21+ name = coalesce (var. target_group_name , module. target_group . id )
1522 port = var. port
1623 protocol = var. protocol
1724 protocol_version = var. protocol_version
You can’t perform that action at this time.
0 commit comments