Skip to content

Commit

Permalink
Fix: Exporting availableRuntimes from the Stage definition for the Fu…
Browse files Browse the repository at this point in the history
…nctions infra tab
  • Loading branch information
christosarvanitis committed Oct 23, 2023
1 parent 217b753 commit 18e6f81
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 18e6f81

Please sign in to comment.