Skip to content

Commit

Permalink
chore: resolver use beta version for test run
Browse files Browse the repository at this point in the history
  • Loading branch information
p5quared committed Oct 1, 2024
1 parent f0adbce commit 2f45612
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 SQLBetaLayerManifestBucket = `${SQLLayerManifestBucket}-beta`;
const key = Fn.join('', [SQLLayerVersionManifestKeyPrefix, Fn.ref('AWS::Region')]);

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

const resourceName = resourceNames.sqlLayerVersionResolverCustomResource;

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

0 comments on commit 2f45612

Please sign in to comment.