Skip to content

Commit a9315c6

Browse files
authored
Merge pull request #227 from ipfs/master-upgrade
upgrade@14558711281
2 parents 0acc6d6 + 3436e62 commit a9315c6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

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)