cfn-resource-actionsFeaturesVS Code extension that lets you perform actions against deployed AWS resources directly from the CloudFormation/SAM template. The current version supports the following actions. More to follow in later versions:
All listed resource types also provide a link to its AWS console location ( All resources provide a button to copy a resource's physical ID to the clipboard (📋) All resources provide a menu that lists the resources referrable attributes along with a link to the documentation (☰) ExamplesInvoking lambda function and tailing its logs:Lambda handler code navigation (F12/ctrl+click):DynamoDB query:SQS send and poll:Deploy stack and check for drift:Visualize stack:Using the fantastic Draw.io Integration extension by Henning Dietrichs. (You'll need to install the extension to visualize) Test EventBridge rules:This uses the backend for evb-cli. For this feature to work, please follow the instructions to set up local debugging from evb-cli's readme Installation
The extension activates on the following criteria:
NOTE The first time you open a project that conforms to the above rules you will get prompted to enter the stack's name. This is so the extension can fetch information about the stack from CloudFormation. This can be modified in {workspace}/.vscode/settings.json:
TipIf you follow a naming convention where your deployed stack has the same name as your workspace's root folder, then enable the following global setting: RequirementsA configured AWS CLI with the following permissions:
|