github.com/hs0210/hashicorp-terraform@v0.11.12-beta1/configs/test-fixtures/valid-files/data-sources.tf (about)

     1  data "http" "example1" {
     2  }
     3  
     4  data "http" "example2" {
     5    url = "http://example.com/"
     6  
     7    request_headers = {
     8      "Accept" = "application/json"
     9    }
    10  
    11    count = 5
    12    depends_on = [
    13      data.http.example1,
    14    ]
    15  }