proud-alligator-5865
11/30/2023, 11:51 AMPublicNetworkAccess
field in the FlexibleServerArgs
struct that I'm using below, so I wanted to ask: what should I do in that scenario?
serverArgs := &postgresql.FlexibleServerArgs{
ResourceGroupName: resourceGroup.Name,
Location: resourceGroup.Location,
Version: pulumi.String("12"),
AdministratorLogin: pulumi.String(adminUser),
AdministratorPassword: conf.RequireSecret("databasePassword"),
StorageMb: pulumi.Int(32768),
SkuName: pulumi.String("GP_Standard_D4s_v3"),
Zone: pulumi.String("1"),
}
server, err := postgresql.NewFlexibleServer(ctx, serverName, serverArgs)
if err != nil {
return err
}
elegant-window-55250
11/30/2023, 12:00 PMelegant-window-55250
11/30/2023, 1:16 PM<https://www.pulumi.com/registry/packages/azure/api-docs/postgresql/server/#publicnetworkaccessenabled_go|PublicNetworkAccessEnabled>
and set that to false
?