Skip to content

Commit 96c2372

Browse files
53ningenShreya
authored andcommitted
fix: failed tests (#1234)
1 parent 09ee2c3 commit 96c2372

File tree

3 files changed

+36
-0
lines changed

3 files changed

+36
-0
lines changed

tests/translator/output/api_with_swagger_authorizer_none.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,12 @@
373373
"ManagedPolicyArns": [
374374
"arn:aws:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole"
375375
],
376+
"Tags": [
377+
{
378+
"Value": "SAM",
379+
"Key": "lambda:createdBy"
380+
}
381+
],
376382
"AssumeRolePolicyDocument": {
377383
"Version": "2012-10-17",
378384
"Statement": [
@@ -407,6 +413,12 @@
407413
"ManagedPolicyArns": [
408414
"arn:aws:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole"
409415
],
416+
"Tags": [
417+
{
418+
"Value": "SAM",
419+
"Key": "lambda:createdBy"
420+
}
421+
],
410422
"AssumeRolePolicyDocument": {
411423
"Version": "2012-10-17",
412424
"Statement": [

tests/translator/output/aws-cn/api_with_swagger_authorizer_none.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,12 @@
384384
"ManagedPolicyArns": [
385385
"arn:aws-cn:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole"
386386
],
387+
"Tags": [
388+
{
389+
"Value": "SAM",
390+
"Key": "lambda:createdBy"
391+
}
392+
],
387393
"AssumeRolePolicyDocument": {
388394
"Version": "2012-10-17",
389395
"Statement": [
@@ -408,6 +414,12 @@
408414
"ManagedPolicyArns": [
409415
"arn:aws-cn:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole"
410416
],
417+
"Tags": [
418+
{
419+
"Value": "SAM",
420+
"Key": "lambda:createdBy"
421+
}
422+
],
411423
"AssumeRolePolicyDocument": {
412424
"Version": "2012-10-17",
413425
"Statement": [

tests/translator/output/aws-us-gov/api_with_swagger_authorizer_none.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,12 @@
407407
"ManagedPolicyArns": [
408408
"arn:aws-us-gov:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole"
409409
],
410+
"Tags": [
411+
{
412+
"Value": "SAM",
413+
"Key": "lambda:createdBy"
414+
}
415+
],
410416
"AssumeRolePolicyDocument": {
411417
"Version": "2012-10-17",
412418
"Statement": [
@@ -431,6 +437,12 @@
431437
"ManagedPolicyArns": [
432438
"arn:aws-us-gov:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole"
433439
],
440+
"Tags": [
441+
{
442+
"Value": "SAM",
443+
"Key": "lambda:createdBy"
444+
}
445+
],
434446
"AssumeRolePolicyDocument": {
435447
"Version": "2012-10-17",
436448
"Statement": [

0 commit comments

Comments
 (0)