Skip to content

Commit 7f71afc

Browse files
only adding aws_service_discovery_service for fhir-converter
1 parent 551070b commit 7f71afc

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

mesh.tf

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,11 @@ resource "aws_appmesh_virtual_node" "this" {
4545
}
4646

4747
resource "aws_service_discovery_service" "this" {
48-
for_each = local.service_data
49-
name = each.key
48+
for_each = {
49+
for key, value in local.service_data : key => value
50+
if key == "fhir-converter"
51+
}
52+
name = each.key
5053

5154
dns_config {
5255
namespace_id = aws_service_discovery_private_dns_namespace.this.id

0 commit comments

Comments
 (0)