You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug reports which fail to provide the required information will be closed without action.
Required Basic Info
Accelerator Version: 1.5.8-d
Install Type: Upgrade
Upgrade from version: 1.5.7-b
Which State did the Main State Machine Fail in: N/A
Describe the bug
The Instance Profile custom config rule bundled with ASEA fails to evaluate, on closer inspection the backend Lambda function has the following error:
Hi, any temporary fix or workaround for this? We are also seeing the same issue.
For now, we're having to manually add the IAM role 'EC2-Default-SSM-AD-Role' to the VMs after creation.
Thanks!
Hi, any temporary fix or workaround for this? We are also seeing the same issue. For now, we're having to manually add the IAM role 'EC2-Default-SSM-AD-Role' to the VMs after creation. Thanks!
You can copy the zip files from this PR to the proper folder in ASEA config bucket. #1207
Bug reports which fail to provide the required information will be closed without action.
Required Basic Info
Describe the bug
The Instance Profile custom config rule bundled with ASEA fails to evaluate, on closer inspection the backend Lambda function has the following error:
{
"errorType": "Runtime.ImportModuleError",
"errorMessage": "Error: Cannot find module 'aws-sdk'\nRequire stack:\n- /var/task/index.js\n- /var/runtime/index.mjs",
"trace": [
"Runtime.ImportModuleError: Error: Cannot find module 'aws-sdk'",
"Require stack:",
"- /var/task/index.js",
"- /var/runtime/index.mjs",
" at _loadUserApp (file:///var/runtime/index.mjs:1087:17)",
" at async UserFunction.js.module.exports.load (file:///var/runtime/index.mjs:1119:21)",
" at async start (file:///var/runtime/index.mjs:1282:23)",
" at async file:///var/runtime/index.mjs:1288:1"
]
}
The result of this is the instance profile config rule fails to evaluate and does not attach an instance profile to an EC2 instance.
Steps To Reproduce
Expected behavior
The config rule should evaluate the EC2 instance as non-compliant and then kick off auto-remediation,
The text was updated successfully, but these errors were encountered: