-
Notifications
You must be signed in to change notification settings - Fork 10.3k
terraform apply CLI Action output missing "Actions: n invoked" #37689
Copy link
Copy link
Closed
Labels
Description
Terraform Version
Terraform v1.14.0-beta2
on darwin_arm64
+ provider registry.terraform.io/austinvalle/bufo v2.0.0Terraform Configuration Files
terraform {
required_providers {
bufo = {
source = "austinvalle/bufo"
}
}
}
resource "terraform_data" "test" {
lifecycle {
action_trigger {
events = [after_create]
actions = [action.bufo_print.success]
}
}
}
action "bufo_print" "success" {
config {
# random colorized bufo
color = true
}
}Debug Output
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
Expected Behavior
I would expect the apply output for Actions to summarize the # of actions invoked during the apply, like:
Apply complete! Resources: 1 added, 0 changed, 0 destroyed. Actions: 1 invoked.
Here's what the plan output is for the same config, which has the Actions info:
Plan: 1 to add, 0 to change, 0 to destroy. Actions: 1 to invoke.
It is important to have the final line summarizing the apply to include the actions invoked.
Actual Behavior
Number of actions invoked is not shown
Steps to Reproduce
terraform initterraform apply- Observe results
Additional Context
No response
References
No response
Generative AI / LLM assisted development?
No response
Reactions are currently unavailable