Skip to content

Commit

Permalink
Merge pull request #178 from usegalaxy-eu/add_it_subdomains
Browse files Browse the repository at this point in the history
Add GxIT subdomains
  • Loading branch information
sanjaysrikakulam authored Jan 4, 2024
2 parents ac2c05b + a1a38e9 commit 01148fd
Showing 1 changed file with 45 additions and 10 deletions.
55 changes: 45 additions & 10 deletions dns.tf
Original file line number Diff line number Diff line change
Expand Up @@ -237,16 +237,51 @@ resource "aws_route53_record" "ftp" {
# records = ["usegalaxy.eu"]
#}
#
#resource "aws_route53_record" "it-subdomain-main" {
# zone_id = var.zone_usegalaxy_eu
#
# # Guess new domains won't get this for now, but whatever.
# count = 23
# name = "*.interactivetoolentrypoint.interactivetool.${element(var.subdomain, count.index)}"
# type = "CNAME"
# ttl = "7200"
# records = ["usegalaxy.eu"]
#}

# If your subdomain needs GxIT privileges please place your subdomain at the end of the list and increase the counter `count` in the `it-subdomain-main` resource
variable "it-subdomain" {
type = list(string)

default = [
"annotation.usegalaxy.eu",
"aqua.usegalaxy.eu",
"beta.usegalaxy.eu",
"build.usegalaxy.eu",
"cheminformatics.usegalaxy.eu",
"climate.usegalaxy.eu",
"clipseq.usegalaxy.eu",
"ecology.usegalaxy.eu",
"erasmusmc.usegalaxy.eu",
"graphclust.usegalaxy.eu",
"hicexplorer.usegalaxy.eu",
"humancellatlas.usegalaxy.eu",
"imaging.usegalaxy.eu",
"usegalaxy.eu",
"test.internal.usegalaxy.eu",
"live.usegalaxy.eu",
"metabolomics.usegalaxy.eu",
"metagenomics.usegalaxy.eu",
"nanopore.usegalaxy.eu",
"proteomics.usegalaxy.eu",
"rna.usegalaxy.eu",
"singlecell.usegalaxy.eu",
"stats.usegalaxy.eu",
"streetscience.usegalaxy.eu",
"test.usegalaxy.eu",
"earth-system.usegalaxy.eu"
]
}

resource "aws_route53_record" "it-subdomain-main" {
# allow_overwrite = true
zone_id = var.zone_usegalaxy_eu
count = 26
name = "*.interactivetoolentrypoint.interactivetool.${element(var.it-subdomain, count.index)}"
type = "CNAME"
ttl = "7200"
records = ["usegalaxy.eu"]
}

#
## https://727a121642ce1f94-3a20d7fa7b014959af58c7f6a47d1af.interactivetoolentrypoint.interactivetool.test.internal.usegalaxy.eu/
##resource "aws_route53_record" "it-subdomain-test" {
Expand Down

0 comments on commit 01148fd

Please sign in to comment.