Skip to content

Commit

Permalink
make csvd-dev-mcm cluster for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed Feb 20, 2026
1 parent dbfc11f commit e6ccb4b
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions examples/csvd-dev-mcm/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-dev-mcm"
environment = "dev"
region = "us-gov-east-1"

# Cluster configuration - simplified interface
cluster_config = {
account_name = "csvd-dev-gov"
aws_account_id = "229685449397"
cluster_mailing_list = "matthew.c.morgan@census.gov"
environment_abbr = "dev"
finops_project_name = "csvd_platformbaseline"
finops_project_number = "fs0000000078"
finops_project_role = "csvd_platformbaseline_eks"
vpc_domain_name = "dev.csvd.csp1.census.gov"
vpc_name = "vpc2-csvd-dev"
tags = {
Owner = "matthew.c.morgan@census.gov"
Environment = "development"
CostCenter = "fs0000000078"
}
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 e6ccb4b

Please sign in to comment.