Comments (2)
@bootswithdefer I don't have multiple aws accounts to try this out on, however, the changes have passed everything else I could try out. You'll need to update your ~/.bridgy/config.yml
to a list of sources to make use of this update (the old config schema is also still supported):
inventory:
source:
- type: csv
name: some.csv
fields: name, address, otherthings
delimiter: '|'
- type: aws
# ~/.aws/* configs will be referenced
- type: aws
access_key_id: some-id
secret_access_key: some-key
session_token: some-token
region: us-west-2
This way you can reference multiple aws accounts, one listed in your aws config and the other listed manually (or list them both manually, etc...).
I just uploaded v0.1.0 of bridgy that has this feature, update it and give it a shot. Open up a new issue if you discover something is amiss.
from bridgy.
stellar idea, I'll take a closer look at that tonight.
At first glance the multiple inventory source seems like a low level of effort, however, duplicating source types (such as multiple AWS accounts) may need a larger refactor. I can probably make an InventorySet
object that combines multiple inventory sources (irregardless of type) but that wouldn't solve the configuration object, which only knows about one instance of each inventory type --the config will most likely need to be modified to accept a list of various inventory sources instead of a map.
from bridgy.
Related Issues (20)
- Add filter to only allow some systems to be shown
- Invert tmux logic
- Show more information about matched instances to help differentiate.
- Cannot list-inventory if any are shutdown HOT 4
- bridgy init got erro: sample yaml file not found HOT 1
- mac -bash: bridgy: command not found HOT 1
- botocore.exceptions.NoRegionError: You must specify a region. HOT 4
- Support for clusterssh HOT 3
- Provide option to search instance within ONE source HOT 1
- Updating AWS inventory doesn't show changes to instances HOT 1
- Tmux error is not well handled which throws TypeError: a bytes-like object is required, not 'str'
- Support a Kubernetes backend HOT 2
- Support a ECS backend
- Support a Google Cloud backend
- Extend CSV inventory to support per-instance configurations
- Support Bastion Host Per Source HOT 2
- Import inventory from ~/.ssh/config
- show turned off instances with a different color
- Get only private IPs from AWS
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 bridgy.