Skip to content

Allow :managed provider to inherit from cloud providers #7

Description

@patcon

This is awesome! Not sure how this would work atm, but this fits perfectly into a use-case for feature that I was planning to submit to the :aws or :rackspace providers.

The issue is that, while I obviously expect to spin up new servers with vagrant up --provider=aws, I want to create a bunch of users so that any team member can technically rerun the provisioner with cloud credentials. But since cloud providers require credentials for any provisioning commands, there's no elegant way for team members to manage their infra. It would be awesome to version-control a file from .vagrant.d/ with ip or hostname info, and then team members could just run vagrant provision --provider=managed (with their username on the server somewhere in the Vagrantfile) and they could converge the box.

It might work something like this, config-wise:

config.managed.inherit_provider = :aws
config.managed.inherit_provider = :rackspace
config.managed.inherit_provider = :auto

Anyhow, just a use-case to put on your radar. I'm happy to work on this in the next few months when I get to the point that I need it :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions