- 
                Notifications
    You must be signed in to change notification settings 
- Fork 242
Description
SDK version
v2.4.2
Use-cases
This issue is created by request as part of a series of related acceptance test feature requests that will be cross-referenced to each other for discoverability.
Acceptance test configurations are currently implemented as Go string type. These configurations can become quite large, may be composed of multiple "layer" configurations built up in the Go code, and fmt.Sprintf() parameterized to simplify value substitutions across test steps. To aid in the debugging of these test configurations, it could be helpful for provider developers to see the "final" Terraform configuration and potentially work with it outside the context of the acceptance testing framework.
Attempted Solutions
None at the moment, since the temporary directory used by the binary acceptance testing framework (and therefore any potential state files) cannot be retained. Separate feature request for that incoming.
Proposal
Output the Config to the debug logging of the acceptance testing framework during each TestStep.
While adding the ability to retain the temporary directory would enable provider developers to get at this information eventually, it would require a lot more steps and knowing which saved plan occurred when.