Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7122900
D7544.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
D7544.diff
View Options
diff --git a/azure/terraform/modules/gitlab/main.tf b/azure/terraform/modules/gitlab/main.tf
--- a/azure/terraform/modules/gitlab/main.tf
+++ b/azure/terraform/modules/gitlab/main.tf
@@ -44,7 +44,8 @@
}
resource "azurerm_storage_container" "gitlab_storage_container" {
- name = "gitlab-content"
+ count = length(var.blob_storage_containers)
+ name = var.blob_storage_containers[count.index]
storage_account_name = azurerm_storage_account.gitlab_storage.name
container_access_type = "private"
}
diff --git a/azure/terraform/modules/gitlab/variables.tf b/azure/terraform/modules/gitlab/variables.tf
--- a/azure/terraform/modules/gitlab/variables.tf
+++ b/azure/terraform/modules/gitlab/variables.tf
@@ -13,3 +13,12 @@
description = "Blob storage name. lower case, only letters and numbers"
type = string
}
+
+variable "blob_storage_containers" {
+ description = "Blob storage containers to create on the storage account"
+ type = list(string)
+ default = [
+ "artifacts", "registry", "external-diffs", "lfs-objects", "uploads",
+ "packages", "dependency-proxy", "terraform", "pages",
+ ]
+}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Dec 17, 10:33 AM (3 d, 7 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3222385
Attached To
D7544: gitlab: create a storage container per application
Event Timeline
Log In to Comment