Skip to content

Commit

Permalink
chore: Updated integration fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
Danwakeem committed Jul 10, 2023
1 parent 47e299e commit 2cd6e61
Show file tree
Hide file tree
Showing 46 changed files with 48 additions and 48 deletions.
Expand Up @@ -3,7 +3,7 @@ service: hello-world # Service Name

provider:
name: aws
runtime: nodejs12.x
runtime: nodejs16.x

functions:
helloWorld:
Expand Down
Expand Up @@ -12,7 +12,7 @@ plugins:

provider:
name: aws
runtime: nodejs12.x
runtime: nodejs16.x
lambdaHashingVersion: 20201221

custom:
Expand Down
Expand Up @@ -22,7 +22,7 @@ frameworkVersion: '2'

provider:
name: aws
runtime: nodejs12.x
runtime: nodejs16.x
lambdaHashingVersion: 20201221

# you can overwrite defaults here
Expand Down
Expand Up @@ -22,7 +22,7 @@ frameworkVersion: '2'

provider:
name: aws
runtime: nodejs12.x
runtime: nodejs16.x
lambdaHashingVersion: 20201221

# you can overwrite defaults here
Expand Down
Expand Up @@ -11,7 +11,7 @@ plugins:

provider:
name: aws
runtime: nodejs12.x
runtime: nodejs16.x
lambdaHashingVersion: 20201221

functions:
Expand Down
2 changes: 1 addition & 1 deletion lib/plugins/create/templates/aws-nodejs/serverless.yml
Expand Up @@ -22,7 +22,7 @@ frameworkVersion: '2'

provider:
name: aws
runtime: nodejs12.x
runtime: nodejs16.x
lambdaHashingVersion: 20201221

# you can overwrite defaults here
Expand Down
2 changes: 1 addition & 1 deletion lib/plugins/create/templates/hello-world/serverless.yml
Expand Up @@ -12,7 +12,7 @@ frameworkVersion: '2'
# The `provider` block defines where your service will be deployed
provider:
name: aws
runtime: nodejs12.x
runtime: nodejs16.x

# The `functions` block defines what code to deploy
functions:
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/cli/variables/serverless.yml
Expand Up @@ -5,7 +5,7 @@ variablesResolutionMode: 20210326

provider:
name: aws
runtime: nodejs12.x
runtime: nodejs16.x

custom:
importedFile: ${file(config.json)}
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/programmatic/apiGateway/serverless.yml
Expand Up @@ -6,7 +6,7 @@ frameworkVersion: '*'
provider:
name: aws
lambdaHashingVersion: 20201221
runtime: nodejs12.x
runtime: nodejs16.x
apiGateway:
shouldStartNameWithService: true

Expand Down
Expand Up @@ -5,7 +5,7 @@ frameworkVersion: '*'

provider:
name: aws
runtime: nodejs12.x
runtime: nodejs16.x
versionFunctions: false
apiGateway:
shouldStartNameWithService: true
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/programmatic/checkForChanges/serverless.yml
Expand Up @@ -5,7 +5,7 @@ frameworkVersion: '*'

provider:
name: aws
runtime: nodejs12.x
runtime: nodejs16.x
lambdaHashingVersion: 20201221

functions:
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/programmatic/cognitoUserPool/serverless.yml
Expand Up @@ -4,7 +4,7 @@ configValidationMode: error

provider:
name: aws
runtime: nodejs12.x
runtime: nodejs16.x
versionFunctions: false

functions:
Expand Down
Expand Up @@ -2,7 +2,7 @@ service: configSchemaExtensionsError

provider:
name: someProvider
runtime: nodejs12.x
runtime: nodejs16.x

configValidationMode: error
frameworkVersion: '*'
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/programmatic/ecr/serverless.yml
Expand Up @@ -5,7 +5,7 @@ frameworkVersion: '*'

provider:
name: aws
runtime: nodejs12.x
runtime: nodejs16.x
ecr:
images:
baseimage:
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/programmatic/eventBridge/serverless.yml
Expand Up @@ -4,7 +4,7 @@ configValidationMode: error

