Created
September 12, 2019 13:47
-
-
Save lawrencegripper/94921efed78d6f1514b95b28ae073be6 to your computer and use it in GitHub Desktop.
Debugging Terraform Provider test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Launch test function", | |
"type": "go", | |
"request": "launch", | |
"mode": "test", | |
"program": "${workspaceRoot}/azurerm/data_source_function_test.go", | |
"args": [ | |
"-test.v", | |
"-test.run", | |
"TestAccDataSourceAzureRMFunction_basic" | |
], | |
"envFile": "${workspaceRoot}/.vscode/private.env", | |
"showLog": true | |
}, | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GOFLAGS='-mod=vendor' | |
ARM_CLIENT_ID=00000000-0000-0000-0000-000000000000 | |
ARM_CLIENT_SECRET=00000000-0000-0000-0000-000000000000 | |
ARM_SUBSCRIPTION_ID=00000000-0000-0000-0000-000000000000 | |
ARM_TENANT_ID=00000000-0000-0000-0000-000000000000 | |
ARM_TEST_LOCATION=northeurope | |
ARM_TEST_LOCATION_ALT=westeurope | |
TF_ACC=1 | |
TF_LOG=DEBUG |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment