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

copy dotfiles also for terraspace build, this allow tfenv to use .terraform-version #129

Merged
merged 1 commit into from
Jul 26, 2021

Conversation

tongueroo
Copy link
Contributor

This is a 🐞 bug fix.
This is a πŸ™‹β€β™‚οΈ feature or enhancement.

  • I've added tests (if it's a bug, feature or enhancement)
  • I've adjusted the documentation (if it's a feature or enhancement)
  • The test suite passes (run bundle exec rspec to verify this)

Summary

Context

Fixes #127

How to Test

echo 1.0.3 > app/stacks/demo/.terraspace-version
terraspace build demo
cat .terraspace-cache/us-west-2/dev/stacks/demo/.terraform-version 

Version Changes

Patch

@tongueroo tongueroo merged commit 4ef081d into master Jul 26, 2021
@tongueroo tongueroo deleted the tfenv branch July 26, 2021 17:37
@tongueroo tongueroo changed the title use Dir.glob(expr, File::FNM_DOTMATCH) so dotfiles are copied, allowing .terraform-version for tfenv copy dotfiles also for terraspace build, this allow tfenv to use .terraform-version Jul 26, 2021
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 this pull request may close these issues.

Support tfenv's .terraform-version file
1 participant