Commit 25a781e
committed
terraform/datacrunch: Use pathexpand() for credentials file path
The datacrunch_api_key_file variable default uses tilde which
Terraform does not automatically expand in string defaults. While the
Python extraction script handles this via os.path.expanduser(), it is
better practice to make the expansion explicit at the Terraform level.
Apply pathexpand() when passing the path to the external data source
so the behavior is clear and self-documenting. Add a comment
explaining that tilde paths are supported.
Generated-by: Claude AI
Signed-off-by: Chuck Lever <[email protected]>1 parent de19bcc commit 25a781e
2 files changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
16 | 18 | | |
17 | | - | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
0 commit comments