Skip to content

terraform plan -json | pipeform doesn't show any resource #11

@suzuki-shunsuke

Description

@suzuki-shunsuke

terraform plan -json | pipeform doesn't show any resource.

terraform plan -json | pipeform

Page 1:

  
   pipeform (Terraform 1.10.5) 
  
  ✅ IDLE  Time spent: 0s
  
  ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
  │                                                                                                                                 │
  │                                                                                                                                 │
  │                                                                                                                                 │
  │                                                                                                                                 │
  │                                                                                                                                 │
  │                                                                                                                                 │
  │                                                                                                                                 │
  │                                                                                                                                 │
  │                                                                                                                                 │
  │                                                                                                                                 │
  │                                                                                                                                 │
  │                                                                                                                                 │
  │                                                                                                                                 │
  │                                                                                                                                 │
  │                                                                                                                                 │
  │                                                                                                                                 │
  │                                                                                                                                 │
  │                                                                                                                                 │
  │                                                                                                                                 │
  │                                                                                                                                 │
  │                                                                                                                                 │
  │                                                                                                                                 │
  │                                                                                                                                 │
  │                                                                                                                                 │
  │                                                                                                                                 │
  │                                                                                                                                 │
  │                                                                                                                                 │
  └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
  
  
  ••
  
  f follow • ctrl+c quit • ← / h left page • → / l right page • ? toggle help • ↑/k up • ↓/j down

Page 2:

  
   pipeform (Terraform 1.10.5) 
  
  ✅ PLAN  Time spent: 0s
  
  ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
  │                                                                                                                                 │
  │                                                                                                                                 │
  │                                                                                                                                 │
  │                                                                                                                                 │
  │                                                                                                                                 │
  │                                                                                                                                 │
  │                                                                                                                                 │
  │                                                                                                                                 │
  │                                                                                                                                 │
  │                                                                                                                                 │
  │                                                                                                                                 │
  │                                                                                                                                 │
  │                                                                                                                                 │
  │                                                                                                                                 │
  │                                                                                                                                 │
  │                                                                                                                                 │
  │                                                                                                                                 │
  │                                                                                                                                 │
  │                                                                                                                                 │
  │                                                                                                                                 │
  │                                                                                                                                 │
  │                                                                                                                                 │
  │                                                                                                                                 │
  │                                                                                                                                 │
  │                                                                                                                                 │
  │                                                                                                                                 │
  │                                                                                                                                 │
  └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
  
  
  ••
  
  f follow • ctrl+c quit • ← / h left page • → / l right page • ? toggle help • ↑/k up • ↓/j down

Information

$ terraform version
Terraform v1.10.5
on darwin_arm64
+ provider registry.terraform.io/hashicorp/time v0.12.1

pipeform version: v0.2.0

The result of terraform plan.
A resource time_sleep.main will be created.

$ terraform plan

Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
  + create

Terraform will perform the following actions:

  # time_sleep.main will be created
  + resource "time_sleep" "main" {
      + create_duration = "50s"
      + id              = (known after apply)
    }

Plan: 1 to add, 0 to change, 0 to destroy.

──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

Note: You didn't use the -out option to save this plan, so Terraform can't guarantee to take exactly these actions if you run "terraform
apply" now.
$ terraform plan -json           
{"@level":"info","@message":"Terraform 1.10.5","@module":"terraform.ui","@timestamp":"2025-01-29T09:08:32.026292+09:00","terraform":"1.10.5","type":"version","ui":"1.2"}
{"@level":"info","@message":"time_sleep.main: Plan to create","@module":"terraform.ui","@timestamp":"2025-01-29T09:08:32.089499+09:00","change":{"resource":{"addr":"time_sleep.main","module":"","resource":"time_sleep.main","implied_provider":"time","resource_type":"time_sleep","resource_name":"main","resource_key":null},"action":"create"},"type":"planned_change"}
{"@level":"info","@message":"Plan: 1 to add, 0 to change, 0 to destroy.","@module":"terraform.ui","@timestamp":"2025-01-29T09:08:32.089541+09:00","changes":{"add":1,"change":0,"import":0,"remove":0,"operation":"plan"},"type":"change_summary"}

main.tf:

resource "time_sleep" "main" {
  create_duration = "50s"
}

Expected behaviour

pipeform shows the resource time_sleep.main.

Actual behaviour

pipeform doesn't show any resource.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions