Skip to content

Commit

Permalink
ignores and tfc
Browse files Browse the repository at this point in the history
  • Loading branch information
lingrino committed May 12, 2024
1 parent ac15b5f commit 5bd6fbb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 6 additions & 0 deletions home/.chezmoiignore
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,17 @@ projects/*

{{- if .work }}
# work
.atlas-packages-cli
.certs/*
.config/atlassian/*
.config/pip/*
dash.sqlite3
.gem
.gemrc
.netrc
.nvm
.pnpm-state
.saml2aws
.vpn
.yarnrc.yml
{{- end }}
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
# https://www.terraform.io/docs/cli/config/config-file.html
plugin_cache_dir = "{{ .chezmoi.homeDir }}/.terraform.d/plugincache"

{{ if .work -}}
credentials "app.terraform.io" {
token = "{{ (onepasswordRead "op://personal/uieqxph7m5frpjro5yshwgwb6i/apikeys/work") }}"
token = "{{ (onepasswordRead "op://personal/43t6n5k4bfgubhz7iehchdvgcu/terraformcloudtokens/local") }}"
}
{{- else }}
credentials "app.terraform.io" {
token = "{{ (onepasswordRead "op://personal/uieqxph7m5frpjro5yshwgwb6i/apikeys/personal") }}"
}
{{- end }}

0 comments on commit 5bd6fbb

Please sign in to comment.