You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A fixed resource name causes a resource name collision when deploying 2 aws-kinesisfirehose-s3 constructs in the same stack.
Reproduction Steps
import * as cdk from 'aws-cdk-lib';
import { Construct } from 'constructs';
import { KinesisFirehoseToS3 } from '@aws-solutions-constructs/aws-kinesisfirehose-s3';
new KinesisFirehoseToS3(this, 'test-firehose-s3', {});
new KinesisFirehoseToS3(this, 'second-instance', {});
}
}
Error Log
(...)/node_modules/constructs/src/construct.ts:423
throw new Error(There is already a Construct with name '${childName}' in ${typeName}${name.length > 0 ? ' [' + name + ']' : ''});
^
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered:
A fixed resource name causes a resource name collision when deploying 2 aws-kinesisfirehose-s3 constructs in the same stack.
Reproduction Steps
import * as cdk from 'aws-cdk-lib';
import { Construct } from 'constructs';
import { KinesisFirehoseToS3 } from '@aws-solutions-constructs/aws-kinesisfirehose-s3';
export class FirehoseBugStack extends cdk.Stack {
constructor(scope: Construct, id: string, props?: cdk.StackProps) {
super(scope, id, props);
}
}
Error Log
(...)/node_modules/constructs/src/construct.ts:423
throw new Error(
There is already a Construct with name '${childName}' in ${typeName}${name.length > 0 ? ' [' + name + ']' : ''}
);^
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: