Skip to content

Commit 4a04215

Browse files
committed
make lint
Signed-off-by: Danny Kopping <dannykopping@gmail.com>
1 parent 48db30f commit 4a04215

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

provisioner/terraform/executor_internal_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ resource "local_file" "test_file" {
213213
`
214214

215215
tfFile := filepath.Join(tmpDir, "main.tf")
216-
require.NoError(t, os.WriteFile(tfFile, []byte(tfConfig), 0o644))
216+
require.NoError(t, os.WriteFile(tfFile, []byte(tfConfig), 0o600))
217217

218218
// Create a minimal server for the executor.
219219
mockSrv := &server{
@@ -270,7 +270,7 @@ resource "local_file" "test_file" {
270270
`
271271

272272
// Write the modified configuration.
273-
require.NoError(t, os.WriteFile(tfFile, []byte(driftConfig), 0o644))
273+
require.NoError(t, os.WriteFile(tfFile, []byte(driftConfig), 0o600))
274274

275275
// Create a new plan that will show the drift/replacement.
276276
driftLogger := &mockLogger{}

0 commit comments

Comments
 (0)