File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -37,16 +37,20 @@ When creating new resources:
3737*  ` make lint ` : Lints and formats the code.
3838*  ` make test ` : Run unit tests.
3939*  ` make docs-generate ` : Generate documentation.
40+ *  [ Running & Debugging the Provider] ( #running--debugging-the-provider ) 
41+ *  [ Running Acceptance Tests] ( #running-acceptance-tests ) 
4042
4143### Running & Debugging the Provider  
4244
45+ Also see [ Terraform docs on debugging] ( https://developer.hashicorp.com/terraform/plugin/debugging#starting-a-provider-in-debug-mode ) .
46+ 
4347Run the provider in debug mode and reattach the provider in Terraform:
4448*  Launch ` main.go `  with the ` -debug `  flag from your IDE.
4549*  After launching, the provider will print an env var. Copy the printed ` TF_REATTACH_PROVIDERS='{…}' `  value.
4650*  Export it in your shell where you run Terraform: ` export TF_REATTACH_PROVIDERS='{…}' ` .
4751*  Terraform will now talk to your debug instance, and you can set breakpoints.
4852
49- ####  Running Acceptance Tests  
53+ ### Running Acceptance Tests  
5054
5155Acceptance tests spin up Elasticsearch, Kibana, and Fleet with Docker and run tests in a Go container.
5256
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments