adding aws credentials
This commit is contained in:
@@ -3,17 +3,19 @@
|
||||
{
|
||||
"name": "terraform-dev-environment",
|
||||
"image": "mcr.microsoft.com/devcontainers/base:jammy",
|
||||
|
||||
"features": {
|
||||
"ghcr.io/devcontainers/features/aws-cli:1": {},
|
||||
"ghcr.io/devcontainers/features/terraform:1": {},
|
||||
"ghcr.io/dhoeric/features/terraform-docs:1": {},
|
||||
"ghcr.io/dhoeric/features/tfsec:1": {},
|
||||
"ghcr.io/devcontainers/features/git:1": {}
|
||||
"ghcr.io/dhoeric/features/tfsec:1": {}
|
||||
},
|
||||
|
||||
// mounting local aws configuration
|
||||
"mounts": [
|
||||
"source=${env:HOME}${env:USERPROFILE}/.aws,target=/home/vscode/.aws,type=bind"
|
||||
],
|
||||
// a post create command to check the installed versions
|
||||
"postCreateCommand": "terraform version && tfsec --version && terraform-docs --version",
|
||||
|
||||
// setting the default vsc addons and settings
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"extensions": [
|
||||
@@ -26,7 +28,7 @@
|
||||
],
|
||||
"settings": {
|
||||
"editor.formatOnSave": true,
|
||||
"editor.trimTrailingWhitespace": true,
|
||||
"editor.trimTrailingWhitespace": true,
|
||||
"files.trimTrailingWhitespace": true,
|
||||
"files.insertFinalNewline": true,
|
||||
"terraform.experimentalFeatures.validateOnSave": true,
|
||||
@@ -37,6 +39,5 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"remoteUser": "vscode"
|
||||
}
|
||||
|
Reference in New Issue
Block a user