Skip to content

Commit f811be9

Browse files
committed
update docs
1 parent 2a237a1 commit f811be9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/actions/command.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,4 @@ Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
7676

7777
- `arguments` (List of String) Arguments to be passed to the given command. Any `null` arguments will be removed from the list.
7878
- `stdin` (String) Data to be passed to the given command's standard input.
79-
- `working_directory` (String) The directory where the command should be executed. Defaults to the Terraform working directory.
79+
- `working_directory` (String) The directory path where the command should be executed, either an absolute path or relative to the Terraform working directory. If not provided, defaults to the Terraform working directory.

internal/provider/action_local_command.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ func (a *localCommandAction) Schema(ctx context.Context, req action.SchemaReques
5454
Optional: true,
5555
},
5656
"working_directory": schema.StringAttribute{
57-
Description: "The directory where the command should be executed. Defaults to the Terraform working directory.",
57+
Description: "The directory path where the command should be executed, either an absolute path or relative to the Terraform working directory. If not provided, defaults to the Terraform working directory.",
5858
Optional: true,
5959
},
6060
},

0 commit comments

Comments
 (0)