HI all, I have this code to create an Azure postgr...
# azure
w
HI all, I have this code to create an Azure postgres flexible db server, but nothing gets created: ResourceGroupName = resourceGroup.Name, AdministratorLogin = "cloudsa", Version = "15", CreateMode = "Create", AdministratorLoginPassword = "password1!@@!!s", // this is not the real password, but I used one which is validated in the portal ServerName = "kinderworxhealthcheckpgs-dev", Sku = new Pulumi.AzureNative.DBforPostgreSQL.Inputs.SkuArgs { Name = "Standard_B1ms", Tier = "GeneralPurpose", }, HighAvailability = new Pulumi.AzureNative.DBforPostgreSQL.Inputs.HighAvailabilityArgs { Mode = "ZoneRedundant", }, Storage = new Pulumi.AzureNative.DBforPostgreSQL.Inputs.StorageArgs { StorageSizeGB = 32, },
m
Hi Gurdip, can you tell us what command(s) you’re running and what the output is?
w
Hi I got this to work with this code: var server = new Pulumi.AzureNative.DBforPostgreSQL.Server("server", new() { AdministratorLogin = "cloudsa", AdministratorLoginPassword = "password", AvailabilityZone = "1", Backup = new Pulumi.AzureNative.DBforPostgreSQL.Inputs.BackupArgs { BackupRetentionDays = 7, GeoRedundantBackup = "Disabled", }, CreateMode = "Create", Location = "uksouth", ResourceGroupName = resourceGroup.Name, ServerName = "kinderworxhealthcheckdbpgsql-dev", Sku = new Pulumi.AzureNative.DBforPostgreSQL.Inputs.SkuArgs { Name = "Standard_D4s_v3", Tier = "GeneralPurpose", }, Storage = new Pulumi.AzureNative.DBforPostgreSQL.Inputs.StorageArgs { StorageSizeGB = 512, }, Tags = { { "ElasticServer", "1" }, }, Version = "15", });