Add provider.tf
Some checks are pending
Deploy Moodle to STACKIT Cloud Foundry / deploy (push) Waiting to run
Some checks are pending
Deploy Moodle to STACKIT Cloud Foundry / deploy (push) Waiting to run
This commit is contained in:
parent
be719a195d
commit
f5b9bafa29
1 changed files with 29 additions and 0 deletions
29
provider.tf
Normal file
29
provider.tf
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
terraform {
|
||||
required_providers {
|
||||
stackit = {
|
||||
source = "stackitcloud/stackit"
|
||||
version = ">= 0.16.0"
|
||||
}
|
||||
cloudfoundry = {
|
||||
source = "cloudfoundry-community/cloudfoundry"
|
||||
version = ">= 0.15.0"
|
||||
}
|
||||
local = {
|
||||
source = "hashicorp/local"
|
||||
version = ">= 2.4.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# STACKIT Provider mit Service Account authentifizieren
|
||||
provider "stackit" {
|
||||
service_account_email = var.stackit_service_account_email
|
||||
service_account_token = var.stackit_service_account_token
|
||||
}
|
||||
|
||||
# Cloud Foundry Provider Konfiguration
|
||||
provider "cloudfoundry" {
|
||||
api_url = "https://api.cf.eu01.stackit.cloud"
|
||||
user = var.cf_user
|
||||
password = var.cf_password
|
||||
}
|
||||
Loading…
Reference in a new issue