diff --git a/examples/default/.terraform.lock.hcl b/examples/default/.terraform.lock.hcl index e58658f11f..6c36cda61a 100644 --- a/examples/default/.terraform.lock.hcl +++ b/examples/default/.terraform.lock.hcl @@ -46,6 +46,26 @@ provider "registry.terraform.io/hashicorp/local" { ] } +provider "registry.terraform.io/hashicorp/null" { + version = "3.2.1" + constraints = "~> 3.0" + hashes = [ + "h1:ydA0/SNRVB1o95btfshvYsmxA+jZFRZcvKzZSB+4S1M=", + "zh:58ed64389620cc7b82f01332e27723856422820cfd302e304b5f6c3436fb9840", + "zh:62a5cc82c3b2ddef7ef3a6f2fedb7b9b3deff4ab7b414938b08e51d6e8be87cb", + "zh:63cff4de03af983175a7e37e52d4bd89d990be256b16b5c7f919aff5ad485aa5", + "zh:74cb22c6700e48486b7cabefa10b33b801dfcab56f1a6ac9b6624531f3d36ea3", + "zh:78d5eefdd9e494defcb3c68d282b8f96630502cac21d1ea161f53cfe9bb483b3", + "zh:79e553aff77f1cfa9012a2218b8238dd672ea5e1b2924775ac9ac24d2a75c238", + "zh:a1e06ddda0b5ac48f7e7c7d59e1ab5a4073bbcf876c73c0299e4610ed53859dc", + "zh:c37a97090f1a82222925d45d84483b2aa702ef7ab66532af6cbcfb567818b970", + "zh:e4453fbebf90c53ca3323a92e7ca0f9961427d2f0ce0d2b65523cc04d5d999c2", + "zh:e80a746921946d8b6761e77305b752ad188da60688cfd2059322875d363be5f5", + "zh:fbdb892d9822ed0e4cb60f2fedbdbb556e4da0d88d3b942ae963ed6ff091e48f", + "zh:fca01a623d90d0cad0843102f9b8b9fe0d3ff8244593bd817f126582b52dd694", + ] +} + provider "registry.terraform.io/hashicorp/random" { version = "3.5.1" constraints = "~> 3.0" diff --git a/examples/default/main.tf b/examples/default/main.tf index 2acdaf91ba..0c41cb8d23 100644 --- a/examples/default/main.tf +++ b/examples/default/main.tf @@ -99,7 +99,8 @@ module "runners" { } module "webhook-github-app" { - source = "../../modules/webhook-github-app" + source = "../../modules/webhook-github-app" + depends_on = [module.runners] github_app = { key_base64 = var.github_app.key_base64 diff --git a/examples/ephemeral/main.tf b/examples/ephemeral/main.tf index 4346a351bd..43423861d0 100644 --- a/examples/ephemeral/main.tf +++ b/examples/ephemeral/main.tf @@ -87,7 +87,8 @@ module "runners" { } module "webhook-github-app" { - source = "../../modules/webhook-github-app" + source = "../../modules/webhook-github-app" + depends_on = [module.runners] github_app = { key_base64 = var.github_app.key_base64 diff --git a/examples/multi-runner/main.tf b/examples/multi-runner/main.tf index 1366c7e7c6..bc4d4359ee 100644 --- a/examples/multi-runner/main.tf +++ b/examples/multi-runner/main.tf @@ -49,7 +49,8 @@ module "multi-runner" { } module "webhook-github-app" { - source = "../../modules/webhook-github-app" + source = "../../modules/webhook-github-app" + depends_on = [module.multi-runner] github_app = { key_base64 = var.github_app.key_base64 diff --git a/examples/prebuilt/main.tf b/examples/prebuilt/main.tf index 18c60f3710..7c45925b78 100644 --- a/examples/prebuilt/main.tf +++ b/examples/prebuilt/main.tf @@ -63,7 +63,8 @@ module "runners" { } module "webhook-github-app" { - source = "../../modules/webhook-github-app" + source = "../../modules/webhook-github-app" + depends_on = [module.runners] github_app = { key_base64 = var.github_app.key_base64 diff --git a/examples/ubuntu/main.tf b/examples/ubuntu/main.tf index 06b9fe6833..d6aaf7a24e 100644 --- a/examples/ubuntu/main.tf +++ b/examples/ubuntu/main.tf @@ -15,7 +15,8 @@ module "base" { } module "runners" { - source = "../../" + source = "../../" + depends_on = [module.runners] aws_region = local.aws_region vpc_id = module.base.vpc.vpc_id diff --git a/examples/windows/main.tf b/examples/windows/main.tf index 25784981eb..1f4e157927 100644 --- a/examples/windows/main.tf +++ b/examples/windows/main.tf @@ -55,7 +55,8 @@ module "runners" { } module "webhook-github-app" { - source = "../../modules/webhook-github-app" + source = "../../modules/webhook-github-app" + depends_on = [module.runners] github_app = { key_base64 = var.github_app.key_base64