Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

helper/resource: Add Terraform configuration to TRACE logging #1059

Merged
merged 3 commits into from Sep 14, 2022

Commits on Sep 14, 2022

  1. helper/resource: Add Terraform configuration to TRACE logging

    Reference: #700
    
    For example:
    
    ```console
    $ TF_ACC=1 TF_LOG=TRACE go test -count=1 -run='TestTest_TestStep_ExternalProviders_DifferentVersions' -v ./helper/resource
    ...
    2022-09-13T22:40:05.009-0400 [TRACE] sdk.helper_resource: Setting Terraform configuration: test_name=TestTest_TestStep_ExternalProviders_DifferentVersions test_step_number=1 test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/f3/2mhr8hkx72z9dllv0ry81zm40000gq/T/plugintest971555752
      test_terraform_config=
      |
      | terraform {
      |   required_providers {
      |     null = {
      |       source = "registry.terraform.io/hashicorp/null"
      |       version = "3.1.0"
      |     }
      |   }
      | }
      |
      | provider "null" {}
      |
    ...
    ```
    bflad committed Sep 14, 2022
    Copy the full SHA
    6ce3ff2 View commit details
    Browse the repository at this point in the history
  2. Update CHANGELOG for #1059

    bflad committed Sep 14, 2022
    Copy the full SHA
    01a06ff View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    dc3aaae View commit details
    Browse the repository at this point in the history