##################################
#         Common Variables       #
##################################
variable "aws_region" {
  description = "AWS Region to deploy resources in"
  default     = "eu-central-1"
}
variable "common_tags" {
  description = "Common Tags for EC2 and can be used for other resources as well"
  type        = map(string)
  default = {
    Terraform     = "True"
    Business-Unit = "SME-DX3"
    Owner         = "Christian Seitz"
    Project-Code  = "SME-2000-0306K"
    Project-Name  = "STARS-PROD"
    OPS           = "DX3"
    DATA          = "NORMAL"
  }
}

variable "cloudops_firewall_protected_tag" {
  description = "Used to tag an EC2 instance as being protected by a firewall, either Network Firewall or PaloAlto"
  type        = map(string)

  default = {
    CLOPS_FW = "YES"
  }
}

variable "environment" {
  description = "Environment name"
  default     = "dev"
}

variable "account_group" {
  description = "The name of the account group that the account belongs to"
  default     = "dx"
}

variable "resource_share_principals" {
  type        = set(string)
  description = "List of principals to share resources with using RAM"
  default = [
    "arn:aws:organizations::970903126758:ou/o-bqioddgr91/ou-ax9e-vu43qt3i", # The Orchard OU
    "arn:aws:organizations::970903126758:ou/o-bqioddgr91/ou-ax9e-ouayejxi", # Data Strategy aka GDB OU
  ]
}
