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

Destroy ssh_resource #37

Closed
arbourd opened this issue Jun 21, 2022 · 2 comments
Closed

Destroy ssh_resource #37

arbourd opened this issue Jun 21, 2022 · 2 comments

Comments

@arbourd
Copy link

arbourd commented Jun 21, 2022

First off, this is an awesome idea that really solves a lot of the problems of provisioners by not using them.

Would you consider a ssh_destroy_resource, which only runs the SSH script on destroy, rather than create/update?

The value of it would be getting around when = destroy provisioners as there are numerous bugs with them (see: hashicorp/terraform#13549, hashicorp/terraform#31266).

I would be happy to contribute this.

@loafoe
Copy link
Owner

loafoe commented Jun 21, 2022

@arbourd definitely would accept such a resource!

@loafoe
Copy link
Owner

loafoe commented Jun 27, 2022

@arbourd v2.0.0 is now available with this feature. Thanks for suggesting / helping with this!

@loafoe loafoe closed this as completed Jun 27, 2022
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

Successfully merging a pull request may close this issue.

2 participants