github.com/darmach/terratest@v0.34.8-0.20210517103231-80931f95e3ff/test/fixtures/terraform-parallelism/main.tf (about)

     1  # This resource just waits for 5 seconds. If we run it with enough parallelism, the whole module should apply in about
     2  # 5 seconds. If we set parallelism to 1, it should take at least 25 seconds.
     3  resource "null_resource" "wait" {
     4    count = 5
     5  
     6    triggers = {
     7      run_always = timestamp()
     8    }
     9  
    10    provisioner "local-exec" {
    11      command = "sleep 5"
    12    }
    13  }