Empty structure

CD_ASBC-B2VAUTH
Patryk Gudalewicz 2022-12-31 13:52:11 +01:00
commit ac8c3807cf
17 changed files with 234 additions and 0 deletions

42
.gitignore vendored Normal file
View File

@ -0,0 +1,42 @@
# Local .terraform directories
**/.terraform/*
# .tfstate files
*.tfstate
*.tfstate.*
#lockfiles
*.terraform.lock*
# Crash log files
crash.log
crash.*.log
# Exclude all .tfvars files, which are likely to contain sentitive data, such as
# password, private keys, and other secrets. These should not be part of version
# control as they are data points which are potentially sensitive and subject
# to change depending on the environment.
#
*.tfvars
# Ignore override files as they are usually used to override resources locally and so
# are not checked in
override.tf
override.tf.json
*_override.tf
*_override.tf.json
# Include override files you do wish to add to version control using negated pattern
#
# !example_override.tf
# Include tfplan files to ignore the plan output of command: terraform plan -out=tfplan
# example: *tfplan*
# Ignore CLI configuration files
.terraformrc
terraform.rc
.DS_Store
SLO.xcworkspace/contents.xcworkspacedata
SLO.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
SLO.xcworkspace/xcuserdata/q281667.xcuserdatad/UserInterfaceState.xcuserstate

12
CN_PREPROD/main.tf Normal file
View File

@ -0,0 +1,12 @@
module "management_zone" {
source = "./management_zone"
}
module "alerting" {
source = "./alerting"
depends_on = [module.management_zone]
}
module "dashboard" {
source = "./dashboard"
depends_on = [module.management_zone]
}

20
CN_PREPROD/providers.tf Normal file
View File

@ -0,0 +1,20 @@
terraform {
required_providers {
dynatrace = {
version = "1.14.1"
source = "dynatrace-oss/dynatrace"
}
}
}
variable "DYNATRACE_CNPREPROD_ENV_URL" {
type = string
description = "URL of Dynatrace environment"
}
variable "DYNATRACE_CNPREPROD_API_TOKEN" {
type = string
description = "API token for Dynatrace environment"
}
provider "dynatrace" {
dt_env_url = "${var.DYNATRACE_CNPREPROD_ENV_URL}"
dt_api_token = "${var.DYNATRACE_CNPREPROD_API_TOKEN}"
}

12
CN_PROD/main.tf Normal file
View File

@ -0,0 +1,12 @@
module "management_zone" {
source = "./management_zone"
}
module "alerting" {
source = "./alerting"
depends_on = [module.management_zone]
}
module "dashboard" {
source = "./dashboard"
depends_on = [module.management_zone]
}

20
CN_PROD/providers.tf Normal file
View File

@ -0,0 +1,20 @@
terraform {
required_providers {
dynatrace = {
version = "1.14.1"
source = "dynatrace-oss/dynatrace"
}
}
}
variable "DYNATRACE_CNPROD_ENV_URL" {
type = string
description = "URL of Dynatrace environment"
}
variable "DYNATRACE_CNPROD_API_TOKEN" {
type = string
description = "API token for Dynatrace environment"
}
provider "dynatrace" {
dt_env_url = "${var.DYNATRACE_CNPROD_ENV_URL}"
dt_api_token = "${var.DYNATRACE_CNPROD_API_TOKEN}"
}

12
EMEA_PREPROD/main.tf Normal file
View File

@ -0,0 +1,12 @@
module "management_zone" {
source = "./management_zone"
}
module "alerting" {
source = "./alerting"
depends_on = [module.management_zone]
}
module "dashboard" {
source = "./dashboard"
depends_on = [module.management_zone]
}

20
EMEA_PREPROD/providers.tf Normal file
View File

@ -0,0 +1,20 @@
terraform {
required_providers {
dynatrace = {
version = "1.14.1"
source = "dynatrace-oss/dynatrace"
}
}
}
variable "DYNATRACE_EMEAPREPROD_ENV_URL" {
type = string
description = "URL of Dynatrace environment"
}
variable "DYNATRACE_EMEAPREPROD_API_TOKEN" {
type = string
description = "API token for Dynatrace environment"
}
provider "dynatrace" {
dt_env_url = "${var.DYNATRACE_EMEAPREPROD_ENV_URL}"
dt_api_token = "${var.DYNATRACE_EMEAPREPROD_API_TOKEN}"
}

12
EMEA_PROD/main.tf Normal file
View File

@ -0,0 +1,12 @@
module "management_zone" {
source = "./management_zone"
}
module "alerting" {
source = "./alerting"
depends_on = [module.management_zone]
}
module "dashboard" {
source = "./dashboard"
depends_on = [module.management_zone]
}

20
EMEA_PROD/providers.tf Normal file
View File

@ -0,0 +1,20 @@
terraform {
required_providers {
dynatrace = {
version = "1.14.1"
source = "dynatrace-oss/dynatrace"
}
}
}
variable "DYNATRACE_EMEAPROD_ENV_URL" {
type = string
description = "URL of Dynatrace environment"
}
variable "DYNATRACE_EMEAPROD_API_TOKEN" {
type = string
description = "API token for Dynatrace environment"
}
provider "dynatrace" {
dt_env_url = "${var.DYNATRACE_EMEAPROD_ENV_URL}"
dt_api_token = "${var.DYNATRACE_EMEAPROD_API_TOKEN}"
}

12
NA_PREPROD/main.tf Normal file
View File

@ -0,0 +1,12 @@
module "management_zone" {
source = "./management_zone"
}
module "alerting" {
source = "./alerting"
depends_on = [module.management_zone]
}
module "dashboard" {
source = "./dashboard"
depends_on = [module.management_zone]
}

20
NA_PREPROD/providers.tf Normal file
View File

@ -0,0 +1,20 @@
terraform {
required_providers {
dynatrace = {
version = "1.14.1"
source = "dynatrace-oss/dynatrace"
}
}
}
variable "DYNATRACE_NAPREPROD_ENV_URL" {
type = string
description = "URL of Dynatrace environment"
}
variable "DYNATRACE_NAPREPROD_API_TOKEN" {
type = string
description = "API token for Dynatrace environment"
}
provider "dynatrace" {
dt_env_url = "${var.DYNATRACE_NAPREPROD_ENV_URL}"
dt_api_token = "${var.DYNATRACE_NAPREPROD_API_TOKEN}"
}

12
NA_PROD/main.tf Normal file
View File

@ -0,0 +1,12 @@
module "management_zone" {
source = "./management_zone"
}
module "alerting" {
source = "./alerting"
depends_on = [module.management_zone]
}
module "dashboard" {
source = "./dashboard"
depends_on = [module.management_zone]
}

20
NA_PROD/providers.tf Normal file
View File

@ -0,0 +1,20 @@
terraform {
required_providers {
dynatrace = {
version = "1.14.1"
source = "dynatrace-oss/dynatrace"
}
}
}
variable "DYNATRACE_NAPROD_ENV_URL" {
type = string
description = "URL of Dynatrace environment"
}
variable "DYNATRACE_NAPROD_API_TOKEN" {
type = string
description = "API token for Dynatrace environment"
}
provider "dynatrace" {
dt_env_url = "${var.DYNATRACE_NAPROD_ENV_URL}"
dt_api_token = "${var.DYNATRACE_NAPROD_API_TOKEN}"
}

View File

View File

View File

0
environments.yaml Normal file
View File