terraform init
0.0% Savings
0 Commands
0 Tokens saved
2 Tests
Install
Safety checks passed
Filter definition
command = "terraform init"
strip_ansi = true
collapse_empty_lines = true
show_history_hint = true
skip = [
"^Reusing previous version",
"^Using previously-installed",
"^- Finding ",
"^- Installing ",
"^- Installed ",
"^Partner and community providers",
"^You may now begin working",
"^Try running",
"^any changes that are required",
"^If you ever set or change",
"^rerun this command to reinitialize",
"^commands will detect it",
"^Terraform has made some changes",
"^in the \\.terraform\\.lock\\.hcl",
"^version control system",
]
[on_success]
output = "✓ terraform initialized"
[on_failure]
tail = 20
Examples
failure shows tail of error output
~81 tokens → ~67 tokens
(17% saved)
Raw output
Initializing the backend... - Finding hashicorp/aws versions matching "~> 5.0"... Error: Failed to query available provider packages Could not retrieve the list of available versions for provider hashicorp/aws: locked provider registry.terraform.io/hashicorp/aws 5.31.0 does not match configured version constraint ~> 6.0.
Filtered output
Initializing the backend... Error: Failed to query available provider packages Could not retrieve the list of available versions for provider hashicorp/aws: locked provider registry.terraform.io/hashicorp/aws 5.31.0 does not match configured version constraint ~> 6.0.
success shows initialized message and filters noise
~216 tokens → ~6 tokens
(97% saved)
Raw output
Initializing the backend... Initializing provider plugins... - Finding hashicorp/aws versions matching "~> 5.0"... - Installing hashicorp/aws v5.31.0... - Installed hashicorp/aws v5.31.0 (signed by HashiCorp) Reusing previous version of hashicorp/random as selected in dependency lock file Using previously-installed hashicorp/random v3.6.0 Partner and community providers are signed by their developers. You may now begin working with Terraform. Try running "terraform plan" to see any changes that are required for your infrastructure. If you ever set or change modules or backend configuration for Terraform, rerun this command to reinitialize your working directory. Terraform has made some changes to the provider lock file in the .terraform.lock.hcl file. commands will detect it and remind you to run init again. Terraform has been successfully initialized!
Filtered output
✓ terraform initialized
Warning: Community filters are third-party code. Review the filter definition above before installing it in production environments.Browse all filters