debug

module
v0.0.0-...-3855e86 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2024 License: Apache-2.0

README

Debug Provider

The debug provider doesn't deploy resources to cloud environments. Its purpose is to assist with validating and troubleshooting the resource graph generated by Nitric for a specific project.

Usage

The debug provider isn't distributed as an official Nitric provider, so it must be built and installed from source.

# build and install the debug provider binary
make install

Next, create or update a project stack file. The file can reference the locally installed provider.

nitric-debug.yaml

name: debug-stack
provider: debug/spec@0.0.1
output: ./debug-output.json

Note: the output property specifies where to write the debug details on disk.

Use the nitric up command to 'deploy' this new debug stack.

nitric up -s debug

When the up command completes the full stack details (resource graph) should be output to the specified file.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL