
I am an AWS Certified Solutions Architect with over 12+ years of experience with a primary focus on AWS serverless solutions, AWS CDK, event driven architecture and Python.
Search for a command to run...

I am an AWS Certified Solutions Architect with over 12+ years of experience with a primary focus on AWS serverless solutions, AWS CDK, event driven architecture and Python.
No comments yet. Be the first to comment.
Fix error 1227 (42000): Access denied; you need (at least one of) the SUPER or SYSTEM_VARIABLES_ADMIN privilege(s) for this operation

How to resolve the error: Invalid stage identifier specified (Service: ApiGateway, Status Code: 400)

A walkthrough for a .NETCore serverless project

Easily adopt best practices such as tracing, structured logging, custom metrics, and more.

VS Code can be linked with the AWS account. This allows developers to interact with AWS resources from the familiar VS Code interface. Let's cover the steps below:
The AWS Command Line Interface (AWS CLI) is an open-source tool that enables you to interact with AWS services using commands in your command-line shell.
To install, navigate to this URL https://aws.amazon.com/cli/ and install the relevant package.

Open a terminal in VS code, or you may open the terminal/powershell directly. Type in "aws configure".
You will be prompted for configuration values such as your AWS Access Key Id and your AWS Secret Access Key. The AWS CLI will create a config file in the default location of ~/.aws/config.

NOTE: If you do not have AWS access key & secret details, please follow the below steps:
Open VS Code and select "Extensions" from the left menu bar. Search for "AWS Toolkit" and install.
The "AWS" menu item should now be visible in the left bar, and it should load the region configured in "Step 2" above. Based on the user rights configured in "Step 2", AWS resource lists should now appear along with options like "Create bucket", "Create Lambda sam application" etc.

If you attempt to download a Lambda and do not have any VS Code workspace open below error will appear:
A Visual Studio Code "workspace" is the collection of one or more folders that are opened in a VS Code window (instance). AWS Toolkit uses this location as the target location to download data, hence the error.
The File > Add Folder to Workspace command brings up an Open Folder dialog to select the new folder.

Once the workspace folder is connected, Lambda download should work. This will allow you to edit the code, install additional dependencies, etc., and upload it to AWS.