Skip to content

Commit

Permalink
Terraform should use cache.
Browse files Browse the repository at this point in the history
  • Loading branch information
koudaiii committed Oct 13, 2021
1 parent 0ab6c38 commit 77f1d6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/meta/meta_impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func newMetaImpl(rg string, outputDir string) (Meta, error) {
rootDir = filepath.Join(currentWorkingDirectory, outputDir)
}

tfDir := filepath.Join(rootDir, "terraform")
tfDir := filepath.Join(filepath.Join(cachedir, "aztfy"), "terraform")
if err := os.MkdirAll(tfDir, 0755); err != nil {
return nil, fmt.Errorf("creating terraform cache dir %q: %w", tfDir, err)
}
Expand Down

0 comments on commit 77f1d6b

Please sign in to comment.