Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9311841
D8645.id31223.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
D8645.id31223.diff
View Options
diff --git a/azure/terraform/gitlab.tf b/azure/terraform/gitlab.tf
--- a/azure/terraform/gitlab.tf
+++ b/azure/terraform/gitlab.tf
@@ -3,15 +3,27 @@
# The cluster is deployed in its own resource group
# suffixed by the environment
-# module "gitlab-production" {
-# source = "./modules/gitlab"
-# name = "euwest-gitlab-production"
-# }
+#######
+# Production instance
+#######
+module "gitlab-production" {
+ source = "./modules/gitlab"
+ name = "euwest-gitlab-production"
+ blob_storage_name = "swheuwestgitlabprod" #can only consist of lowercase letters and numbers, and must be between 3 and 24 characters long
+}
+
+output "gitlab-production_aks_summary" {
+ value = module.gitlab-production.aks_summary
+}
-# output "gitlab-production_summary" {
-# value = module.gitlab-production.summary
-# }
+output "gitlab-production_storage_summary" {
+ value = module.gitlab-production.blob_storage_summary
+ sensitive = true
+}
+#######
+# Staging instance
+#######
module "gitlab-staging" {
source = "./modules/gitlab"
name = "euwest-gitlab-staging"
diff --git a/azure/terraform/modules/kubernetes/main.tf b/azure/terraform/modules/kubernetes/main.tf
--- a/azure/terraform/modules/kubernetes/main.tf
+++ b/azure/terraform/modules/kubernetes/main.tf
@@ -57,4 +57,5 @@
location = data.azurerm_resource_group.aks_rg.location
allocation_method = "Static"
sku = "Standard"
+ zones = ["1", "2", "3"]
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jul 2, 10:34 AM (2 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3216052
Attached To
D8645: azure: create the production environment for gitlab
Event Timeline
Log In to Comment