Skip to content

Commit

Permalink
Simple solution for using secrets in Makefile.
Browse files Browse the repository at this point in the history
  • Loading branch information
larwef committed Oct 27, 2023
1 parent d1d02b0 commit 946f9db
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ terraform.rc
*.terraform/
*.terraform.lock.hcl
*.tfplan
config.env
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# TODO: Uncomment if using a seperate file for envronemtn variables you don't
# want to disclose.
# include config.env

# TODO: Change name. Remember to also change the name of cmd/app/.
APP_NAME=app
VERSION=v0.0.1
Expand Down
1 change: 1 addition & 0 deletions example_config.env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SECRET=value

0 comments on commit 946f9db

Please sign in to comment.