Skip to content

Instantly share code, notes, and snippets.

@mbuotidem
Last active September 8, 2024 17:37
Show Gist options
  • Select an option

  • Save mbuotidem/fef920957e665d087451af582a133108 to your computer and use it in GitHub Desktop.

Select an option

Save mbuotidem/fef920957e665d087451af582a133108 to your computer and use it in GitHub Desktop.
minimal devcontainer for aws terraform - #.devcontainer/devcontainer.json
{
"image": "mcr.microsoft.com/devcontainers/universal:2",
"features": {
"ghcr.io/devcontainers/features/terraform:1": {
"tflint":"none",
"installTFsec": "true",
"terragrunt": "none"
},
"ghcr.io/devcontainers/features/aws-cli:1": {}
},
"customizations": {
"vscode": {
"extensions": [
"EditorConfig.EditorConfig",
"hashicorp.terraform"
],
"settings": {
"workbench.colorTheme": "Default Dark+", // Set your desired theme here
"editor.fontSize": 14 // Optional: customize other editor settings like font size
}
}
},
"secrets": {
"AWS_ACCESS_KEY_ID": {
"description": "Specifies an AWS access key associated with an IAM user or role.",
"documentationUrl": "https://docs.aws.amazon.com/cli/v1/userguide/cli-configure-envvars.html"
},
"AWS_SECRET_ACCESS_KEY": {
"description": "Specifies an AWS access key associated with an IAM user or role.",
"documentationUrl": "https://docs.aws.amazon.com/cli/v1/userguide/cli-configure-envvars.html"
},
"AWS_DEFAULT_REGION": {
"description": "Specifies an AWS access key associated with an IAM user or role.",
"documentationUrl": "https://docs.aws.amazon.com/cli/v1/userguide/cli-configure-envvars.html"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment