Skip to content

Commit

Permalink
Rename adsd tools (#15)
Browse files Browse the repository at this point in the history
* rename cluster in convo with customer

* create cluster in csvd-common for testing
  • Loading branch information
morga471 committed Mar 11, 2026
1 parent d58dd54 commit cb824b6
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions examples/csvd-mcm-common/main.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
provider "aws" {
}

data "aws_secretsmanager_secret_version" "github_token" {
secret_id = "/eks-cluster-deployment/github_token"
}

provider "github" {
token = data.aws_secretsmanager_secret_version.github_token.secret_string
}

module "eks_deployment" {
source = "../../"

# Repository and cluster configuration - single name for both
name = "csvd-mcm-common"
environment = "prod"
region = "us-gov-east-1"

# Cluster configuration - simplified interface
cluster_config = {
account_name = "csvd-mcm-common"
aws_account_id = "220615867784"
cluster_mailing_list = "matthew.c.morgan@census.gov"
environment_abbr = "prod"
finops_project_name = "csvd_platformbaseline",
finops_project_number = "fs0000000078",
finops_project_role = "csvd_platformbaseline_app",
vpc_domain_name = "shared.inf.csp1.census.gov"
vpc_name = "vpc2-inf-shared"
tags = {
Owner = "matthew.c.morgan@census.gov"
Environment = "development"
CostCenter = "census:ocio:csvd"
}
organization = "census:ocio:csvd"
}
}

output "repository_url" {
description = "URL of the created GitHub repository"
value = module.eks_deployment.repository_url
}

output "ssh_clone_url" {
description = "SSH clone URL of the repository"
value = module.eks_deployment.ssh_clone_url
}

0 comments on commit cb824b6

Please sign in to comment.