This message was deleted.
# typescript
s
This message was deleted.
💯 1
e
I've verified pulumi-resource-aiven exists.
Here is my file:
import * as pulumi from '@pulumi/pulumi';
import * as aiven from '@pulumi/aiven';
import * as random from '@pulumi/random';
interface Postgres {
plan: string;
cloudName: string;
}
const config = new pulumi.Config('aiven');
const postgresConfig = config.requireObject<Postgres>('postgres');
export const service = new aiven.Service('postgres', {
project: 'ware2go',
cloudName: postgresConfig.cloudName,
plan: postgresConfig.plan,
`serviceName:
${pulumi.getStack()}-postgres
,`
serviceType: 'postgres',
pgUserConfig: {
adminUsername: 'master',
adminPassword: new random.RandomPassword('postgresAdminPassword', {
length: 20,
special: true,
overrideSpecial: '/@',
}).result,
},
});
w
Cc @broad-dog-22463.
b
@elegant-shampoo-65690 can you open an issue in the repo and tag me in it with that code?
I can then look at what the problem is
e
yep will do - thanks!
b
Sorry about that :(
e
Appreciate the help! Here is the issue: https://github.com/pulumi/pulumi-aiven/issues/9
b
Thanks! I will look into it ASAP
seems related
b
@elegant-shampoo-65690 are you around atm?
e
Hey @broad-dog-22463 - I'm available now