provider:
name: aws
runtime: nodejs12.x
runtime: nodejs16.x
versionFunctions: false

functions:
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/programmatic/function/serverless.yml
Expand Up @@ -5,7 +5,7 @@ frameworkVersion: '*'

provider:
name: aws
runtime: nodejs12.x
runtime: nodejs16.x
lambdaHashingVersion: 20201221

functions:
Expand Down
Expand Up @@ -5,7 +5,7 @@ frameworkVersion: '*'

provider:
name: aws
runtime: nodejs12.x
runtime: nodejs16.x
lambdaHashingVersion: 20201221

functions:
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/programmatic/functionEfs/serverless.yml
Expand Up @@ -7,7 +7,7 @@ configValidationMode: error

provider:
name: aws
runtime: nodejs12.x
runtime: nodejs16.x
versionFunctions: false

functions:
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/programmatic/functionLayers/serverless.yml
@@ -1,7 +1,7 @@
service: service
provider:
name: aws
runtime: nodejs12.x
runtime: nodejs16.x
lambdaHashingVersion: 20201221

layers:
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/programmatic/functionMsk/serverless.yml
Expand Up @@ -8,7 +8,7 @@ frameworkVersion: '*'

provider:
name: aws
runtime: nodejs12.x
runtime: nodejs16.x
versionFunctions: false

functions:
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/programmatic/httpApi/serverless.yml
Expand Up @@ -5,7 +5,7 @@ frameworkVersion: '*'

provider:
name: aws
runtime: nodejs12.x
runtime: nodejs16.x
logRetentionInDays: 14
lambdaHashingVersion: 20201221

Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/programmatic/httpApiCatchAll/serverless.yml
Expand Up @@ -5,7 +5,7 @@ frameworkVersion: '*'

provider:
name: aws
runtime: nodejs12.x
runtime: nodejs16.x
lambdaHashingVersion: 20201221

functions:
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/programmatic/httpApiExport/serverless.yml
Expand Up @@ -5,7 +5,7 @@ frameworkVersion: '*'

provider:
name: aws
runtime: nodejs12.x
runtime: nodejs16.x
lambdaHashingVersion: 20201221

resources:
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/programmatic/invocation/serverless.yml
Expand Up @@ -5,7 +5,7 @@ frameworkVersion: '*'

provider:
name: aws
runtime: nodejs12.x
runtime: nodejs16.x
lambdaHashingVersion: 20201221

functions:
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/programmatic/iot/serverless.yml
Expand Up @@ -4,7 +4,7 @@ configValidationMode: error

provider:
name: aws
runtime: nodejs12.x
runtime: nodejs16.x
versionFunctions: false

functions:
Expand Down
Expand Up @@ -5,7 +5,7 @@ frameworkVersion: '*'

provider:
name: aws
runtime: nodejs12.x
runtime: nodejs16.x
versionFunctions: false

functions:
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/programmatic/layer/serverless.yml
Expand Up @@ -5,7 +5,7 @@ frameworkVersion: '*'

provider:
name: aws
runtime: nodejs12.x
runtime: nodejs16.x
lambdaHashingVersion: 20201221

functions:
Expand Down
Expand Up @@ -5,7 +5,7 @@ frameworkVersion: '*'

provider:
name: aws
runtime: nodejs12.x
runtime: nodejs16.x
lambdaHashingVersion: 20201221

custom:
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/programmatic/packageArtifact/serverless.yml
Expand Up @@ -5,7 +5,7 @@ frameworkVersion: '*'

provider:
name: aws
runtime: nodejs12.x
runtime: nodejs16.x
lambdaHashingVersion: 20201221

package:
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/programmatic/packaging/serverless.yml
Expand Up @@ -6,7 +6,7 @@ disabledDeprecations: LOAD_VARIABLES_FROM_ENV_FILES

provider:
name: aws
runtime: nodejs12.x
runtime: nodejs16.x
lambdaHashingVersion: 20201221

