Skip to content

Commit

Permalink
Remove useless leading spaces in sam YAML files
Browse files Browse the repository at this point in the history
  • Loading branch information
geoand committed Apr 12, 2023
1 parent 68e6c86 commit c8262c5
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 38 deletions.
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Description: AWS Serverless Quarkus - ${artifactId}
Globals:
Api:
EndpointConfiguration: REGIONAL
BinaryMediaTypes:
- "*/*"
AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Description: AWS Serverless Quarkus - ${artifactId}
Globals:
Api:
EndpointConfiguration: REGIONAL
BinaryMediaTypes:
- "*/*"

Resources:
${lambdaName}:
Type: AWS::Serverless::Function
Properties:
Handler: ${handler}
Runtime: java11
CodeUri: function.zip
MemorySize: 256
Timeout: 15
Policies: AWSLambdaBasicExecutionRole
Resources:
${lambdaName}:
Type: AWS::Serverless::Function
Properties:
Handler: ${handler}
Runtime: java11
CodeUri: function.zip
MemorySize: 256
Timeout: 15
Policies: AWSLambdaBasicExecutionRole
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Description: AWS Serverless Quarkus - ${artifactId}
Globals:
Api:
BinaryMediaTypes:
- "*/*"
AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Description: AWS Serverless Quarkus - ${artifactId}
Globals:
Api:
BinaryMediaTypes:
- "*/*"

Resources:
${lambdaName}Native:
Type: AWS::Serverless::Function
Properties:
Handler: not.used.in.provided.runtime
Runtime: provided
CodeUri: function.zip
MemorySize: 128
Policies: AWSLambdaBasicExecutionRole
Timeout: 15
Environment:
Variables:
DISABLE_SIGNAL_HANDLERS: true
Resources:
${lambdaName}Native:
Type: AWS::Serverless::Function
Properties:
Handler: not.used.in.provided.runtime
Runtime: provided
CodeUri: function.zip
MemorySize: 128
Policies: AWSLambdaBasicExecutionRole
Timeout: 15
Environment:
Variables:
DISABLE_SIGNAL_HANDLERS: true

0 comments on commit c8262c5

Please sign in to comment.