From 29732542eb07f89d4e1982412443fcbded5ff9fe Mon Sep 17 00:00:00 2001 From: Are Almaas Date: Fri, 22 Nov 2024 14:20:39 +0100 Subject: [PATCH] fix(azure): adjust SKU and storage for yt01 and prod --- .azure/infrastructure/prod.bicepparam | 1 - .azure/infrastructure/yt01.bicepparam | 1 - .azure/modules/postgreSql/create.bicep | 3 --- 3 files changed, 5 deletions(-) diff --git a/.azure/infrastructure/prod.bicepparam b/.azure/infrastructure/prod.bicepparam index f76c8e25a..2b0a624e7 100644 --- a/.azure/infrastructure/prod.bicepparam +++ b/.azure/infrastructure/prod.bicepparam @@ -37,7 +37,6 @@ param postgresConfiguration = { storage: { storageSizeGB: 256 autoGrow: 'Enabled' - tier: 'P15' type: 'Premium_LRS' } enableIndexTuning: false diff --git a/.azure/infrastructure/yt01.bicepparam b/.azure/infrastructure/yt01.bicepparam index 15f7aa1c7..d37a727da 100644 --- a/.azure/infrastructure/yt01.bicepparam +++ b/.azure/infrastructure/yt01.bicepparam @@ -37,7 +37,6 @@ param postgresConfiguration = { storage: { storageSizeGB: 256 autoGrow: 'Enabled' - tier: 'P15' type: 'Premium_LRS' } enableIndexTuning: true diff --git a/.azure/modules/postgreSql/create.bicep b/.azure/modules/postgreSql/create.bicep index 19ffd6237..0796ce9e0 100644 --- a/.azure/modules/postgreSql/create.bicep +++ b/.azure/modules/postgreSql/create.bicep @@ -38,8 +38,6 @@ type StorageConfiguration = { autoGrow: 'Enabled' | 'Disabled' @description('The type of storage account to use. Default is Premium_LRS.') type: 'Premium_LRS' | 'PremiumV2_LRS' - @description('Required when type is Premium_LRS or PremiumV2_LRS') - tier: 'P1' | 'P2' | 'P3' | 'P4' | 'P6' | 'P10' | 'P15' | 'P20' | 'P30' | 'P40' | 'P50' | 'P60' | 'P70' | 'P80' | null } @description('The storage configuration for the PostgreSQL server') @@ -112,7 +110,6 @@ resource postgres 'Microsoft.DBforPostgreSQL/flexibleServers@2024-08-01' = { storageSizeGB: storage.storageSizeGB autoGrow: storage.autoGrow type: storage.type - tier: storage.tier } dataEncryption: { type: 'SystemManaged'