Skip to content

Commit

Permalink
Merge pull request #37 from scalefactory/version_in_output
Browse files Browse the repository at this point in the history
Add version number in output log
  • Loading branch information
word authored Jun 29, 2021
2 parents f72015f + e0a3f25 commit dd33e0d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .bundle/config
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
BUNDLE_PATH: "vendor/bundle"
BUNDLE_BIN: "vendor/bin"
BUNDLE_WITH: "developement"
1 change: 1 addition & 0 deletions CHANGELOG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
For details see: https://www.hashicorp.com/blog/default-tags-in-the-terraform-aws-provider
* feat: new `tf_state_prefix` config parameter. (Thanks @patrickli)
Allows setting an path prefix for state files stored in S3.
* feat: print version number in output log

== 1.4.0

Expand Down
2 changes: 1 addition & 1 deletion bin/tfctl
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ begin
log_level = options[:debug] ? Logger::DEBUG : Logger::INFO
log = Tfctl::Logger.new(log_level)

log.info 'tfctl running'
log.info "tfctl #{Tfctl::VERSION} running"

config_name = File.basename(options[:config_file]).chomp('.yaml')
config_name = 'default' if config_name == 'tfctl'
Expand Down

0 comments on commit dd33e0d

Please sign in to comment.