Commit 5feebcd8 authored by Adam Robinson's avatar Adam Robinson
Browse files

shorten michigan_medicine to mm

parent ff096047
......@@ -9,16 +9,16 @@ locals {
//its = ""
}
test = {
its = "folders/100600555387"
campus = "folders/549439339393"
michigan_medicine = "folders/783942636538"
hipaa = "folders/607376512236"
its = "folders/100600555387"
campus = "folders/549439339393"
mm = "folders/783942636538"
hipaa = "folders/607376512236"
}
prod = {
its = "folders/666809107084"
campus = "folders/1013928641872"
michigan_medicine = "folders/332243639992"
hipaa = "folders/293380204207"
its = "folders/666809107084"
campus = "folders/1013928641872"
mm = "folders/332243639992"
hipaa = "folders/293380204207"
}
}
master_billing_account_id = {
......
# terraform {
# required_providers {
# bluecat = {
# source = "umich-vci/bluecat"
# version = "0.1.0"
# }
# }
# }
# provider "bluecat" {
# bluecat_endpoint = "bluecat.umnet.umich.edu"
# }
locals {
short_mcomm = lower(replace(split("@", var.mcomm_group_email)[0],".","-"))
......
......@@ -5,11 +5,11 @@ variable "billing_id" {
variable "division" {
type = string
description = "Must be one of \"campus\",\"its\", \"michigan_medicine\", or \"hipaa\""
description = "Must be one of \"campus\",\"its\", \"mm\", or \"hipaa\""
validation {
condition = var.division == "campus" || var.division == "its" || var.division == "michigan_medicine" || var.division == "hipaa"
error_message = "The division value must be one of \"campus\",\"its\", \"michigan_medicine\", or \"hipaa\"."
condition = var.division == "campus" || var.division == "its" || var.division == "mm" || var.division == "hipaa"
error_message = "The division value must be one of \"campus\",\"its\", \"mm\", or \"hipaa\"."
}
}
......
......@@ -31,11 +31,11 @@ variable "environment" {
variable "division" {
type = string
description = "Must be one of \"campus\",\"its\", \"michigan_medicine\", or \"hipaa\""
description = "Must be one of \"campus\",\"its\", \"mm\", or \"hipaa\""
validation {
condition = var.division == "campus" || var.division == "its" || var.division == "michigan_medicine" || var.division == "hipaa"
error_message = "The division value must be one of \"campus\",\"its\", \"michigan_medicine\", or \"hipaa\"."
condition = var.division == "campus" || var.division == "its" || var.division == "mm" || var.division == "hipaa"
error_message = "The division value must be one of \"campus\",\"its\", \"mm\", or \"hipaa\"."
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment