kusion resource show
Show details of a resource of the current or specified stack
Synopsisโ
Show details of a resource of the current or specified stack.
This command displays detailed information about a resource of the current project in the current or a specified workspace
kusion resource show [flags]
Examplesโ
  # Show details of a specific resource of the current project in the current workspace
  kusion resource show --id=hashicorp:viettelcloud:viettelcloud_db_instance:example-mysql
  
  # Show details of a specific resource with specified project and workspace
  kusion resource show --id=hashicorp:viettelcloud:viettelcloud_db_instance:example-mysql --project=example --workspace=dev
  
  # Show details of a specific resource with specified backend
  kusion resource show --id=hashicorp:viettelcloud:viettelcloud_db_instance:example-mysql --backend=local
  
  # Show details of a specific resource with specified output format
  kusion resource show --id=hashicorp:viettelcloud:viettelcloud_db_instance:example-mysql --output=json
Optionsโ
      --backend string     The backend to use, supports 'local', 'oss' and 's3'
  -h, --help               help for show
      --id string          The resource ID
  -o, --output string      Specify the output format
      --project string     The project name
      --workspace string   The workspace name
Options inherited from parent commandsโ
      --profile string          Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex) (default "none")
      --profile-output string   Name of the file to write the profile to (default "profile.pprof")
SEE ALSOโ
- kusion resource - Observe Kusion resource information