diff --git a/lib/clients/aws-client/iam-client.js b/lib/clients/aws-client/iam-client.js index 23ecd895..251cd6fc 100644 --- a/lib/clients/aws-client/iam-client.js +++ b/lib/clients/aws-client/iam-client.js @@ -72,6 +72,8 @@ module.exports = class IAMClient extends AbstractAwsClient { /** * Generates a valid IAM Role function name. * a IAM Role function name should follow the pattern: ask-lambda-skillName-timeStamp + * a valid role name cannot longer than 64 characters, so the skillName should be <=39 characters since + * the roleNamePrefix is 11 characters including the trailing '-' and the timeStamp is 14 characters including the '-'. * @param {string} skillName */ _generateIAMRoleName(skillName) {