terraform-switcher
aws-vault
Our great sponsors
terraform-switcher | aws-vault | |
---|---|---|
9 | 49 | |
1,295 | 8,127 | |
- | 1.0% | |
2.6 | 1.7 | |
4 days ago | about 2 months ago | |
Go | Go | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
terraform-switcher
-
Top Terraform Tools to Know in 2024
TFSwitch is a CLI tool that allows easy switching between different Terraform versions, simplifying workflows in environments where multiple Terraform versions are used.
- Breve guia de sobrevivência com Terraform
-
Asdf – the language tool version manager
tfswitch might help with particular issue of terraform versioning:
https://tfswitch.warrensbox.com/
Even then some versions of terraform providers are not compatible with M1 macs. Docker would help with that probably, but so can: https://github.com/kreuzwerker/m1-terraform-provider-helper
Perhaps these sort of issues support the benefits of per-module docker images?
-
Best strategy to upgrade Terraform code?
My approach is to change the version in the version.tf file, install the new version using tfswitch (https://tfswitch.warrensbox.com/) and execute a plan. If infrastructure matches the configuration I will asume there are no breaking changes...
-
New Lifecycle Options and Refactoring Capabilities in Terraform 1.1 and 1.2
Also, an excellent tool can help with fast switching between different Terraform versions while you’re experimenting — tfswitch.
- Managing multiple terraform versions across modules
-
Local credentials and MFA
https://tfswitch.warrensbox.com/ for switching between Terraform versions
-
VSCode plugin very slow at terraform fmt on save
It was easy. I didn't use terraform-version files like you, but there are similar ways to automatically switch versions. https://github.com/warrensbox/terraform-switcher
-
Terraforming in 2021 – new features, testing and compliance
Terraform Switcher - yet another project essentially doing the same written in go;
aws-vault
-
Keep your AWS CLI config fresh with Cog
Undying fondness for aws-vault to securely cache my session credentials.
-
A CLI app that keeps your passwords encrypted and lets you manage them using a single secret
you might want to check https://github.com/99designs/keyring and https://github.com/99designs/aws-vault
-
Cannot use AWS SSO with Terraform
You install aws-vault (https://github.com/99designs/aws-vault), configure it according to the README and make sure you have an SSO entry that is compatible, i.e.:
-
How do you protect your secret keys in your local computer?
I use a aws-vault to switch thought all profiles on all aws account. It support SSO with 2FA.
-
LastPass says DevOps engineer’s hacked computer led to security breach in 2022
Nice! Do I understand this correctly?
You use aws-vault(https://github.com/99designs/aws-vault) and configure it with IAM and MFA with YubiKeys. You configure e.g. the profile jonsmith.
When you run
aws-vault exec jonsmith -- aws s3 ls
it will ask you, e.g. every hour to confirm with YubiKeys and cache the key for one hour. After that the temporary keys expire. Can you also store keys different from AWS?
-
Ask HN: Why most CLIs are not using keyring?
Don't know about kube, but awscli and a few others decouple the idea of getting credentials and doing the actions. You can use the password every time, but a better way is to either use the preconfigured profile or some wrapper which does use the keychain. For example https://github.com/99designs/aws-vault/ supports one-off commands and shell sessions with pre-populated tokens.
-
Recommended script access to AWS
It sounds like you have AWS SSO enabled and need a way to run scripts manually in the terminal. Take a look at the aws-vault project that makes it easy working with multiple AWS accounts.
-
Can I run cdk bootstrap in aws cloudshell?
A tool called aws-vault can fix the "insecure" part.
-
Programatic access with AWS SSO
Take a look at aws-vault, which has support for SSO and running in a docker container.
-
Authenticating to AWS provider
I read the docs on: https://github.com/99designs/aws-vault
What are some alternatives?
tfenv - Terraform version manager
awsume - A utility for easily assuming AWS IAM roles from the command line.
netmaker-gui - An alternate UI for Netmaker (https://github.com/gravitl/netmaker)
leapp - Leapp is the DevTool to access your cloud
terraform-ls - Terraform Language Server
powerlevel10k - A Zsh theme
tflint - A Pluggable Terraform Linter
azure-aws-creds - This project allows federated Azure Active Directory roles to be easily used with AWS CLI session credentials
inspec - InSpec: Auditing and Testing Framework
aws-cli - Universal Command Line Interface for Amazon Web Services
terratest - Terratest is a Go library that makes it easier to write automated tests for your infrastructure code.
ohmyzsh - 🙃 A delightful community-driven (with 2,300+ contributors) framework for managing your zsh configuration. Includes 300+ optional plugins (rails, git, macOS, hub, docker, homebrew, node, php, python, etc), 140+ themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.