Skip to content
Open
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
3 changes: 1 addition & 2 deletions modules/stackit/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
name: STACKIT
description: meshStack integration with STACKIT automates project provisioning, governance, and cost tracking for your cloud workloads.
description: meshStack integration with STACKIT automates project provisioning, and governance for your cloud workloads.
category: european
benefits:
- Project Provisioning
- Role Assignment
- Cost Tracking
---

19 changes: 3 additions & 16 deletions modules/stackit/meshstack_integration.tf
Original file line number Diff line number Diff line change
Expand Up @@ -66,19 +66,6 @@ output "building_block_definition" {
}
}

resource "meshstack_platform_type" "stackit" {
metadata = {
name = "STACKIT"
owned_by_workspace = var.meshstack.owning_workspace_identifier
}

spec = {
display_name = "STACKIT"
default_endpoint = "https://portal.stackit.cloud"
icon = "data:image/png;base64,${filebase64("${path.module}/stackit.png")}"
}
}

resource "meshstack_platform" "stackit" {
metadata = {
name = var.meshstack.platform_identifier
Expand All @@ -87,7 +74,7 @@ resource "meshstack_platform" "stackit" {

spec = {
display_name = "STACKIT Project"
description = "STACKIT. Create a STACKIT project with role-based access control."
description = "Create a STACKIT project with role-based access control."
endpoint = "https://portal.stackit.cloud"

location_ref = {
Expand All @@ -102,7 +89,7 @@ resource "meshstack_platform" "stackit" {

config = {
custom = {
platform_type_ref = meshstack_platform_type.stackit.ref
platform_type_ref = { name = "STACKIT" }
}
}
}
Expand Down Expand Up @@ -148,7 +135,7 @@ resource "meshstack_building_block_definition" "this" {
support_url = "https://portal.stackit.cloud"
target_type = "TENANT_LEVEL"
run_transparency = true
supported_platforms = [meshstack_platform_type.stackit.ref]
supported_platforms = [{ name = "STACKIT" }]
}

version_spec = {
Expand Down
Loading