https://pulumi.com logo
#general
Title
# general
t

tall-beard-99429

08/10/2023, 1:46 PM
Copy code
const subnet_group = new aws.rds.SubnetGroup('RDS Subnet Group', {
        name: 'rds-subnet-group',
        subnetIds: network.privateSubnetIds,
        tags: {
            Name: 'rds-subnet-group',
        }
    }, {
        dependsOn: [network],
        provider: Provider(config.requireObject<AwsOrganizationConfiguration>('organization').name),
    });
works,
Copy code
const subnet_group = new aws.rds.SubnetGroup('RDS Subnet Group', {
        name: 'rds-subnet-group',
        subnetIds: network.privateSubnetIds,
        tags: {
            Name: 'rds-subnet-group',
        }
    }, {
        dependsOn: [network],
        parent: network,
        provider: Provider(config.requireObject<AwsOrganizationConfiguration>('organization').name),
    });
does not