Skip to content

mtheindiecoder/using-aws-credentials-with-devcontainer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Using AWS Credentials in a Dev Container

This project aims to provide you an example of how to use AWS credentials when developing in a Dev Containers.

I have written an article about it and you can find it at https://theindiecoder/posts/use-aws-credentials-in-a-dev-container/.

Prerequisites

Whether you are a macOS user or a Windows user, you need to have the following installed:

  1. Visual Studio Code
  2. VS Code Dev Containers extension
  3. Docker Desktop
  4. AWS credentials configured on your local machine.

I have prepared this guide as a macOS user, so I have not tried running Dev Containers on Windows or Linux. If you are a Windows or Linux user, please refer to the Visual Studio Code documentation for installation instructions.


  1. Fork this repository.

  2. Open the repository with VS Code.

  3. In the bottom left corner of your VS Code window, click on the Dev Container Extension button. Dev Containers button.

  4. A setup wizard will pop up, in the middle of the window. Select the Reopen in Container option. Dev Containers options.

  5. open a New Terminal.

  6. run aws s3 ls

Congratulations! You are now able to use AWS credentials in a Dev Container! 🚀

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published