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.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ service: hello-world # Service Name

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

functions:
helloWorld:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ plugins:

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

custom:
Expand Down
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ frameworkVersion: '*'
provider:
name: aws
lambdaHashingVersion: 20201221
runtime: nodejs12.x
runtime: nodejs16.x
apiGateway:
shouldStartNameWithService: true

Expand Down
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ configValidationMode: error

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

functions:
Expand Down
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ frameworkVersion: '*'

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

functions:
Expand Down
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ configValidationMode: error

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

functions:
Expand Down
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ frameworkVersion: '*'

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

functions:
Expand Down
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ frameworkVersion: '*'

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

plugins:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ configValidationMode: error

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

functions:
Expand Down
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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.