##################################
#         Common Variables       #
##################################

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  = "Global-DS"
    Owner          = "Dave Wenger"
    Project-Code   = "SME-GLOBAL-DS"
    Project-Name   = "Global-DS-MSK"
    OPS            = "STND"
    DATA           = "NORMAL"
    Environment    = "DEV"
    CLOPS_APPROVED = "True"

  }
}
variable "region" {
  description = "Default AWS region to use"
  type        = string
  default     = "eu-central-1"
}

variable "eu_ec2_tags" {
  description = "A map of tags to add to all resources"
  type        = map(string)

  default = {
    CLOPS_APPROVED = "YES"
    Terraform      = "True"
    Business-Unit  = "Global-DS"
    Environment    = "Dev"
    Owner          = "dave.wenger@sonymusic.com"
    Project-Code   = "SME-GLOBAL-DS"
    Project-Name   = "Global-DS-MSK"
    POC            = "Vamsikrishna.Gollapudi@sonymusic.com"
    OS             = "AL3"
    SERVER_TYPE    = "EC2"
    ME-Joined      = "NO"
    OPS            = "STND"
    DATA           = "NORMAL"
    "Patch Group"  = "General"
    REGION         = "EU-CENTRAL-1",
    CLOPS_FW       = "YES"
  }
}

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     = "global-ds"
}

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
  ]
}
