terraform-provider-splunk-itsi

command module
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

README

terraform-provider-splunk-itsi

Tests

Terraform Provider for Splunk ITSI

Prerequisites

Starting a provider in Debug Mode:

It is important to start a provider in debug mode only when you intend to debug it, as its behavior will change in minor ways from normal operation of providers. The main differences are:

  • Terraform will not start the provider process; it must be run manually.
  • The provider's constraints will no longer be checked as part of terraform init.
  • The provider will no longer be restarted once per walk of the Terraform graph; instead the same provider process will be reused until the command is completed.

Prerequisites:

  • install GoLand & open terraform-provider-itsi project

Steps:

  • Pass debug flag, It can be done via the Run Configuration:

    run_configuration

  • Make sure plugin is compiled in debug mode (go build -gcflags="all=-N -l", GoLand takes care of this, executing via Debug button)
  • After launching the plugin will output a message telling you to set the TF_REATTACH_PROVIDERS environment variable:

    console_output

  • Copy and paste this to another shell, from which you will run Terraform:

    run_terraform

  • Observe your caught breakpoint:

    breakpoint

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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