{"id":21601320,"url":"https://github.com/dominodatalab/terraform-external-sagemaker","last_synced_at":"2026-02-10T21:32:37.347Z","repository":{"id":262709540,"uuid":"876141884","full_name":"dominodatalab/terraform-external-sagemaker","owner":"dominodatalab","description":"Terraform module for setting up an external AWS account as a sagemaker deployment target in Domino.","archived":false,"fork":false,"pushed_at":"2025-02-18T17:09:03.000Z","size":20,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-09-05T17:11:31.407Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dominodatalab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-10-21T13:21:15.000Z","updated_at":"2024-11-18T17:12:28.000Z","dependencies_parsed_at":"2024-11-13T21:37:31.576Z","dependency_job_id":"d06823d2-2b0f-4e5f-b997-c547fd9852a1","html_url":"https://github.com/dominodatalab/terraform-external-sagemaker","commit_stats":null,"previous_names":["dominodatalab/terraform-external-sagemaker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dominodatalab/terraform-external-sagemaker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dominodatalab%2Fterraform-external-sagemaker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dominodatalab%2Fterraform-external-sagemaker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dominodatalab%2Fterraform-external-sagemaker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dominodatalab%2Fterraform-external-sagemaker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dominodatalab","download_url":"https://codeload.github.com/dominodatalab/terraform-external-sagemaker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dominodatalab%2Fterraform-external-sagemaker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29317956,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-10T20:44:44.282Z","status":"ssl_error","status_checked_at":"2026-02-10T20:44:43.393Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-24T19:08:58.403Z","updated_at":"2026-02-10T21:32:37.326Z","avatar_url":"https://github.com/dominodatalab.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# terraform-external-sagemaker\n\nThis is a terraform module for setting up an external AWS account as a sagemaker deployment target in Domino.\n\n## Prerequisites\nMust be running Domino 6.0.0 (or newer) on AWS EKS\n\n## Testing locally\n1. Configure the AWS CLI with valid admin creds for an AWS account to use in testing\n2. `terraform init`\n3. `terraform test -verbose`\n4. Verify the tests succeeded or failed.\n\n## Applying remotely\n1. Configure the AWS CLI with valid admin creds for the target AWS account\n2. `terraform init`\n3. `terraform apply`\n   1. Enter the value for `domino_external_deployments_role_arn` when prompted.  Use the ARN of the external deployments\n      IAM role for the Domino platform.\n      ```\n      var.domino_external_deployments_role_arn\n      ARN for the Domino external deployments IAM role (in the domino AWS account)\n\n      Enter a value: arn:aws:iam::123456789012:role/domino-external-deployments-operator\n      ```\n   2. Enter the value for `region` when prompted.  Use the region where you want sagemaker resources to be created in \n      the target account (NOT the region of the Domino platform).\n      ```\n      var.region\n      AWS region in which to create the sagemaker resources\n\n      Enter a value: us-west-2\n      ```\n   3. If successful, you'll see output like this:\n      ```\n      Apply complete! Resources: 3 added, 0 changed, 0 destroyed.\n\n      Outputs:\n\n      sagemaker = {\n      \"account_id\" = \"521624712688\"\n      \"bucket\" = \"domino-sagemaker-521624712688\"\n      \"region\" = \"us-west-2\"\n      \"repository\" = \"domino-sagemaker\"\n      \"role_arn\" = \"arn:aws:iam::521624712688:role/domino-sagemaker\"\n      }\n      ```\n\n## Destroying remotely\n1. Configure the AWS CLI with valid admin creds for the target AWS account\n2. `terraform init`\n3. `terraform destroy`\n    1. Enter the value for `domino_external_deployments_role_arn` when prompted.  Use the ARN of the external deployments\n       IAM role for the Domino platform.\n       ```\n       var.domino_external_deployments_role_arn\n       ARN for the Domino external deployments IAM role (in the domino AWS account)\n \n       Enter a value: arn:aws:iam::123456789012:role/domino-external-deployments-operator\n       ```\n    2. Enter the value for `region` when prompted.  Use the region where you want sagemaker resources to be created in\n       the target account (NOT the region of the Domino platform).\n       ```\n       var.region\n       AWS region in which to create the sagemaker resources\n \n       Enter a value: us-west-2\n       ```\n    3. If successful, you'll see output like this:\n       ```\n       Destroy complete! Resources: 3 destroyed.\n       ```\n\n\n\u003c!-- BEGIN_TF_DOCS --\u003e\n## Requirements\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"requirement_terraform\"\u003e\u003c/a\u003e [terraform](#requirement\\_terraform) | \u003e= 1.0 |\n| \u003ca name=\"requirement_aws\"\u003e\u003c/a\u003e [aws](#requirement\\_aws) | ~\u003e 5.0 |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_aws\"\u003e\u003c/a\u003e [aws](#provider\\_aws) | ~\u003e 5.0 |\n\n## Modules\n\nNo modules.\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [aws_iam_policy.role_permissions_policy](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_policy) | resource |\n| [aws_iam_role.domino_sagemaker_role](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role) | resource |\n| [aws_iam_role_policy_attachment.role_permissions_policy](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role_policy_attachment) | resource |\n| [aws_caller_identity.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity) | data source |\n| [aws_iam_policy_document.read_domino_environments](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source |\n| [aws_iam_policy_document.role_permissions_policy](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source |\n| [aws_iam_policy_document.role_trust_policy](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source |\n| [aws_partition.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/partition) | data source |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_bucket\"\u003e\u003c/a\u003e [bucket](#input\\_bucket) | S3 bucket to use for sagemaker deployment model artifacts (in the target AWS account).  Defaults to the value specified by `resource_identifier` plus the suffix `-{aws_account_id}.` | `string` | `null` | no |\n| \u003ca name=\"input_domino_environments_repository_arn\"\u003e\u003c/a\u003e [domino\\_environments\\_repository\\_arn](#input\\_domino\\_environments\\_repository\\_arn) | ARN for the Domino environments repository.  ONLY needed if deploying in the SAME AWS account as Domino. | `string` | n/a | yes |\n| \u003ca name=\"input_domino_external_deployments_role_arn\"\u003e\u003c/a\u003e [domino\\_external\\_deployments\\_role\\_arn](#input\\_domino\\_external\\_deployments\\_role\\_arn) | ARN for the Domino external deployments IAM role (in the domino AWS account) | `string` | n/a | yes |\n| \u003ca name=\"input_region\"\u003e\u003c/a\u003e [region](#input\\_region) | AWS region in which to create the sagemaker resources | `string` | n/a | yes |\n| \u003ca name=\"input_repository\"\u003e\u003c/a\u003e [repository](#input\\_repository) | ECR repository name to use for sagemaker deployment images (in the target AWS account).  Defaults to the value specified by `resource_identifier`. | `string` | `null` | no |\n| \u003ca name=\"input_resource_identifier\"\u003e\u003c/a\u003e [resource\\_identifier](#input\\_resource\\_identifier) | identifier for domino-created resources in the AWS account | `string` | `\"domino-sagemaker\"` | no |\n| \u003ca name=\"input_role_name\"\u003e\u003c/a\u003e [role\\_name](#input\\_role\\_name) | IAM role name to use for creating sagemaker deployment resources (in the target AWS account).  Defaults to the value specified by `resource_identifier`. | `string` | `null` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_sagemaker\"\u003e\u003c/a\u003e [sagemaker](#output\\_sagemaker) | Domino sagemaker deployments info |\n\u003c!-- END_TF_DOCS --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdominodatalab%2Fterraform-external-sagemaker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdominodatalab%2Fterraform-external-sagemaker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdominodatalab%2Fterraform-external-sagemaker/lists"}