Loading...
Loading...
### Terraform Version ```shell Terraform version: 1.10.1 ``` ### Terraform Configuration Files ```terraform # main.tf # variable declarations omitted terraform { required_version = ">= 1.9.8" required_providers { github = { source = "integrations/github" version = "6.4.0" } } } provider "github" { owner = var.application_owner app_auth { id = var.application_id installation_id = var.application_installation_id pem_file = file("./lsf_pk.pem") } } module "landing_zone_type_repositories" { source = "./github_repo" for_each = { for lzt in local.landing_zone_types : "lzt-${lzt.repository}" => lzt } repo_name = "lzt-${each.value.repository}" } # ./github_repo/main.tf # variable declarations omitted terraform { required_version = ">= 1.9.8" required_providers { github = { source = "integrations/github" version = "6.4.0" } } } resource "github_repository" "lzt_name" { name = var.repo_name is_template = true visibility = var.visibility } ``` ### Debug Output https://gist.github.com/abaddon82/3b0320f6cc82ee811c8a11f2d2c74480 ### Expected Behavior Array of GitHub repositories should be created/configured. ### Actual Behavior Application crash. ### Steps to Reproduce 1. terraform init 2. terraform apply ### Additional Context _No response_ ### References _No response_
Click on a version to see all relevant bugs
Terraform Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.