Skip to content

Commit

Permalink
fix: ensure GuUserData supports multiple ASGs in a single stack
Browse files Browse the repository at this point in the history
  • Loading branch information
akash1810 committed Jan 26, 2023
1 parent e03539e commit 06c1f3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/constructs/autoscaling/user-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export class GuUserData {
private downloadDistributable(scope: GuStack, app: AppIdentity, props: GuDistributableForEc2) {
const bucketKey = GuDistributable.getObjectKey(scope, app, props);

const bucket = Bucket.fromBucketAttributes(scope, "DistributionBucket", {
const bucket = Bucket.fromBucketAttributes(scope, `DistributionBucket-${app.app}`, {
bucketName: GuDistributionBucketParameter.getInstance(scope).valueAsString,
});

Expand Down

0 comments on commit 06c1f3e

Please # to comment.