feat(scf): Add STACKIT Cloud Foundry (#991)
* onboard STACKIT Cloud Foundry resources/datasource
This commit is contained in:
parent
fcc7a99488
commit
a8e874699f
32 changed files with 3700 additions and 0 deletions
23
stackit/internal/services/scf/testdata/resource-max.tf
vendored
Normal file
23
stackit/internal/services/scf/testdata/resource-max.tf
vendored
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
|
||||
variable "project_id" {}
|
||||
variable "name" {}
|
||||
variable "quota_id" {}
|
||||
variable "suspended" {}
|
||||
variable "region" {}
|
||||
|
||||
resource "stackit_scf_organization" "org" {
|
||||
project_id = var.project_id
|
||||
name = var.name
|
||||
suspended = var.suspended
|
||||
quota_id = var.quota_id
|
||||
region = var.region
|
||||
}
|
||||
|
||||
resource "stackit_scf_organization_manager" "orgmanager" {
|
||||
project_id = var.project_id
|
||||
org_id = stackit_scf_organization.org.org_id
|
||||
}
|
||||
data "stackit_scf_platform" "scf_platform" {
|
||||
project_id = var.project_id
|
||||
platform_id = stackit_scf_organization.org.platform_id
|
||||
}
|
||||
13
stackit/internal/services/scf/testdata/resource-min.tf
vendored
Normal file
13
stackit/internal/services/scf/testdata/resource-min.tf
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
|
||||
variable "project_id" {}
|
||||
variable "name" {}
|
||||
|
||||
resource "stackit_scf_organization" "org" {
|
||||
project_id = var.project_id
|
||||
name = var.name
|
||||
}
|
||||
|
||||
resource "stackit_scf_organization_manager" "orgmanager" {
|
||||
project_id = var.project_id
|
||||
org_id = stackit_scf_organization.org.org_id
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue