This pull request introduces the following changes:
Some code refactoring to aggregate the redundant operation into functions in utils.go. Creates a Parser struct to parse schema.ResourceData avoid repeating type assertion into all resource/data.
Remove tests/integration as this was drastically performing a file and using Terraform acceptance tests framework instead
Introduce unit tests for critical functions
bugfix: Remove call to Wait() function when using exec.Command as this is raising errors because the command is started using CombinedOutput()
This pull request introduces the following changes:
utils.go
. Creates a Parser struct to parseschema.ResourceData
avoid repeating type assertion into all resource/data.tests/integration
as this was drastically performing a file and using Terraform acceptance tests framework insteadWait()
function when usingexec.Command
as this is raising errors because the command is started usingCombinedOutput()