Skip to content

Commit

Permalink
Add repo_visibility variable passthrough to deploy module
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Feb 20, 2026
1 parent b75a318 commit 0d135a3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions deploy/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ module "eks_terragrunt_repo_generator" {
github_api_url = var.github_api_url
github_org_name = var.github_org_name
template_repo_name = var.template_repo_name
repo_visibility = var.repo_visibility

# GitHub token from Secrets Manager
github_token = {
Expand Down
6 changes: 6 additions & 0 deletions deploy/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ variable "github_token_secret_name" {
type = string
}

variable "repo_visibility" {
description = "Default visibility for newly created repos. GHE enterprise policies often block 'private'; use 'internal'."
type = string
default = "internal"
}

variable "image_tag" {
description = "Tag of the Docker image in ECR"
type = string
Expand Down

0 comments on commit 0d135a3

Please sign in to comment.