Skip to content

fix(lambda): correcting tests #3733

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 19, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .cfnlintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147,3 +147,4 @@ ignore_checks:
- E3001 # Invalid or unsupported Type; common in transform tests since they focus on SAM resources
- W2001 # Parameter not used
- E3006 # Resource type check; we have some Foo Bar resources
- W3037 # Ignore cfn-lint check for non existing IAM permissions
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Resources:
Schedule: rate(1 minute)
Description: test schedule
Enabled: false
RoleArn: arn:0000000000:iam::role/yoyo
RoleArn: arn:aws:iam::123456123456:role/testRole
CWScheduleCreateRole:
Type: Schedule
Properties:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"Ref": "MyStateMachine"
},
"Id": "MyStateMachineCWScheduleStepFunctionsTarget",
"RoleArn": "arn:0000000000:iam::role/yoyo"
"RoleArn": "arn:aws:iam::123456123456:role/testRole"
}
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"Ref": "MyStateMachine"
},
"Id": "MyStateMachineCWScheduleStepFunctionsTarget",
"RoleArn": "arn:0000000000:iam::role/yoyo"
"RoleArn": "arn:aws:iam::123456123456:role/testRole"
}
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"Ref": "MyStateMachine"
},
"Id": "MyStateMachineCWScheduleStepFunctionsTarget",
"RoleArn": "arn:0000000000:iam::role/yoyo"
"RoleArn": "arn:aws:iam::123456123456:role/testRole"
}
]
},
Expand Down