Skip to content

Adding Git Repositories

Connect your Git repositories to CloudPie projects for managing infrastructure code and policies.

Prerequisites

  • An active project in CloudPie
  • User with permissions to add Git repositories
  • Valid Git repository URL
  • Repository access token (if repository is private)

Step-by-Step Guide

  1. Access the Project:
  2. Navigate to the Dashboard
  3. Select your target project
  4. Click Add Git Repository in the left sidebar menu

  5. Configure Repository Settings:

  6. Repository URL (Required) Enter the complete HTTPS URL of your Git repository Example: https://github.com/username/repository.git

  7. Branch Name (Optional) Specify the branch to use Default: main

  8. Set Configuration Paths: (All Optional)

  9. Terraform Configuration Path Directory containing Terraform configurations Example: /terraform

  10. Steampipe Queries Path Location of Steampipe/Powerpipe queries Example: /queries

  11. Custom Powerpipe Benchmark Path Directory for custom benchmarks Example: /benchmarks

  12. Policy Governance Path Location of policy files Example: /policies

  13. Add Authentication: (Optional)

  14. Repository Token Required only for private repositories Example: Personal Access Token with repo access

  15. Submit:

  16. Review all entered information
  17. Click Submit to add the repository

Screenshot showing Add Git Repository form

Important Notes

  • Repository name is automatically generated from the URL
  • All path configurations are optional
  • Invalid paths may cause pipeline failures
  • Token is required for private repository access
  • Changes take effect immediately after submission