Skip to content

Commit 99f71b1

Browse files
committed
upgrade@14558711281
1 parent 0acc6d6 commit 99f71b1

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

.github/dependabot.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions" # See documentation for possible values
4+
directory: "/" # Location of package manifests
5+
schedule:
6+
interval: "weekly"
7+
- package-ecosystem: "npm"
8+
directory: "/scripts/"
9+
schedule:
10+
interval: "weekly"

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4949
- updated upload and download artifacts actions to v4
5050

5151
### Fixed
52+
- source TF_WORKING_DIR from env helper instead of process.env in locals helper
5253
- fixed how terraform state is accessed before it the initial synchronization
5354
- links to supported resources in HOWTOs
5455
- posting PR comments when terraform plan output is very long

scripts/src/terraform/locals.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import fs from 'fs'
22
import HCL from 'hcl2-parser'
3+
import env from '../env.js'
34

45
type LocalsSchema = {
56
resource_types: string[]
@@ -23,8 +24,8 @@ export class Locals {
2324
}
2425
}
2526
for (const path of [
26-
`${process.env.TF_WORKING_DIR}/locals.tf`,
27-
`${process.env.TF_WORKING_DIR}/locals_override.tf`
27+
`${env.TF_WORKING_DIR}/locals.tf`,
28+
`${env.TF_WORKING_DIR}/locals_override.tf`
2829
]) {
2930
if (fs.existsSync(path)) {
3031
const hcl =

0 commit comments

Comments
 (0)