Skip to content

Commit eebb1f5

Browse files
author
Lingling Peng
committed
add bucket
1 parent 214a5b1 commit eebb1f5

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

deployments/stacks/dpe-k8s/main.tf

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,15 @@ module "synapse_dataset_to_crossiant_metadata" {
5757
enable_cors = true
5858
}
5959

60+
module "synapse_data_catalog_minimal_jsonld" {
61+
# This points to the prod cluster - The only location where we want to create the bucket
62+
count = var.cluster_name == "dpe-k8" ? 1 : 0
63+
source = "../../../modules/s3-bucket"
64+
bucket_name = "synapse-data-catalog-jsonld"
65+
enable_versioning = true
66+
aws_account_id = var.aws_account_id
67+
cluster_name = var.cluster_name
68+
cluster_oidc_provider_arn = module.sage-aws-eks.cluster_oidc_provider_arn
69+
public_access = false
70+
enable_cors = true
71+
}

0 commit comments

Comments
 (0)