import * as pulumi from "@pulumi/pulumi"; import * as random from "@pulumi/random"; export class AnotherComponent extends pulumi.ComponentResource { constructor(name: string, opts?: pulumi.ComponentResourceOptions) { super("components:index:AnotherComponent", name, {}, opts); const firstPassword = new random.RandomPassword(`${name}-firstPassword`, { length: 16, special: true, }, { parent: this, }); this.registerOutputs(); } }