Skip to content

Commit

Permalink
Bugfix/repair errors from recent merges (#186)
Browse files Browse the repository at this point in the history
* testing current version

* latest:
  • Loading branch information
aidanrussell authored Dec 17, 2024
1 parent b8583ca commit f3f7660
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
4 changes: 0 additions & 4 deletions infra/ecr.tf
Original file line number Diff line number Diff line change
Expand Up @@ -229,10 +229,6 @@ resource "aws_ecr_repository" "arango" {
name = "${var.prefix}-arango"
}

resource "aws_ecr_repository" "sagemaker" {
name = "${var.prefix}-sagemaker"
}

resource "aws_ecr_lifecycle_policy" "arango_expire_untagged_after_one_day" {
count = var.arango_on ? 1 : 0
repository = aws_ecr_repository.arango[0].name
Expand Down
11 changes: 8 additions & 3 deletions infra/sagemaker.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module "sagemaker_domain" {
# IAM Roles and Policies for SageMaker
module "iam" {
source = "./modules/sagemaker_init/iam"
prefix = "sagemaker"
prefix = var.prefix
sagemaker_default_bucket_name = var.sagemaker_default_bucket
aws_s3_bucket_notebook = aws_s3_bucket.notebooks
account_id = data.aws_caller_identity.aws_caller_identity.account_id
Expand Down Expand Up @@ -119,6 +119,13 @@ module "sns" {
notification_email = var.sagemaker_budget_emails
}

module "sagemaker_output_mover" {
source = "./modules/sagemaker_output_mover"
account_id = data.aws_caller_identity.aws_caller_identity.account_id
aws_region = data.aws_region.aws_region.name
s3_bucket_notebooks_arn = aws_s3_bucket.notebooks.arn
}

module "log_group" {
source = "./modules/logs"
prefix = "data-workspace-sagemaker"
Expand Down Expand Up @@ -154,5 +161,3 @@ module "budgets" {
sns_topic_arn = module.sns.sns_topic_arn
notification_email = var.sagemaker_budget_emails
}


0 comments on commit f3f7660

Please sign in to comment.