brash-hairdresser-60389
03/11/2024, 10:04 PM...
const name = args.tag
? `sa-${args.name}-${args.tag.substring(0, 5)}`
: `sa-${args.name}`;
this.resourceSAst = new gcp.serviceaccount.Account(name, {
accountId: name,
displayName: `${args.name} ${args.tag} Service Account`,
});
this.resourceSAkey = new gcp.serviceaccount.Key(`sa-key-${args.name}`, {
serviceAccountId: this.resourceSAst.name,
publicKeyType: 'TYPE_X509_PEM_FILE',
});
this.privateKey = this.resourceSAkey.privateKey.apply<string>(
(val) =>
HERE --> JSON.parse(Buffer.from(val, 'base64').toString('utf8')).private_key,
);
...
The value of the application is undefined, with no errors and nothing.
Any idea? any help would be more than appreciatedNo matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by