Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow for not setting vpc_id #176

Open
phahulin opened this issue Nov 19, 2018 · 3 comments
Open

allow for not setting vpc_id #176

phahulin opened this issue Nov 19, 2018 · 3 comments
Assignees

Comments

@phahulin
Copy link
Contributor

It is possible to launch EC2 instance without vpc_id parameter, and playbook will use default one.
However, at the present moment vpc_id should be set in group_vars/all.yml anyway.

Is it possible to make it optional?

@ArseniiPetrovich
Copy link
Collaborator

Sure it is. We can simply default this to none and default parameter will be used. Just checked it.

@phahulin
Copy link
Contributor Author

Ok, then this can be closed

@ArseniiPetrovich
Copy link
Collaborator

@phahulin Reopening this. vpc_id is falling to default parameters if not specified, but subnet_id
still needs to be explicitly set. This is not a bug itself, but we can definitely improve the playbooks and allow not to specify the subnet_id

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants