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

Provisioning doesn't work when changing count value #13

Open
Artemmkin opened this issue Apr 19, 2017 · 1 comment
Open

Provisioning doesn't work when changing count value #13

Artemmkin opened this issue Apr 19, 2017 · 1 comment

Comments

@Artemmkin
Copy link
Contributor

Artemmkin commented Apr 19, 2017

When you increase count value, new instances are not provisioned. When decreasing the value, you get an error. The cause of the error is Ansible provisioning.

@Artemmkin Artemmkin changed the title Error when decreasing count value Provisioning doesn't work when changing count value Apr 19, 2017
@Artemmkin
Copy link
Contributor Author

Artemmkin commented Apr 20, 2017

The cause of the problem is probably ec2.py, which is not the best way to provision in the first place. Problems with this approach:

  • We can work only with AWS, but not other cloud providers
  • It's based on the information fetched from AWS and not on the state file

We need to find a way to base inventory file on the state created by terraform. At the same time, we need to be able to use remote state. This script seems to fit the bill

@devops42 devops42 mentioned this issue Apr 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant