variable "account_name" {
  description = "Name of the AWS account"
  type        = string
  default     = "sme-media-conversion-dev"
}

variable "account_id" {
  description = "AWS Account Number of sme-media-conversion-dev"
  type        = string
  default     = "104858398257"
}

variable "region" {
  description = "Name of the region"
  type        = string
  default     = "eu-central-1"
}

variable "assume_role" {
  description = "The role used for infra changes"
  type        = string
  default     = "arn:aws:iam::104858398257:role/AnsibleAWSServiceAccess-MCON-D"
}

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

  default = {
    "CLOPS_APPROVED" = "YES"
    "Terraform"      = "True"
    "Business-Unit"  = "Media Conversion"
    "Environment"    = "Dev"
    "Owner"          = "mandar.padsalgikar@sonymusic.com"
    "Project-Name"   = "MCON"
    "DATA"           = "NORMAL"
    "OPS"            = "STND"
    "OS"             = "AL2"
    "Patch Group"    = "General"
    "Project-Code"   = "SME-2000-0306C"
    "SERVER_TYPE"    = "EC2"
  }
}

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

  default = {
    "CLOPS_APPROVED" = "YES"
    "Terraform"      = "True"
    "Business-Unit"  = "Media Conversion"
    "Environment"    = "Dev"
    "Owner"          = "mandar.padsalgikar@sonymusic.com"
    "Project-Name"   = "MCON"
    "DATA"           = "NORMAL"
    "OPS"            = "STND"
    "OS"             = "AL2"
    "Patch Group"    = "General"
    "Project-Code"   = "SME-2000-0306C"
    "SERVER_TYPE"    = "EC2"
  }
}


variable "batch-tags" {
  description = "Common Tags for EC2 and can be used for other resources as well"
  type        = map(string)
  default = {
    Terraform      = "True"
    Business-Unit  = "AOMA-Conversion"
    Owner          = "Mandar Padsalgikar"
    Project-Code   = "SME-2000-0306C"
    Project-Name   = "Media-Conversion"
    OPS            = "STND"
    DATA           = "NORMAL"
    SERVER_TYPE    = "BATCH"
    OS             = "AL3"
    Environment    = "STAGE"
    CLOPS_APPROVED = "YES"
  }
}
variable "environment" {
  description = "Environment name"
  default     = "stage"
}

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

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