@@ -20,6 +20,9 @@ module "wandb_infra" {
2020
2121  deletion_protection  =  false 
2222
23+   enable_dummy_dns  =  true 
24+   enable_operator_alb  =  true 
25+ 
2326  database_instance_class       =  . database_instance_class 
2427  database_engine_version       =  . database_engine_version 
2528  database_snapshot_identifier  =  . database_snapshot_identifier 
@@ -28,7 +31,7 @@ module "wandb_infra" {
2831  allowed_inbound_cidr       =  . allowed_inbound_cidr 
2932  allowed_inbound_ipv6_cidr  =  " ::/0" 
3033
31-   eks_cluster_version             =  " 1.25 " 
34+   eks_cluster_version             =  " 1.26 " 
3235  kubernetes_public_access        =  true 
3336  kubernetes_public_access_cidrs  =  " 0.0.0.0/0" 
3437
@@ -83,34 +86,6 @@ provider "helm" {
8386  }
8487}
8588
86- module  "wandb_app"  {
87-   source   =  " wandb/wandb/kubernetes" 
88-   version  =  " 1.12.0" 
89- 
90-   license  =  . wandb_license 
91- 
92-   host                        =  . wandb_infra . url 
93-   bucket                      =  " s3://${ module . wandb_infra . bucket_name } " 
94-   bucket_aws_region           =  . wandb_infra . bucket_region 
95-   bucket_queue                =  " internal://" 
96-   bucket_kms_key_arn          =  . wandb_infra . kms_key_arn 
97-   database_connection_string  =  " mysql://${ module . wandb_infra . database_connection_string } " 
98-   redis_connection_string     =  " redis://${ module . wandb_infra . elasticache_connection_string } ?tls=true&ttlInSeconds=604800" 
99- 
100-   wandb_image    =  . wandb_image 
101-   wandb_version  =  . wandb_version 
102- 
103-   service_port  =  . wandb_infra . internal_app_port 
104- 
105-   #  If we dont wait, tf will start trying to deploy while the work group is
106-   #  still spinning up
107-   depends_on  =  module . wandb_infra ]
108- 
109-   other_wandb_env  =  merge ({
110-     " GORILLA_CUSTOMER_SECRET_STORE_SOURCE"  =  " aws-secretmanager://${ var . namespace } ?namespace=${ var . namespace } " 
111-   }, var. other_wandb_env )
112- }
113- 
11489output  "bucket_name"  {
11590  value  =  . wandb_infra . bucket_name 
11691}
0 commit comments