Skip to content

Commit bd8a700

Browse files
committed
chore: adding subfolder to subaccount
Feature/sapbtp envs
1 parent de46fde commit bd8a700

File tree

2 files changed

+0
-17
lines changed

2 files changed

+0
-17
lines changed

modules/sapbtp/subaccounts/buildingblock/main.tf

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ locals {
1212
id = dir.id
1313
name = dir.name
1414
}
15-
#if dir.parent_id == var.parent_id
1615
]
1716

1817
selected_subfolder_id = try(
@@ -24,16 +23,6 @@ locals {
2423
)
2524
}
2625

27-
output "subfolders" {
28-
value = local.subfolders
29-
}
30-
31-
output "selected_subfolder_id" {
32-
value = local.selected_subfolder_id
33-
}
34-
35-
36-
3726
resource "btp_subaccount" "subaccount" {
3827
name = var.project_identifier
3928
subdomain = var.project_identifier

modules/sapbtp/subaccounts/buildingblock/variables.tf

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,6 @@ variable "subfolder" {
2424
description = "The subfolder to use for the SAP BTP resources. This is used to create a folder structure in the SAP BTP cockpit."
2525
}
2626

27-
#useless?
28-
variable "parent_id" {
29-
description = "The ID of the parent resource."
30-
type = string
31-
}
32-
3327
# note: these permissions are passed in from meshStack and automatically updated whenever something changes
3428
# atm. we are not using them inside this building block implementation, but they give us a trigger to often reconcile
3529
# the permissions

0 commit comments

Comments
 (0)