-
Notifications
You must be signed in to change notification settings - Fork 4
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
Redeploying with different 'ec2_instance_type' fails (Terraform) #43
Comments
Re-running the job works 2nd time. It's good there are no Terraform conflicts. |
Yea this smells like a lifecycle block. |
We couldn't find any reasonably good solutions to fix it for now. Similar issues:
|
Another way is to isolate the teraform for generating ansible files into a separate stack. Outputs would be populated into an out file, a prehook would convert that into files that ansible could digest |
We could play with terraform depends_on or --target too. How about this |
Solved in latest release |
User should be able to change the instance type after deploying a default one for example to right-size or increase resources.
The expectation is that the old instance will be destroyed and a new one will be created.
This however fails on Terraform's side.
Steps to reproduce
ec2_instance_type: t2.large
and re-run the deploymentThe error
https://github.com/bitovi/operations-stackstorm/actions/runs/4058066174/jobs/6984566138#step:2:1504
The text was updated successfully, but these errors were encountered: