https://pulumi.com logo
Title
b

bored-spoon-83710

08/24/2021, 8:45 AM
Hello, I’m using
<http://github.com/pulumi/pulumi-azure-native/sdk/go/azure/dbforpostgresql/v20210601preview|github.com/pulumi/pulumi-azure-native/sdk/go/azure/dbforpostgresql/v20210601preview>
to create a PostgreSQL Flexible server, but I can’t find how to create a database (like this Terraform resource https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/postgresql_flexible_server_database). Is it something that will be generated from the API like the rest of the resources or is it something that should be manually added (like for configuration in https://github.com/pulumi/pulumi-azure-native/pull/727)?
t

tall-librarian-49374

08/24/2021, 9:01 AM
I believe you can use
v20210601
for that (same what the TF provider uses)
b

bored-spoon-83710

08/24/2021, 9:19 AM
Yes, that’s what I’ve just seen too, thanks 😉
But I can’t make it to work though 😕