Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,15 @@ When you invoke an action using the CLI, Terraform runs only the action and excl

Add the `-invoke` flag and specify the address of an action when running the `terraform plan` or `terraform apply` command.

The following example creates a plan for invoking the `aws_lambda_invocation.example` action:
The following example creates a plan for invoking the `aws_lambda_invoke.example` action:

```shell-session
$ terraform plan -invoke=action.aws_lambda_invoke.example
```

Refer to the [`terraform plan` command](/terraform/cli/commands/plan) documentation for more information about creating plans.

The following example runs the `aws_lambda_invocation.example` action:
The following example runs the `aws_lambda_invoke.example` action:

```shell-session
$ terraform apply -invoke=action.aws_lambda_invoke.example
Expand Down
Loading