Comments (3)
If you're using OS X, I recommend to use envchain.
It enables to handle multiple AWS credentials easily and securely 🔑
Like this:
$ envchain --set personal AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY
$ envchain --set company AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY
# w/ personal account profile
$ envchain personal terraforming s3
# w/ company account profile
$ envchain company terraforming s3
Otherwise if you're using another operating system, I don't have any good idea...
from terraforming.
The official AWS CLI already has a method for handling this via profiles - as I understand it from the Ruby SDK doc here the Ruby client will attempt by default to use the the shared credentials file as a second preference to environment variables.
To support profiles it looks at first glance necessary to use an instance of these SharedCredentials.
Happy to look at pull requesting this functionality if it's likely to be accepted.
from terraforming.
--profile
option was implemented at #135 and released as v0.4.0
Please try this ❗
from terraforming.
Related Issues (20)
- Terraform plan is destroying the resources
- ruby: bad interpreter: No such file or directory HOT 9
- Tags incorrectly formatted when exporting EC2. HOT 2
- terraforming iamr state or resource does not generate role tags
- [Feature request] terraforming iamugm : aws_iam_user_group_membership
- bug on merging with exisitn terraform.tfstate file HOT 5
- reverse terraform aws_rds_cluster_parameter_group options
- terraforming iamrp does not generate aws_iam_role_policy_attachment
- no nat gateway when pulling routing for routes with nat gateways
- Terraforming ec2 throws error for missing volumes HOT 1
- 'tags' is now a map argument, not a block HOT 2
- Feature request: add aws_cognito_user_pool
- Missing a way to get elasticache replication groups
- feature request: add aws_launch_template
- Wow! HOT 2
- Support for SES
- Tags are adding in "tags {" format not in "tags = {"
- support ability to use aws_iam_policy_document instead of directly having a policy doc in the resource
- Has this been abandoned? HOT 1
- Support for CloudFront
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraforming.