Skip to content

Commit

Permalink
fix(lambda): available Runtimes shared between Deploy stage and Funct…
Browse files Browse the repository at this point in the history
…ions tab (#10050) (#10054)

* Fix: Exporting availableRuntimes from the Stage definition for the Functions infra tab

* Fixing formatting - prettier

(cherry picked from commit 889d769)

Co-authored-by: Christos Arvanitis <[email protected]>
  • Loading branch information
mergify[bot] and christosarvanitis committed Oct 24, 2023
1 parent 5ef9c10 commit 1813846
Showing 1 changed file with 1 addition and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,7 @@ import { s3BucketNameValidator } from '../../aws.validators';
import type { IAmazonFunction } from '../../domain';
import type { IAmazonFunctionUpsertCommand } from '../../index';

const availableRuntimes = [
'nodejs10.x',
'nodejs12.x',
'java8',
'java11',
'python2.7',
'python3.6',
'python3.7',
'python3.8',
'dotnetcore2.1',
'dotnetcore3.1',
'go1.x',
'ruby2.5',
'ruby2.7',
'provided',
];
import { availableRuntimes } from '../../pipeline/stages/deployLambda/components/function.constants';

export interface IFunctionProps {
app: Application;
Expand Down

0 comments on commit 1813846

Please sign in to comment.