Skip to content

Commit

Permalink
fix(updates.jenkins.io): add updates-jenkins-io File Share (#446)
Browse files Browse the repository at this point in the history
Follow-up of #445 

Ref:
jenkins-infra/helpdesk#2649 (comment)

---------

Co-authored-by: Damien Duportal <[email protected]>
  • Loading branch information
lemeurherve and dduportal authored Aug 8, 2023
1 parent 6c7161a commit 4759c75
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions updates.jenkins.io.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ resource "azurerm_storage_account" "updates_jenkins_io" {
tags = local.default_tags
}

resource "azurerm_storage_share" "updates_jenkins_io" {
name = "updates-jenkins-io"
storage_account_name = azurerm_storage_account.updates_jenkins_io.name
quota = 2 # updates.jenkins.io total size in /www/updates.jenkins.io: 400Mo (Mid 2023)
}

output "updates_jenkins_io_storage_account_primary_access_key" {
sensitive = true
value = azurerm_storage_account.updates_jenkins_io.primary_access_key
Expand Down

0 comments on commit 4759c75

Please sign in to comment.