Skip to content

Bug: Unable to Use Existing GitHub Team During Bootstrap Due to Terraform Type Mismatch #487

@mbansal86

Description

@mbansal86

Is there an existing issue for this?

  • I have searched the existing issues

Infrastructure as Code Type? (Required)

terraform

PowerShell Module Version (Optional)

No response

Bootstrap Module Version (Optional)

No response

Starter Module? (Required)

terraform - platform_landing_zone

Starter Module Version (Optional)

No response

Input arguments of the ALZ-PowerShell-Module (Optional)

No response

Debug Output/Panic Output (Optional)

Expected Behaviour (Required)

The bootstrap process should successfully accept and process an existing GitHub Team as input, and Terraform should run without type compatibility issues.

Actual Behaviour (Required)

While running the bootstrap process with the Terraform Platform Landing Zone using GitHub, I attempted to use an existing GitHub Team for the approval workflow instead of creating a new one.

However, this results in a Terraform type mismatch error. The issue appears due to a missing length function keyword in the module, specifically at the following line:
https://github.com/Azure/accelerator-bootstrap-modules/blob/main/modules/github/team.tf#L25

Could you please review and update the module to correctly handle existing GitHub Teams?

Steps to Reproduce (Optional)

No response

Important Factoids (Optional)

No response

References (Optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: Long Term ⌛We will do it, but will take a longer amount of time due to complexity/prioritiesType: Bug 🪲Something isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions