Skip to content

Commit 793cf5d

Browse files
committed
add relation to the terraform blueprint definition
1 parent 1c573e9 commit 793cf5d

File tree

1 file changed

+12
-0
lines changed
  • docs/build-your-software-catalog/customize-integrations/configure-data-model/setup-blueprint/properties

1 file changed

+12
-0
lines changed

docs/build-your-software-catalog/customize-integrations/configure-data-model/setup-blueprint/properties/aggregation-property.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1024,6 +1024,12 @@ Count how many deployments are directly related to a cluster:
10241024
resource "port_blueprint" "cluster_blueprint" {
10251025
identifier = "cluster"
10261026
title = "Cluster"
1027+
relations = {
1028+
"deployments_rel" = {
1029+
title = "Deployments"
1030+
target = port_blueprint.deployment_blueprint.identifier
1031+
}
1032+
}
10271033
}
10281034
10291035
resource "port_blueprint" "deployment_blueprint" {
@@ -1067,6 +1073,12 @@ resource "port_blueprint" "deployment_blueprint" {
10671073
resource "port_blueprint" "cluster_blueprint" {
10681074
identifier = "cluster"
10691075
title = "Cluster"
1076+
relations = {
1077+
"deployments_rel" = {
1078+
title = "Deployments"
1079+
target = port_blueprint.deployment_blueprint.identifier
1080+
}
1081+
}
10701082
}
10711083
10721084
resource "port_aggregation_properties" "deployment_aggregation_properties" {

0 commit comments

Comments
 (0)