Loading...
Loading...
### Terraform Version ```shell Terraform v1.14.0-beta3 on darwin_arm64 + provider registry.terraform.io/hashicorp/external v2.3.5 ``` ### Terraform Configuration Files ```terraform terraform { // required_version = "1.14.0-beta1" required_providers { external = { source = "registry.terraform.io/hashicorp/external" } } } resource "terraform_data" "a" { input = "A" } resource "terraform_data" "b" { input = "B" } action "external" "a" { config { program = ["echo", "A!"] } } action "external" "b" { config { program = ["echo", "variable = ${terraform_data.a.input}"] } } ``` ### Debug Output ``` ~/play/terraform-actions-examples/external/tst main $ tfaa -invoke action.external.b [v1.14.0-beta3] ╷ │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: │ - hashicorp/external in /Users/sspeiche/go/bin │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible │ with published releases. ╵ Terraform will perform the following actions: Plan: 0 to add, 0 to change, 0 to destroy. Actions: 1 to invoke. Terraform will invoke the following action(s): # action.external.b will be invoked action "external" "b" { config { program = [ "echo", (known after apply), ] } } ╷ │ Error: Action configuration unknown during apply │ │ The action action.external.b was not fully known during apply. │ │ This is a bug in Terraform, please report it. ╵ ``` ### Expected Behavior Would have expected a message to explain resource doesn't exist yet and need to run `terraform apply` first. ### Actual Behavior Generic error that told me to report this bug ### Steps to Reproduce 1. terraform init 2. terraform apply -auto-approve -invoke action.external.b 3. _Observe error_ ### Additional Context _No response_ ### References _No response_ ### Generative AI / LLM assisted development? _No response_
Click on a version to see all relevant bugs
Terraform Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.