mirror of https://github.com/jenkins-infra/azure
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
845 B
30 lines
845 B
## This file contains the resources associated to the buckets used to store private and public reports
|
|
resource "azurerm_resource_group" "prod_reports" {
|
|
name = "prod-reports"
|
|
location = var.location
|
|
|
|
tags = {
|
|
scope = "terraform-managed"
|
|
}
|
|
}
|
|
|
|
resource "azurerm_storage_account" "prodjenkinsreports" {
|
|
name = "prodjenkinsreports"
|
|
resource_group_name = azurerm_resource_group.prod_reports.name
|
|
location = azurerm_resource_group.prod_reports.location
|
|
account_tier = "Standard"
|
|
account_replication_type = "GRS"
|
|
account_kind = "Storage"
|
|
enable_https_traffic_only = true
|
|
min_tls_version = "TLS1_2"
|
|
|
|
custom_domain {
|
|
name = "reports.jenkins.io"
|
|
use_subdomain = false
|
|
}
|
|
|
|
tags = {
|
|
scope = "terraform-managed"
|
|
}
|
|
}
|