Skip to content

Commit

Permalink
chore: enable beta for test (drop me)
Browse files Browse the repository at this point in the history
  • Loading branch information
p5quared committed Oct 1, 2024
1 parent ead5e20 commit 9d796c6
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,10 @@ export const createLayerVersionCustomResource = (
): AwsCustomResource => {
const { SQLLayerManifestBucket, SQLLayerManifestBucketRegion, SQLLayerVersionManifestKeyPrefix } = ResourceConstants.RESOURCES;

const betaBucket = `${SQLLayerManifestBucket}-beta`;
const key = Fn.join('', [SQLLayerVersionManifestKeyPrefix, Fn.ref('AWS::Region')]);

const manifestArn = `arn:aws:s3:::${SQLLayerManifestBucket}/${key}`;
const manifestArn = `arn:aws:s3:::${betaBucket}/${key}`;

const resourceName = resourceNames.sqlLayerVersionResolverCustomResource;

Expand All @@ -226,7 +227,7 @@ export const createLayerVersionCustomResource = (
action: 'getObject',
region: SQLLayerManifestBucketRegion,
parameters: {
Bucket: SQLLayerManifestBucket,
Bucket: betaBucket,
Key: key,
},
physicalResourceId,
Expand Down

0 comments on commit 9d796c6

Please sign in to comment.