Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions modules/stackit/network-area/buildingblock/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ No modules.
|------|-------------|
| <a name="output_network_area_id"></a> [network\_area\_id](#output\_network\_area\_id) | The UUID of the created STACKIT network area. |
| <a name="output_network_area_name"></a> [network\_area\_name](#output\_network\_area\_name) | The name of the created STACKIT network area. |
| <a name="output_network_area_url"></a> [network\_area\_url](#output\_network\_area\_url) | The deep link URL to access the network area in the STACKIT portal. |
| <a name="output_network_ranges"></a> [network\_ranges](#output\_network\_ranges) | IPv4 CIDR ranges available to projects within the network area. |
| <a name="output_summary"></a> [summary](#output\_summary) | Summary of the created network area. |
| <a name="output_transfer_network"></a> [transfer\_network](#output\_transfer\_network) | IPv4 CIDR range used as the transfer network between the network area and connected networks. |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
| **Network Area ID** | `${network_area_id}` |
| **Network Ranges** | ${join(", ", network_ranges)} |
| **Transfer Network** | `${transfer_network}` |
| **Portal** | [Open in STACKIT Portal](${network_area_url}) |
6 changes: 6 additions & 0 deletions modules/stackit/network-area/buildingblock/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,17 @@ output "transfer_network" {
description = "IPv4 CIDR range used as the transfer network between the network area and connected networks."
}

output "network_area_url" {
value = "https://portal.stackit.cloud/network-area/network-areas/${stackit_network_area.this.network_area_id}/overview?organization=${var.organization_id}"
description = "The deep link URL to access the network area in the STACKIT portal."
}

output "summary" {
description = "Summary of the created network area."
value = templatefile("${path.module}/SUMMARY.md.tftpl", {
network_area_id = stackit_network_area.this.network_area_id
network_area_name = stackit_network_area.this.name
network_area_url = "https://portal.stackit.cloud/network-area/network-areas/${stackit_network_area.this.network_area_id}/overview?organization=${var.organization_id}"
network_ranges = var.network_ranges
transfer_network = var.transfer_network
})
Expand Down
6 changes: 6 additions & 0 deletions modules/stackit/network-area/meshstack_integration.tf
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,12 @@ resource "meshstack_building_block_definition" "this" {
}

outputs = {
network_area_url = {
display_name = "Network Area URL"
type = "STRING"
assignment_type = "RESOURCE_URL"
}

network_area_id = {
display_name = "Network Area ID"
type = "STRING"
Expand Down
1 change: 1 addition & 0 deletions modules/stackit/network/buildingblock/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,6 @@ No modules.
|------|-------------|
| <a name="output_network_cidr"></a> [network\_cidr](#output\_network\_cidr) | Allocated IPv4 CIDR block of the network. |
| <a name="output_network_id"></a> [network\_id](#output\_network\_id) | The UUID of the created STACKIT network. |
| <a name="output_network_url"></a> [network\_url](#output\_network\_url) | The deep link URL to access the network in the STACKIT portal. |
| <a name="output_summary"></a> [summary](#output\_summary) | Summary of the created network. |
<!-- END_TF_DOCS -->
1 change: 1 addition & 0 deletions modules/stackit/network/buildingblock/SUMMARY.md.tftpl
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
|----------|-------|
| **Network ID** | `${network_id}` |
| **Network CIDR** | `${network_cidr}` |
| **Portal** | [Open in STACKIT Portal](${network_url}) |
6 changes: 6 additions & 0 deletions modules/stackit/network/buildingblock/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,17 @@ output "network_cidr" {
description = "Allocated IPv4 CIDR block of the network."
}

output "network_url" {
value = "https://portal.stackit.cloud/network/networks/${stackit_network.this.network_id}/overview?project=${var.project_id}"
description = "The deep link URL to access the network in the STACKIT portal."
}

output "summary" {
description = "Summary of the created network."
value = templatefile("${path.module}/SUMMARY.md.tftpl", {
network_name = stackit_network.this.name
network_id = stackit_network.this.network_id
network_cidr = stackit_network.this.ipv4_prefix
network_url = "https://portal.stackit.cloud/network/networks/${stackit_network.this.network_id}/overview?project=${var.project_id}"
})
}
6 changes: 6 additions & 0 deletions modules/stackit/network/meshstack_integration.tf
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,12 @@ resource "meshstack_building_block_definition" "this" {
}

outputs = {
network_url = {
display_name = "Network URL"
type = "STRING"
assignment_type = "RESOURCE_URL"
}

network_id = {
display_name = "Network ID"
type = "STRING"
Expand Down
107 changes: 0 additions & 107 deletions reference-architectures/stackit-hub-spoke/README.md

This file was deleted.

77 changes: 0 additions & 77 deletions reference-architectures/stackit-hub-spoke/buildingblock/README.md

This file was deleted.

This file was deleted.

Binary file not shown.
Loading
Loading