-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* rename cluster in convo with customer * create cluster in csvd-common for testing
- Loading branch information
Showing
1 changed file
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 | ||
| } |