Commit c31af0e 1 parent 5481c55 commit c31af0e Copy full SHA for c31af0e
File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -47,10 +47,10 @@ export async function handler(_argv: ReturnType<typeof builder>['argv']): Promis
47
47
for ( const resource of eitherHandler . right . resources ?? [ ] ) {
48
48
if ( 'dynamodb' in resource ) {
49
49
const _tableId = resource . dynamodb . tableId . replace ( / [ ^ a - z A - Z 0 - 9 ] + / g, '_' )
50
- constants [ camelcase ( `dynamodb_${ _tableId } ` ) ] = `STARCHART_ ${ _tableId . toUpperCase ( ) } _TABLE_NAME`
50
+ constants [ camelcase ( `dynamodb_${ _tableId } ` ) ] = `STARCHART_DYNAMODB_ ${ _tableId . toUpperCase ( ) } _TABLE_NAME`
51
51
} else if ( 's3' in resource ) {
52
52
const _bucketId = resource . s3 . bucketId . replace ( / [ ^ a - z A - Z 0 - 9 ] + / g, '_' )
53
- constants [ camelcase ( `s3_${ _bucketId } ` ) ] = `STARCHART_ ${ _bucketId . toUpperCase ( ) } _BUCKET_NAME`
53
+ constants [ camelcase ( `s3_${ _bucketId } ` ) ] = `STARCHART_S3_ ${ _bucketId . toUpperCase ( ) } _BUCKET_NAME`
54
54
}
55
55
56
56
// @todo add secrets and parameters
You can’t perform that action at this time.
0 commit comments