feat: init
Signed-off-by: Thorben Below <bjoern-thorben.below@capgemini.com>
This commit is contained in:
commit
1bbef102eb
4 changed files with 27 additions and 0 deletions
1
main.tf
Normal file
1
main.tf
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
# .keep
|
||||||
16
providers.tf
Normal file
16
providers.tf
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
terraform {
|
||||||
|
required_providers {
|
||||||
|
stackit = {
|
||||||
|
source = "stackitcloud/stackit"
|
||||||
|
version = "~> 0.66.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
provider "stackit" {
|
||||||
|
default_region = "eu01"
|
||||||
|
enable_beta_resources = true
|
||||||
|
service_account_token = var.stackit_service_account_token
|
||||||
|
experiments = ["iam"]
|
||||||
|
}
|
||||||
|
|
||||||
2
terraform.tfvars
Normal file
2
terraform.tfvars
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
stackit_project_id = ""
|
||||||
|
stackit_service_account_token = ""
|
||||||
8
variables.tf
Normal file
8
variables.tf
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
variable "stackit_service_account_token" {
|
||||||
|
sensitive = true
|
||||||
|
type = string
|
||||||
|
}
|
||||||
|
|
||||||
|
variable "stackit_project_id" {
|
||||||
|
type = string
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue