Skip to content

Commit

Permalink
tenant codebuild updated
Browse files Browse the repository at this point in the history
  • Loading branch information
sfdevops committed Aug 24, 2024
1 parent a79aabb commit a3869ed
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion terraform/tenant-codebuilds/dev.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ region = "us-west-2"
namespace = "sf-arc-saas"
environment = "dev"
concurrent_build_limit = 10
is_organization = true
is_organization = false
organization_name = "sourcefuse"
premium_source_version = "refs/heads/main"
standard_source_version = "refs/heads/main"
basic_source_version = "refs/heads/main"
Expand Down
2 changes: 1 addition & 1 deletion terraform/tenant-codebuilds/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ provider "aws" {

provider "github" {
token = "${data.aws_ssm_parameter.github_token.value}"
owner = var.is_organization == true ? var.organization : ""
owner = var.is_organization == true ? var.organization_name : ""
}
2 changes: 1 addition & 1 deletion terraform/tenant-codebuilds/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ variable "is_organization" {
default = false
}

variable "organization" {
variable "organization_name" {
type = string
description = "Github organization Name"
default = "sourcefuse"
Expand Down

0 comments on commit a3869ed

Please sign in to comment.