Skip to content

Instantly share code, notes, and snippets.

@lawrencegripper
Created September 12, 2019 13:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lawrencegripper/94921efed78d6f1514b95b28ae073be6 to your computer and use it in GitHub Desktop.
Save lawrencegripper/94921efed78d6f1514b95b28ae073be6 to your computer and use it in GitHub Desktop.
Debugging Terraform Provider test
{
// 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
},
]
}
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