functions:
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/programmatic/plugin/serverless.yml
Expand Up @@ -5,7 +5,7 @@ frameworkVersion: '*'

provider:
name: aws
runtime: nodejs12.x
runtime: nodejs16.x
lambdaHashingVersion: 20201221

plugins:
Expand Down
Expand Up @@ -4,7 +4,7 @@ configValidationMode: error

provider:
name: aws
runtime: nodejs12.x
runtime: nodejs16.x
versionFunctions: false

functions:
Expand Down
Expand Up @@ -2,7 +2,7 @@ service: service

provider:
name: aws
runtime: nodejs12.x
runtime: nodejs16.x
lambdaHashingVersion: 20201221

functions:
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/programmatic/requestSchema/serverless.yml
Expand Up @@ -3,7 +3,7 @@ disabledDeprecations: AWS_API_GATEWAY_SCHEMAS

provider:
name: aws
runtime: nodejs12.x
runtime: nodejs16.x
lambdaHashingVersion: 20201221
apiGateway:
request:
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/programmatic/s3/serverless.yml
Expand Up @@ -4,7 +4,7 @@ configValidationMode: error

provider:
name: aws
runtime: nodejs12.x
runtime: nodejs16.x
versionFunctions: false
s3:
customBucket:
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/programmatic/schedule/serverless.yml
Expand Up @@ -4,7 +4,7 @@ configValidationMode: error

provider:
name: aws
runtime: nodejs12.x
runtime: nodejs16.x
versionFunctions: false

functions:
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/programmatic/sns/serverless.yml
Expand Up @@ -4,7 +4,7 @@ configValidationMode: error

provider:
name: aws
runtime: nodejs12.x
runtime: nodejs16.x
versionFunctions: false

functions:
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/programmatic/sqs/serverless.yml
Expand Up @@ -4,7 +4,7 @@ configValidationMode: error

provider:
name: aws
runtime: nodejs12.x
runtime: nodejs16.x
versionFunctions: false

functions:
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/programmatic/stream/serverless.yml
Expand Up @@ -4,7 +4,7 @@ configValidationMode: error

provider:
name: aws
runtime: nodejs12.x
runtime: nodejs16.x
versionFunctions: false

functions:
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/programmatic/variables-legacy/serverless.yml
Expand Up @@ -2,7 +2,7 @@ service: service

provider:
name: aws
runtime: nodejs12.x
runtime: nodejs16.x

custom:
importedFile: ${file(config.json)}
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/programmatic/websocket/serverless.yml
Expand Up @@ -4,7 +4,7 @@ configValidationMode: error

provider:
name: aws
runtime: nodejs12.x
runtime: nodejs16.x
versionFunctions: false
logs:
websocket: true
Expand Down
6 changes: 3 additions & 3 deletions test/integrationPackage/cloudformation.tests.js
Expand Up @@ -44,7 +44,7 @@ describe('Integration test - Packaging - CloudFormation', () => {
Role: {
'Fn::GetAtt': ['IamRoleLambdaExecution', 'Arn'],
},
Runtime: 'nodejs12.x',
Runtime: 'nodejs16.x',
Timeout: 6,
},
DependsOn: ['HelloLogGroup'],
Expand Down Expand Up @@ -75,7 +75,7 @@ describe('Integration test - Packaging - CloudFormation', () => {
Role: {
'Fn::GetAtt': ['IamRoleLambdaExecution', 'Arn'],
},
Runtime: 'nodejs12.x',
Runtime: 'nodejs16.x',
Timeout: 6,
},
DependsOn: ['HelloLogGroup'],
Expand Down Expand Up @@ -109,7 +109,7 @@ describe('Integration test - Packaging - CloudFormation', () => {
Role: {
'Fn::GetAtt': ['IamRoleLambdaExecution', 'Arn'],
},
Runtime: 'nodejs12.x',
Runtime: 'nodejs16.x',
Timeout: 6,
},
DependsOn: ['HelloLogGroup'],
Expand Down

0 comments on commit 2cd6e61

Please sign in to comment.