{"id":"aws-ia/sagemaker-unified-studio/aws/0.2.1","owner":"aws-ia-ci","namespace":"aws-ia","name":"sagemaker-unified-studio","version":"0.2.1","provider":"aws","provider_logo_url":"/images/providers/aws.png","description":"","source":"https://github.com/aws-ia/terraform-aws-sagemaker-unified-studio","tag":"v0.2.1","published_at":"2026-08-17T19:17:43.875313Z","downloads":7283,"verified":false,"root":{"path":"","name":"sagemaker-unified-studio","readme":"\u003c!-- BEGIN_TF_DOCS --\u003e\n# IaC Module for Amazon Sagemaker Unified Studio\n\nThis is the root module for deploying an Amazon SageMaker Unified Studio domain using Terraform. It handles the core infrastructure that every deployment needs.\n\n## What This Module Creates\n\n- A **SageMaker Unified Studio (V2) domain** backed by Amazon DataZone\n- **IAM roles** — domain execution, domain service, query execution, provisioning, and manage access roles (auto-created unless you bring your own)\n- The **Tooling blueprint** — enabled and configured with VPC, subnet, and S3 parameters\n- An **S3 bucket** for tooling environment storage (optional — skipped if you provide an existing bucket name)\n- **Model governance resources** (optional) — a project profile and project used to govern Bedrock generative AI models\n\nRole creation follows a 3-tier resolution: user-provided ARN → pre-existing role discovered in AWS → Terraform-managed role. This means the module is safe to run in accounts that already have the standard SageMaker Unified Studio roles.\n\n## Sub-Modules\n\nThis module is designed to work alongside several sub-modules that handle specific resource types:\n\n| Module | Path | Purpose |\n|---|---|---|\n| Blueprint | `modules/blueprint` | Enable an environment blueprint on a domain |\n| Blueprint Bootstrap | `modules/blueprint-bootstrap` | Create the Provisioning and ManageAccess IAM roles required to enable blueprints on a domain |\n| Project Profile | `modules/project-profile` | Compose blueprints into a deployable project profile |\n| Default Project Profile | `modules/default-project-profile` | Enable the ToolingLite, S3Bucket, and S3TableCatalog blueprints and create the Default Project Profile used for bring-your-own-role projects |\n| Project | `modules/project` | Create a project from a project profile |\n| Project Membership | `modules/project-membership` | Add owner and contributor principals (SSO users/groups, IAM users, IAM roles) to a project |\n| Domain Management Portal | `modules/domain-management-portal` | Create the admin project that enables the domain management portal |\n| Policy Grant | `modules/policy-grant-create-project` | Grant the `CREATE_PROJECT` policy on a domain |\n\n## Quick Start\n\n```hcl\nmodule \"domain\" {\n  source = \"path/to/this/module\"\n\n  domain_name = \"my-unified-studio-domain\"\n  vpc_id      = \"vpc-0abc123def456\"\n  subnet_ids  = [\"subnet-0aaa111\", \"subnet-0bbb222\"]\n\n  # Optional — omit to let the module create one automatically\n  # s3_bucket_name = \"my-existing-bucket\"\n\n  # Optional — omit to let the module create the roles automatically\n  # domain_execution_role_arn = \"arn:aws:iam::123456789012:role/MyDomainExecRole\"\n  # provisioning_role_arn     = \"arn:aws:iam::123456789012:role/MyProvisioningRole\"\n  # manage_access_role_arn    = \"arn:aws:iam::123456789012:role/MyManageAccessRole\"\n\n  tags = {\n    Environment = \"dev\"\n  }\n}\n```\n\nOnly `vpc_id` and `subnet_ids` are required. All IAM roles, the S3 bucket, and the domain name are auto-generated when not provided. See `variables.tf` for the full list of configurable inputs.\n\n## Testing and Stability\n\nThe most tested deployment path is the [quick-setup example](examples/quick-setup/), which exercises this root module along with the blueprint, project-profile, and project sub-modules end-to-end. If you use the sub-modules in different combinations and encounter issues, please open an issue on GitHub so we can investigate.\n\n## Cleanup\n\nBefore running `terraform destroy`, you must empty the S3 bucket created by this module. The bucket has `force_destroy` disabled intentionally to prevent accidental deletion of important data.\n\n```bash\n# Empty the bucket first (replace with your actual bucket name)\naws s3 rm s3://\u003cyour-tooling-bucket-name\u003e --recursive\n\n# Then destroy all resources\nterraform destroy\n```\n\nIf you skip the first step, the destroy will fail on the S3 bucket resource. Simply empty the bucket and re-run `terraform destroy` to continue.\n\n## Requirements\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"requirement_terraform\"\u003e\u003c/a\u003e [terraform](#requirement\\_terraform) | \u003e= 1.7 |\n| \u003ca name=\"requirement_aws\"\u003e\u003c/a\u003e [aws](#requirement\\_aws) | \u003e= 6.51.0 |\n| \u003ca name=\"requirement_awscc\"\u003e\u003c/a\u003e [awscc](#requirement\\_awscc) | \u003e= 1.89.0 |\n| \u003ca name=\"requirement_random\"\u003e\u003c/a\u003e [random](#requirement\\_random) | \u003e= 3.8.1 |\n| \u003ca name=\"requirement_time\"\u003e\u003c/a\u003e [time](#requirement\\_time) | \u003e= 0.13.1 |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_aws\"\u003e\u003c/a\u003e [aws](#provider\\_aws) | \u003e= 6.51.0 |\n| \u003ca name=\"provider_awscc\"\u003e\u003c/a\u003e [awscc](#provider\\_awscc) | \u003e= 1.89.0 |\n| \u003ca name=\"provider_random\"\u003e\u003c/a\u003e [random](#provider\\_random) | \u003e= 3.8.1 |\n\n## Modules\n\n| Name | Source | Version |\n|------|--------|---------|\n| \u003ca name=\"module_bootstrap\"\u003e\u003c/a\u003e [bootstrap](#module\\_bootstrap) | ./modules/blueprint-bootstrap | n/a |\n| \u003ca name=\"module_tooling_blueprint\"\u003e\u003c/a\u003e [tooling\\_blueprint](#module\\_tooling\\_blueprint) | ./modules/blueprint | n/a |\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [aws_datazone_domain.main](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/datazone_domain) | resource |\n| [aws_iam_role.domain_execution](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role) | resource |\n| [aws_iam_role.domain_service](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role) | resource |\n| [aws_iam_role.query_execution](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role) | resource |\n| [aws_iam_role_policy_attachment.domain_execution_policy](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role_policy_attachment) | resource |\n| [aws_iam_role_policy_attachment.domain_service_policy](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role_policy_attachment) | resource |\n| [aws_iam_role_policy_attachment.query_execution_policy](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role_policy_attachment) | resource |\n| [aws_s3_bucket.domain](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket) | resource |\n| [aws_s3_bucket_public_access_block.domain](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket_public_access_block) | resource |\n| [aws_s3_bucket_server_side_encryption_configuration.domain](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket_server_side_encryption_configuration) | resource |\n| [awscc_datazone_project.model_governance_project](https://registry.terraform.io/providers/hashicorp/awscc/latest/docs/resources/datazone_project) | resource |\n| [awscc_datazone_project_profile.model_governance_project_profile](https://registry.terraform.io/providers/hashicorp/awscc/latest/docs/resources/datazone_project_profile) | resource |\n| [random_string.suffix](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/string) | resource |\n| [aws_caller_identity.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity) | data source |\n| [aws_datazone_domain.main](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/datazone_domain) | data source |\n| [aws_iam_roles.domain_execution_role](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_roles) | data source |\n| [aws_iam_roles.domain_service_role](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_roles) | data source |\n| [aws_region.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/region) | data source |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_subnet_ids\"\u003e\u003c/a\u003e [subnet\\_ids](#input\\_subnet\\_ids) | Subnet IDs for Tooling blueprint regional parameters | `list(string)` | n/a | yes |\n| \u003ca name=\"input_vpc_id\"\u003e\u003c/a\u003e [vpc\\_id](#input\\_vpc\\_id) | VPC ID for Tooling blueprint regional parameters | `string` | n/a | yes |\n| \u003ca name=\"input_description\"\u003e\u003c/a\u003e [description](#input\\_description) | Description of the domain | `string` | `\"SageMaker Unified Studio domain managed by Terraform\"` | no |\n| \u003ca name=\"input_domain_execution_role_arn\"\u003e\u003c/a\u003e [domain\\_execution\\_role\\_arn](#input\\_domain\\_execution\\_role\\_arn) | ARN of the domain execution role for SageMaker Unified Studio | `string` | `null` | no |\n| \u003ca name=\"input_domain_name\"\u003e\u003c/a\u003e [domain\\_name](#input\\_domain\\_name) | Name of the DataZone domain (matches CloudFormation DomainName parameter) | `string` | `null` | no |\n| \u003ca name=\"input_domain_service_role_arn\"\u003e\u003c/a\u003e [domain\\_service\\_role\\_arn](#input\\_domain\\_service\\_role\\_arn) | ARN of the domain service role for SageMaker Unified Studio | `string` | `null` | no |\n| \u003ca name=\"input_enable_sso\"\u003e\u003c/a\u003e [enable\\_sso](#input\\_enable\\_sso) | Choose to enable single sign on (SSO) and use an existing AWS IAM Identity Center Instance. When set to true, this will use the default IAM IDC instance that is enabled for the account within the same region as the domain. | `bool` | `false` | no |\n| \u003ca name=\"input_kms_key_identifier\"\u003e\u003c/a\u003e [kms\\_key\\_identifier](#input\\_kms\\_key\\_identifier) | ARN of the KMS key used to encrypt the Amazon DataZone domain, metadata and reporting data (if null, uses AWS managed key) | `string` | `null` | no |\n| \u003ca name=\"input_manage_access_role_arn\"\u003e\u003c/a\u003e [manage\\_access\\_role\\_arn](#input\\_manage\\_access\\_role\\_arn) | ARN of existing AmazonSageMakerManageAccess role. If not provided, the role is auto-created. | `string` | `null` | no |\n| \u003ca name=\"input_provisioning_role_arn\"\u003e\u003c/a\u003e [provisioning\\_role\\_arn](#input\\_provisioning\\_role\\_arn) | ARN of existing AmazonSageMakerProvisioning role. If not provided, the role is auto-created. | `string` | `null` | no |\n| \u003ca name=\"input_query_execution_role_arn\"\u003e\u003c/a\u003e [query\\_execution\\_role\\_arn](#input\\_query\\_execution\\_role\\_arn) | ARN of a custom query execution role for the Tooling blueprint. If not provided, the service uses the default AmazonSageMakerQueryExecution role. | `string` | `null` | no |\n| \u003ca name=\"input_s3_bucket_name\"\u003e\u003c/a\u003e [s3\\_bucket\\_name](#input\\_s3\\_bucket\\_name) | Existing S3 bucket name for Tooling blueprint storage. If null, a dedicated bucket is created. | `string` | `null` | no |\n| \u003ca name=\"input_tags\"\u003e\u003c/a\u003e [tags](#input\\_tags) | Tags to apply to the domain and related resources | `map(string)` | `{}` | no |\n| \u003ca name=\"input_user_role_policy_arns\"\u003e\u003c/a\u003e [user\\_role\\_policy\\_arns](#input\\_user\\_role\\_policy\\_arns) | List of IAM policy ARNs to apply as user role policies on the Tooling blueprint. Defaults to SageMakerStudioProjectUserRolePolicy if not provided. | `list(string)` | `null` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_account_id\"\u003e\u003c/a\u003e [account\\_id](#output\\_account\\_id) | AWS Account ID where the domain is created |\n| \u003ca name=\"output_domain_arn\"\u003e\u003c/a\u003e [domain\\_arn](#output\\_domain\\_arn) | ARN of the SageMaker Unified Studio domain |\n| \u003ca name=\"output_domain_execution_role_arn\"\u003e\u003c/a\u003e [domain\\_execution\\_role\\_arn](#output\\_domain\\_execution\\_role\\_arn) | ARN of the domain execution role (created or existing) |\n| \u003ca name=\"output_domain_execution_role_created\"\u003e\u003c/a\u003e [domain\\_execution\\_role\\_created](#output\\_domain\\_execution\\_role\\_created) | Whether the domain execution role was created by this module (false if it already existed) |\n| \u003ca name=\"output_domain_execution_role_name\"\u003e\u003c/a\u003e [domain\\_execution\\_role\\_name](#output\\_domain\\_execution\\_role\\_name) | Name of the domain execution role |\n| \u003ca name=\"output_domain_id\"\u003e\u003c/a\u003e [domain\\_id](#output\\_domain\\_id) | ID of the SageMaker Unified Studio domain |\n| \u003ca name=\"output_domain_name\"\u003e\u003c/a\u003e [domain\\_name](#output\\_domain\\_name) | Name of the SageMaker Unified Studio domain |\n| \u003ca name=\"output_domain_root_unit_id\"\u003e\u003c/a\u003e [domain\\_root\\_unit\\_id](#output\\_domain\\_root\\_unit\\_id) | Actual root domain unit ID (not domain ID) |\n| \u003ca name=\"output_domain_service_role_arn\"\u003e\u003c/a\u003e [domain\\_service\\_role\\_arn](#output\\_domain\\_service\\_role\\_arn) | ARN of the domain service role (created or existing) |\n| \u003ca name=\"output_domain_service_role_created\"\u003e\u003c/a\u003e [domain\\_service\\_role\\_created](#output\\_domain\\_service\\_role\\_created) | Whether the domain service role was created by this module (false if it already existed) |\n| \u003ca name=\"output_domain_service_role_name\"\u003e\u003c/a\u003e [domain\\_service\\_role\\_name](#output\\_domain\\_service\\_role\\_name) | Name of the domain service role |\n| \u003ca name=\"output_domain_url\"\u003e\u003c/a\u003e [domain\\_url](#output\\_domain\\_url) | Portal URL of the SageMaker Unified Studio domain |\n| \u003ca name=\"output_manage_access_role_arn\"\u003e\u003c/a\u003e [manage\\_access\\_role\\_arn](#output\\_manage\\_access\\_role\\_arn) | ARN of the manage access role (created or provided). Pass to blueprint modules. |\n| \u003ca name=\"output_provisioning_role_arn\"\u003e\u003c/a\u003e [provisioning\\_role\\_arn](#output\\_provisioning\\_role\\_arn) | ARN of the provisioning role (created or provided). Pass to blueprint modules. |\n| \u003ca name=\"output_query_execution_role_arn\"\u003e\u003c/a\u003e [query\\_execution\\_role\\_arn](#output\\_query\\_execution\\_role\\_arn) | ARN of the query execution role (created or provided). Used by the Tooling blueprint. |\n| \u003ca name=\"output_region\"\u003e\u003c/a\u003e [region](#output\\_region) | AWS Region where the domain is created |\n| \u003ca name=\"output_s3_bucket_name\"\u003e\u003c/a\u003e [s3\\_bucket\\_name](#output\\_s3\\_bucket\\_name) | S3 bucket name used by the Tooling blueprint (created or provided) |\n| \u003ca name=\"output_tooling_blueprint_id\"\u003e\u003c/a\u003e [tooling\\_blueprint\\_id](#output\\_tooling\\_blueprint\\_id) | ID of the Tooling environment blueprint |\n\u003c!-- END_TF_DOCS --\u003e","empty":false,"inputs":[{"name":"domain_execution_role_arn","type":"string","description":"ARN of the domain execution role for SageMaker Unified Studio","default":"null","required":false},{"name":"domain_service_role_arn","type":"string","description":"ARN of the domain service role for SageMaker Unified Studio","default":"null","required":false},{"name":"tags","type":"map(string)","description":"Tags to apply to the domain and related resources","default":"{}","required":false},{"name":"enable_sso","type":"bool","description":"Choose to enable single sign on (SSO) and use an existing AWS IAM Identity Center Instance. When set to true, this will use the default IAM IDC instance that is enabled for the account within the same region as the domain.","default":"false","required":false},{"name":"manage_access_role_arn","type":"string","description":"ARN of existing AmazonSageMakerManageAccess role. If not provided, the role is auto-created.","default":"null","required":false},{"name":"vpc_id","type":"string","description":"VPC ID for Tooling blueprint regional parameters","default":"","required":true},{"name":"kms_key_identifier","type":"string","description":"ARN of the KMS key used to encrypt the Amazon DataZone domain, metadata and reporting data (if null, uses AWS managed key)","default":"null","required":false},{"name":"provisioning_role_arn","type":"string","description":"ARN of existing AmazonSageMakerProvisioning role. If not provided, the role is auto-created.","default":"null","required":false},{"name":"subnet_ids","type":"list(string)","description":"Subnet IDs for Tooling blueprint regional parameters","default":"","required":true},{"name":"s3_bucket_name","type":"string","description":"Existing S3 bucket name for Tooling blueprint storage. If null, a dedicated bucket is created.","default":"null","required":false},{"name":"user_role_policy_arns","type":"list(string)","description":"List of IAM policy ARNs to apply as user role policies on the Tooling blueprint. Defaults to SageMakerStudioProjectUserRolePolicy if not provided.","default":"null","required":false},{"name":"query_execution_role_arn","type":"string","description":"ARN of a custom query execution role for the Tooling blueprint. If not provided, the service uses the default AmazonSageMakerQueryExecution role.","default":"null","required":false},{"name":"domain_name","type":"string","description":"Name of the DataZone domain (matches CloudFormation DomainName parameter)","default":"null","required":false},{"name":"description","type":"string","description":"Description of the domain","default":"\"SageMaker Unified Studio domain managed by Terraform\"","required":false}],"outputs":[{"name":"domain_service_role_arn","description":"ARN of the domain service role (created or existing)"},{"name":"domain_service_role_created","description":"Whether the domain service role was created by this module (false if it already existed)"},{"name":"tooling_blueprint_id","description":"ID of the Tooling environment blueprint"},{"name":"query_execution_role_arn","description":"ARN of the query execution role (created or provided). Used by the Tooling blueprint."},{"name":"domain_arn","description":"ARN of the SageMaker Unified Studio domain"},{"name":"domain_url","description":"Portal URL of the SageMaker Unified Studio domain"},{"name":"domain_service_role_name","description":"Name of the domain service role"},{"name":"provisioning_role_arn","description":"ARN of the provisioning role (created or provided). Pass to blueprint modules."},{"name":"domain_name","description":"Name of the SageMaker Unified Studio domain"},{"name":"account_id","description":"AWS Account ID where the domain is created"},{"name":"region","description":"AWS Region where the domain is created"},{"name":"domain_execution_role_arn","description":"ARN of the domain execution role (created or existing)"},{"name":"domain_execution_role_name","description":"Name of the domain execution role"},{"name":"s3_bucket_name","description":"S3 bucket name used by the Tooling blueprint (created or provided)"},{"name":"domain_id","description":"ID of the SageMaker Unified Studio domain"},{"name":"domain_execution_role_created","description":"Whether the domain execution role was created by this module (false if it already existed)"},{"name":"manage_access_role_arn","description":"ARN of the manage access role (created or provided). Pass to blueprint modules."},{"name":"domain_root_unit_id","description":"Actual root domain unit ID (not domain ID)"}],"dependencies":[],"provider_dependencies":[{"name":"aws","namespace":"hashicorp","source":"hashicorp/aws","version":"\u003e= 6.51.0","aliases":null},{"name":"awscc","namespace":"hashicorp","source":"hashicorp/awscc","version":"\u003e= 1.89.0","aliases":null},{"name":"random","namespace":"hashicorp","source":"hashicorp/random","version":"\u003e= 3.8.1","aliases":null},{"name":"time","namespace":"hashicorp","source":"hashicorp/time","version":"\u003e= 0.13.1","aliases":null}],"resources":[{"name":"domain","type":"aws_s3_bucket_server_side_encryption_configuration"},{"name":"domain","type":"aws_s3_bucket_public_access_block"},{"name":"suffix","type":"random_string"},{"name":"domain_execution_policy","type":"aws_iam_role_policy_attachment"},{"name":"query_execution_policy","type":"aws_iam_role_policy_attachment"},{"name":"main","type":"aws_datazone_domain"},{"name":"model_governance_project_profile","type":"awscc_datazone_project_profile"},{"name":"model_governance_project","type":"awscc_datazone_project"},{"name":"domain_execution","type":"aws_iam_role"},{"name":"domain_service","type":"aws_iam_role"},{"name":"domain_service_policy","type":"aws_iam_role_policy_attachment"},{"name":"query_execution","type":"aws_iam_role"},{"name":"domain","type":"aws_s3_bucket"}]},"submodules":[{"path":"modules/blueprint-bootstrap","name":"blueprint-bootstrap","readme":"\u003c!-- BEGIN_TF_DOCS --\u003e\n# SageMaker Unified Studio Blueprint Bootstrap\n\nThis submodule creates the foundational IAM roles required before any blueprint can be configured in an Amazon SageMaker Unified Studio domain.\n\n## What it does\n\n- Creates the **[AmazonSageMakerProvisioning](https://docs.aws.amazon.com/sagemaker-unified-studio/latest/adminguide/AmazonSageMakerProvisioning.html) IAM role** that mirrors the default managed IAM role created by the console. The role is used by Amazon SageMaker Unified Studio to provision and manage resources defined in the selected blueprints in your account.\n- Creates the **[AmazonSageMakerManageAccess](https://docs.aws.amazon.com/sagemaker-unified-studio/latest/adminguide/AmazonSageMakerManageAccess.html) IAM role** that mirrors the default managed IAM role created by the console. The role grants Amazon SageMaker Unified Studio permissions to publish, grant access, and revoke access to Amazon SageMaker Lakehouse, AWS Glue Data Catalog and Amazon Redshift data. It also grants Amazon SageMaker Unified Studio access to publish and manage subscriptions on Amazon SageMaker Catalog data and AI assets.\n- Creates a custom Redshift secret access policy scoped to the domain\n\n## When to use this submodule\n\n- **Domain created via the root module** — bootstrap is called automatically as part of the domain module. You do not need to invoke it separately.\n- **Domain created outside Terraform** (e.g., through the AWS console or CLI) — you must call this submodule explicitly to create the required IAM roles before configuring any blueprints.\n\nThis submodule exists as a standalone entry point so that users with existing domains (not managed by the root module) can still set up the prerequisite roles needed for blueprint configuration.\n\n## Usage\n\n```hcl\nmodule \"bootstrap\" {\n  source = \"./modules/blueprint-bootstrap\"\n\n  domain_id = \"dzd-abc123xyz\"  # Your existing domain ID\n\n  tags = {\n    Environment = \"production\"\n  }\n}\n```\n\n## Important notes\n\n- This submodule should be invoked once per domain, before configuring any blueprints\n- Role creation can be skipped with `create_provisioning_role = false` or `create_manage_access_role = false` if roles already exist\n\n## Requirements\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"requirement_terraform\"\u003e\u003c/a\u003e [terraform](#requirement\\_terraform) | \u003e= 1.7 |\n| \u003ca name=\"requirement_aws\"\u003e\u003c/a\u003e [aws](#requirement\\_aws) | \u003e= 6.51.0 |\n| \u003ca name=\"requirement_awscc\"\u003e\u003c/a\u003e [awscc](#requirement\\_awscc) | \u003e= 1.89.0 |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_aws\"\u003e\u003c/a\u003e [aws](#provider\\_aws) | \u003e= 6.51.0 |\n\n## Modules\n\nNo modules.\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [aws_iam_policy.sagemaker_manage_access_redshift](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_policy) | resource |\n| [aws_iam_role.sagemaker_manage_access](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role) | resource |\n| [aws_iam_role.sagemaker_provisioning](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role) | resource |\n| [aws_iam_role_policy_attachment.glue_manage_access](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role_policy_attachment) | resource |\n| [aws_iam_role_policy_attachment.redshift_manage_access](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role_policy_attachment) | resource |\n| [aws_iam_role_policy_attachment.sagemaker_manage_access](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role_policy_attachment) | resource |\n| [aws_iam_role_policy_attachment.sagemaker_manage_access_custom](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role_policy_attachment) | resource |\n| [aws_iam_role_policy_attachment.sagemaker_provisioning](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_region.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/region) | data source |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_domain_id\"\u003e\u003c/a\u003e [domain\\_id](#input\\_domain\\_id) | The ID of the SageMaker Unified Studio domain | `string` | n/a | yes |\n| \u003ca name=\"input_create_manage_access_role\"\u003e\u003c/a\u003e [create\\_manage\\_access\\_role](#input\\_create\\_manage\\_access\\_role) | Whether to create the ManageAccess IAM role (and its attached policies). Set to false to skip creation when the role is managed elsewhere. | `bool` | `true` | no |\n| \u003ca name=\"input_create_provisioning_role\"\u003e\u003c/a\u003e [create\\_provisioning\\_role](#input\\_create\\_provisioning\\_role) | Whether to create the Provisioning IAM role (and its attached policy). Set to false to skip creation when the role is managed elsewhere. | `bool` | `true` | no |\n| \u003ca name=\"input_domain_account_id\"\u003e\u003c/a\u003e [domain\\_account\\_id](#input\\_domain\\_account\\_id) | AWS account ID where the domain resides. Defaults to the current account. Set this for cross-account blueprints so IAM trust policies grant the domain account permission to assume roles. | `string` | `null` | no |\n| \u003ca name=\"input_tags\"\u003e\u003c/a\u003e [tags](#input\\_tags) | Tags to apply to all resources created by this module | `map(string)` | `{}` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_create_manage_access_role\"\u003e\u003c/a\u003e [create\\_manage\\_access\\_role](#output\\_create\\_manage\\_access\\_role) | Whether the ManageAccess role was created by this module |\n| \u003ca name=\"output_create_provisioning_role\"\u003e\u003c/a\u003e [create\\_provisioning\\_role](#output\\_create\\_provisioning\\_role) | Whether the Provisioning role was created by this module |\n| \u003ca name=\"output_manage_access_role_arn\"\u003e\u003c/a\u003e [manage\\_access\\_role\\_arn](#output\\_manage\\_access\\_role\\_arn) | ARN of the ManageAccess role (created, existing, or user-provided) |\n| \u003ca name=\"output_provisioning_role_arn\"\u003e\u003c/a\u003e [provisioning\\_role\\_arn](#output\\_provisioning\\_role\\_arn) | ARN of the Provisioning role (created, existing, or user-provided) |\n\u003c!-- END_TF_DOCS --\u003e","empty":false,"inputs":[{"name":"domain_id","type":"string","description":"The ID of the SageMaker Unified Studio domain","default":"","required":true},{"name":"domain_account_id","type":"string","description":"AWS account ID where the domain resides. Defaults to the current account. Set this for cross-account blueprints so IAM trust policies grant the domain account permission to assume roles.","default":"null","required":false},{"name":"create_manage_access_role","type":"bool","description":"Whether to create the ManageAccess IAM role (and its attached policies). Set to false to skip creation when the role is managed elsewhere.","default":"true","required":false},{"name":"create_provisioning_role","type":"bool","description":"Whether to create the Provisioning IAM role (and its attached policy). Set to false to skip creation when the role is managed elsewhere.","default":"true","required":false},{"name":"tags","type":"map(string)","description":"Tags to apply to all resources created by this module","default":"{}","required":false}],"outputs":[{"name":"manage_access_role_arn","description":"ARN of the ManageAccess role (created, existing, or user-provided)"},{"name":"create_manage_access_role","description":"Whether the ManageAccess role was created by this module"},{"name":"provisioning_role_arn","description":"ARN of the Provisioning role (created, existing, or user-provided)"},{"name":"create_provisioning_role","description":"Whether the Provisioning role was created by this module"}],"dependencies":[],"provider_dependencies":[{"name":"aws","namespace":"","source":"hashicorp/aws","version":"\u003e= 6.51.0","aliases":null},{"name":"awscc","namespace":"","source":"hashicorp/awscc","version":"\u003e= 1.89.0","aliases":null}],"resources":[{"name":"sagemaker_provisioning","type":"aws_iam_role"},{"name":"sagemaker_provisioning","type":"aws_iam_role_policy_attachment"},{"name":"sagemaker_manage_access","type":"aws_iam_role"},{"name":"sagemaker_manage_access_redshift","type":"aws_iam_policy"},{"name":"sagemaker_manage_access_custom","type":"aws_iam_role_policy_attachment"},{"name":"sagemaker_manage_access","type":"aws_iam_role_policy_attachment"},{"name":"glue_manage_access","type":"aws_iam_role_policy_attachment"},{"name":"redshift_manage_access","type":"aws_iam_role_policy_attachment"}]},{"path":"modules/blueprint","name":"blueprint","readme":"\u003c!-- BEGIN_TF_DOCS --\u003e\n# SageMaker Unified Studio Blueprint Module\n\nThis module configures a single environment blueprint for an Amazon SageMaker Unified Studio domain. It is designed to be invoked once per blueprint, using `for_each` or multiple `module` blocks to configure as many blueprints as needed.\n\n## What it does\n\n- Resolves the blueprint ID from its name via data source lookup\n- Configures the blueprint with provisioning and manage-access IAM roles\n- Sets regional parameters (VPC, subnets, S3 location) when required\n- Sets global parameters (e.g., query execution role ARN) when required\n- Grants `CREATE_ENVIRONMENT_FROM_BLUEPRINT` policy to specified domain units\n- Validates that subnets belong to the specified VPC\n- Validates that required IAM roles exist before applying\n\n## Prerequisite: bootstrap IAM roles\n\nBefore configuring any blueprint, the foundational IAM roles must exist. These are\ncreated by the standalone [`blueprint-bootstrap`](../blueprint-bootstrap) submodule:\n\n- `AmazonSageMakerProvisioning` IAM role\n- `AmazonSageMakerManageAccess` IAM role\n- Optional custom Redshift secret access policy\n\nThe `blueprint-bootstrap` submodule should be invoked once per domain, before\nconfiguring any blueprints. (The root domain module invokes it automatically.)\n\n## Usage\n\n```hcl\n# First, bootstrap IAM roles (once per domain)\nmodule \"bootstrap\" {\n  source    = \"./modules/blueprint-bootstrap\"\n  domain_id = module.domain.domain_id\n}\n\n# Then configure each blueprint\nmodule \"blueprints\" {\n  source = \"./modules/blueprint\"\n\n  for_each = var.blueprint_configs\n\n  domain_id           = module.domain.domain_id\n  blueprint_name      = each.value.name\n  regional_parameters = each.value.regional_parameters\n  global_parameters   = each.value.global_parameters\n\n  depends_on = [module.bootstrap]\n}\n```\n\n## Requirements\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"requirement_terraform\"\u003e\u003c/a\u003e [terraform](#requirement\\_terraform) | \u003e= 1.7 |\n| \u003ca name=\"requirement_aws\"\u003e\u003c/a\u003e [aws](#requirement\\_aws) | \u003e= 6.51.0 |\n| \u003ca name=\"requirement_awscc\"\u003e\u003c/a\u003e [awscc](#requirement\\_awscc) | \u003e= 1.89.0 |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_aws\"\u003e\u003c/a\u003e [aws](#provider\\_aws) | \u003e= 6.51.0 |\n| \u003ca name=\"provider_awscc\"\u003e\u003c/a\u003e [awscc](#provider\\_awscc) | \u003e= 1.89.0 |\n| \u003ca name=\"provider_terraform\"\u003e\u003c/a\u003e [terraform](#provider\\_terraform) | n/a |\n| \u003ca name=\"provider_time\"\u003e\u003c/a\u003e [time](#provider\\_time) | n/a |\n\n## Modules\n\nNo modules.\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [aws_datazone_environment_blueprint_configuration.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/datazone_environment_blueprint_configuration) | resource |\n| [awscc_datazone_policy_grant.this](https://registry.terraform.io/providers/hashicorp/awscc/latest/docs/resources/datazone_policy_grant) | resource |\n| [terraform_data.manage_access_role_validation](https://registry.terraform.io/providers/hashicorp/terraform/latest/docs/resources/data) | resource |\n| [terraform_data.provisioning_role_validation](https://registry.terraform.io/providers/hashicorp/terraform/latest/docs/resources/data) | resource |\n| [terraform_data.subnet_vpc_validation](https://registry.terraform.io/providers/hashicorp/terraform/latest/docs/resources/data) | resource |\n| [time_sleep.blueprint_propagation](https://registry.terraform.io/providers/hashicorp/time/latest/docs/resources/sleep) | resource |\n| [aws_caller_identity.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity) | data source |\n| [aws_datazone_domain.main](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/datazone_domain) | data source |\n| [aws_datazone_environment_blueprint.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/datazone_environment_blueprint) | data source |\n| [aws_iam_roles.manage_access_role](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_roles) | data source |\n| [aws_iam_roles.provisioning_role](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_roles) | data source |\n| [aws_region.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/region) | data source |\n| [aws_subnet.validation](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/subnet) | data source |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_blueprint_name\"\u003e\u003c/a\u003e [blueprint\\_name](#input\\_blueprint\\_name) | Name of the blueprint to configure (e.g., LakehouseCatalog, MLExperiments, RedshiftServerless). The blueprint ID is resolved internally via data lookup — if the name is invalid, the data source will fail with a clear error. | `string` | n/a | yes |\n| \u003ca name=\"input_domain_id\"\u003e\u003c/a\u003e [domain\\_id](#input\\_domain\\_id) | The ID of the SageMaker Unified Studio domain | `string` | n/a | yes |\n| \u003ca name=\"input_domain_account_id\"\u003e\u003c/a\u003e [domain\\_account\\_id](#input\\_domain\\_account\\_id) | AWS account ID where the domain resides. Defaults to the current account. Set this for cross-account blueprints so IAM trust policies grant the domain account permission to assume roles. | `string` | `null` | no |\n| \u003ca name=\"input_domain_unit_ids\"\u003e\u003c/a\u003e [domain\\_unit\\_ids](#input\\_domain\\_unit\\_ids) | A list of domain unit IDs to grant access to the blueprint. If not specified, the default root domain unit of the domain will be used. | `list(string)` | `[]` | no |\n| \u003ca name=\"input_global_parameters\"\u003e\u003c/a\u003e [global\\_parameters](#input\\_global\\_parameters) | Map of the global parameters to attach to the project. | `map(string)` | `{}` | no |\n| \u003ca name=\"input_manage_access_role_arn\"\u003e\u003c/a\u003e [manage\\_access\\_role\\_arn](#input\\_manage\\_access\\_role\\_arn) | ARN of existing ManageAccess role. If not provided, the role is looked up by name. If neither is found, the module will fail — use the bootstrap submodule to create roles first. | `string` | `null` | no |\n| \u003ca name=\"input_provisioning_role_arn\"\u003e\u003c/a\u003e [provisioning\\_role\\_arn](#input\\_provisioning\\_role\\_arn) | ARN of existing Provisioning role. If not provided, the role is looked up by name. If neither is found, the module will fail — use the bootstrap submodule to create roles first. | `string` | `null` | no |\n| \u003ca name=\"input_regional_parameters\"\u003e\u003c/a\u003e [regional\\_parameters](#input\\_regional\\_parameters) | Map of AWS regions to their infrastructure parameters (vpc\\_id, subnet\\_ids, s3\\_bucket\\_uri). Keys become enabled\\_regions. Leave empty for blueprints that don't require regional parameters (e.g., QuickSight, Bedrock, MLflowApp, LakehouseAdmin). | \u003cpre\u003emap(object({\u003cbr/\u003e    vpc_id     = string\u003cbr/\u003e    subnet_ids = list(string)\u003cbr/\u003e    s3_uri     = string\u003cbr/\u003e  }))\u003c/pre\u003e | `{}` | no |\n| \u003ca name=\"input_tags\"\u003e\u003c/a\u003e [tags](#input\\_tags) | Tags to apply to all resources created by this module | `map(string)` | `{}` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_blueprint_id\"\u003e\u003c/a\u003e [blueprint\\_id](#output\\_blueprint\\_id) | The environment blueprint ID (resolved from blueprint\\_name) |\n| \u003ca name=\"output_blueprint_name\"\u003e\u003c/a\u003e [blueprint\\_name](#output\\_blueprint\\_name) | The blueprint name that was configured |\n| \u003ca name=\"output_enabled_regions\"\u003e\u003c/a\u003e [enabled\\_regions](#output\\_enabled\\_regions) | List of AWS regions where the blueprint is enabled |\n| \u003ca name=\"output_entity_id\"\u003e\u003c/a\u003e [entity\\_id](#output\\_entity\\_id) | Entity identifier for policy grants (account\\_id:blueprint\\_id) |\n| \u003ca name=\"output_manage_access_role_source\"\u003e\u003c/a\u003e [manage\\_access\\_role\\_source](#output\\_manage\\_access\\_role\\_source) | How the manage access role was resolved: 'variable' if passed via var, 'data\\_lookup' if found by name |\n| \u003ca name=\"output_provisioning_role_source\"\u003e\u003c/a\u003e [provisioning\\_role\\_source](#output\\_provisioning\\_role\\_source) | How the provisioning role was resolved: 'variable' if passed via var, 'data\\_lookup' if found by name |\n\u003c!-- END_TF_DOCS --\u003e","empty":false,"inputs":[{"name":"domain_id","type":"string","description":"The ID of the SageMaker Unified Studio domain","default":"","required":true},{"name":"domain_account_id","type":"string","description":"AWS account ID where the domain resides. Defaults to the current account. Set this for cross-account blueprints so IAM trust policies grant the domain account permission to assume roles.","default":"null","required":false},{"name":"blueprint_name","type":"string","description":"Name of the blueprint to configure (e.g., LakehouseCatalog, MLExperiments, RedshiftServerless). The blueprint ID is resolved internally via data lookup — if the name is invalid, the data source will fail with a clear error.","default":"","required":true},{"name":"manage_access_role_arn","type":"string","description":"ARN of existing ManageAccess role. If not provided, the role is looked up by name. If neither is found, the module will fail — use the bootstrap submodule to create roles first.","default":"null","required":false},{"name":"provisioning_role_arn","type":"string","description":"ARN of existing Provisioning role. If not provided, the role is looked up by name. If neither is found, the module will fail — use the bootstrap submodule to create roles first.","default":"null","required":false},{"name":"domain_unit_ids","type":"list(string)","description":"A list of domain unit IDs to grant access to the blueprint. If not specified, the default root domain unit of the domain will be used.","default":"[]","required":false},{"name":"global_parameters","type":"map(string)","description":"Map of the global parameters to attach to the project.","default":"{}","required":false},{"name":"regional_parameters","type":"map(object({\n    vpc_id     = string\n    subnet_ids = list(string)\n    s3_uri     = string\n  }))","description":"Map of AWS regions to their infrastructure parameters (vpc_id, subnet_ids, s3_bucket_uri). Keys become enabled_regions. Leave empty for blueprints that don't require regional parameters (e.g., QuickSight, Bedrock, MLflowApp, LakehouseAdmin).","default":"{}","required":false},{"name":"tags","type":"map(string)","description":"Tags to apply to all resources created by this module","default":"{}","required":false}],"outputs":[{"name":"blueprint_id","description":"The environment blueprint ID (resolved from blueprint_name)"},{"name":"blueprint_name","description":"The blueprint name that was configured"},{"name":"entity_id","description":"Entity identifier for policy grants (account_id:blueprint_id)"},{"name":"provisioning_role_source","description":"How the provisioning role was resolved: 'variable' if passed via var, 'data_lookup' if found by name"},{"name":"manage_access_role_source","description":"How the manage access role was resolved: 'variable' if passed via var, 'data_lookup' if found by name"},{"name":"enabled_regions","description":"List of AWS regions where the blueprint is enabled"}],"dependencies":[],"provider_dependencies":[{"name":"aws","namespace":"","source":"hashicorp/aws","version":"\u003e= 6.51.0","aliases":null},{"name":"awscc","namespace":"","source":"hashicorp/awscc","version":"\u003e= 1.89.0","aliases":null},{"name":"terraform","namespace":"","source":"","version":"","aliases":null},{"name":"time","namespace":"","source":"","version":"","aliases":null}],"resources":[{"name":"this","type":"aws_datazone_environment_blueprint_configuration"},{"name":"this","type":"awscc_datazone_policy_grant"},{"name":"blueprint_propagation","type":"time_sleep"},{"name":"subnet_vpc_validation","type":"terraform_data"},{"name":"provisioning_role_validation","type":"terraform_data"},{"name":"manage_access_role_validation","type":"terraform_data"}]},{"path":"modules/project-profile","name":"project-profile","readme":"\u003c!-- BEGIN_TF_DOCS --\u003e\n# SageMaker Unified Studio Project Profile Module\n\nThis module creates a single project profile for an Amazon SageMaker Unified Studio domain. A project profile defines which environment blueprints are available when creating a project, along with their deployment order, target account and region, and configuration parameters.\n\nFor the special \"Default Project Profile\" used for bring-your-own-role (BYOR) projects with the ToolingLite blueprint, see `modules/project-profile/default` instead.\n\n## What it does\n\n- Creates one `awscc_datazone_project_profile` per invocation\n- Automatically includes Tooling as the first environment (deployment\\_order = 0); you do not add a Tooling entry yourself\n- Assigns `ON_CREATE` blueprints deployment\\_order = 1 and omits the deployment order for `ON_DEMAND` blueprints, sorting each group alphabetically for a stable, position-correlated ordering\n- Resolves blueprint IDs internally from the managed blueprint name via data source lookup\n- Validates that all referenced blueprints are configured (enabled) for the domain before creating the profile\n- Supports per-blueprint region overrides and parameter overrides\n- Allows multiple environment configurations to reference the same blueprint (e.g. an `ON_CREATE` and an `ON_DEMAND` Redshift Serverless)\n\n## Usage\n\nThe `blueprints` map key is the **environment configuration name**, and each entry's\n`blueprint` attribute is the **managed blueprint name** that gets resolved to a\nblueprint ID. This lets you compose several configurations from the same blueprint.\n\n```hcl\nmodule \"sql_analytics_profile\" {\n  source = \"./modules/project-profile\"\n\n  domain_id   = module.domain.domain_id\n  name        = \"SQL analytics\"\n  description = \"Analyze your data in SageMaker Lakehouse using SQL\"\n\n  blueprints = {\n    \"Lakehouse Database\" = {\n      blueprint       = \"DataLake\"\n      deployment_mode = \"ON_CREATE\"\n      parameter_overrides = { glueDbName = { value = \"glue_db\", is_editable = true } }\n    }\n    \"Redshift Serverless\" = {\n      blueprint       = \"RedshiftServerless\"\n      deployment_mode = \"ON_CREATE\"\n    }\n    \"OnDemand Catalog for RMS\" = {\n      blueprint       = \"LakehouseCatalog\"\n      deployment_mode = \"ON_DEMAND\"\n    }\n  }\n\n  # Pass through entity_id from each upstream blueprint module so the profile\n  # waits for blueprint configurations to be applied first.\n  blueprint_dependencies = [for bp in module.blueprints : bp.entity_id]\n}\n```\n\n## Blueprint configuration\n\nThe map key is always treated as the environment configuration name. Each entry accepts:\n\n- `blueprint` (required) — the managed blueprint name to resolve to a blueprint ID (e.g. `DataLake`, `RedshiftServerless`, `QuickSight`)\n- `description` — optional description for the environment configuration\n- `deployment_mode` — `ON_CREATE` (default) or `ON_DEMAND`\n- `region` — override the AWS region for this blueprint (defaults to the current region)\n- `parameter_overrides` — map of parameter name to `{ value, is_editable }` for customizing blueprint defaults\n\nNote: For `EmrOnEks`, you must provide `eksClusterArn` in `parameter_overrides`.\n\n## Requirements\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"requirement_terraform\"\u003e\u003c/a\u003e [terraform](#requirement\\_terraform) | \u003e= 1.7 |\n| \u003ca name=\"requirement_aws\"\u003e\u003c/a\u003e [aws](#requirement\\_aws) | \u003e= 6.51.0 |\n| \u003ca name=\"requirement_awscc\"\u003e\u003c/a\u003e [awscc](#requirement\\_awscc) | \u003e= 1.89.0 |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_aws\"\u003e\u003c/a\u003e [aws](#provider\\_aws) | \u003e= 6.51.0 |\n| \u003ca name=\"provider_awscc\"\u003e\u003c/a\u003e [awscc](#provider\\_awscc) | \u003e= 1.89.0 |\n| \u003ca name=\"provider_terraform\"\u003e\u003c/a\u003e [terraform](#provider\\_terraform) | n/a |\n\n## Modules\n\nNo modules.\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [awscc_datazone_project_profile.this](https://registry.terraform.io/providers/hashicorp/awscc/latest/docs/resources/datazone_project_profile) | resource |\n| [terraform_data.blueprint_dependencies](https://registry.terraform.io/providers/hashicorp/terraform/latest/docs/resources/data) | resource |\n| [aws_caller_identity.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity) | data source |\n| [aws_datazone_domain.main](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/datazone_domain) | data source |\n| [aws_datazone_environment_blueprint.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/datazone_environment_blueprint) | data source |\n| [aws_region.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/region) | data source |\n| [awscc_datazone_environment_blueprint_configuration.this](https://registry.terraform.io/providers/hashicorp/awscc/latest/docs/data-sources/datazone_environment_blueprint_configuration) | data source |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_blueprints\"\u003e\u003c/a\u003e [blueprints](#input\\_blueprints) | Map of environment configurations to include in this project profile.\u003cbr/\u003e\u003cbr/\u003eKey = the environment configuration name (e.g., \"OnDemand Redshift Serverless\").\u003cbr/\u003e`blueprint` (required) = the managed blueprint name to resolve to a blueprint ID\u003cbr/\u003evia data lookup (e.g., \"RedshiftServerless\", \"DataLake\", \"QuickSight\").\u003cbr/\u003e\u003cbr/\u003eThe map key is always treated as the configuration name only; the blueprint is\u003cbr/\u003ealways resolved from the `blueprint` attribute. This allows multiple configurations\u003cbr/\u003eto reference the same blueprint (e.g., an ON\\_CREATE and an ON\\_DEMAND Redshift).\u003cbr/\u003e\u003cbr/\u003eTooling is added automatically (deployment\\_order = 0) and does not need an entry.\u003cbr/\u003eNote: For EmrOnEks, you must provide eksClusterArn in parameter\\_overrides.\u003cbr/\u003e\u003cbr/\u003eExample:\u003cbr/\u003e  blueprints = {\u003cbr/\u003e    \"Lakehouse Database\" = {\u003cbr/\u003e      blueprint       = \"DataLake\"\u003cbr/\u003e      deployment\\_mode = \"ON\\_CREATE\"\u003cbr/\u003e      parameter\\_overrides = { glueDbName = { value = \"glue\\_db\", is\\_editable = true } }\u003cbr/\u003e    }\u003cbr/\u003e    \"OnDemand Redshift Serverless\" = {\u003cbr/\u003e      blueprint       = \"RedshiftServerless\"\u003cbr/\u003e      deployment\\_mode = \"ON\\_DEMAND\"\u003cbr/\u003e      region          = \"eu-west-1\"\u003cbr/\u003e      parameter\\_overrides = {\u003cbr/\u003e        redshiftBaseCapacity = { value = \"256\", is\\_editable = true }\u003cbr/\u003e      }\u003cbr/\u003e    }\u003cbr/\u003e  } | \u003cpre\u003emap(object({\u003cbr/\u003e    blueprint       = string\u003cbr/\u003e    description     = optional(string)\u003cbr/\u003e    deployment_mode = optional(string, \"ON_CREATE\")\u003cbr/\u003e    region          = optional(string)\u003cbr/\u003e    parameter_overrides = optional(map(object({\u003cbr/\u003e      value       = string\u003cbr/\u003e      is_editable = optional(bool, false)\u003cbr/\u003e    })), {})\u003cbr/\u003e  }))\u003c/pre\u003e | n/a | yes |\n| \u003ca name=\"input_domain_id\"\u003e\u003c/a\u003e [domain\\_id](#input\\_domain\\_id) | The ID of the SageMaker Unified Studio domain | `string` | n/a | yes |\n| \u003ca name=\"input_name\"\u003e\u003c/a\u003e [name](#input\\_name) | Name of the project profile | `string` | n/a | yes |\n| \u003ca name=\"input_blueprint_dependencies\"\u003e\u003c/a\u003e [blueprint\\_dependencies](#input\\_blueprint\\_dependencies) | List of blueprint entity IDs to ensure they are created before the profile. Pass the entity\\_id output from each blueprint module. This prevents race conditions when blueprints and profiles are deployed in the same apply. | `list(string)` | `[]` | no |\n| \u003ca name=\"input_description\"\u003e\u003c/a\u003e [description](#input\\_description) | Description of the project profile | `string` | `null` | no |\n| \u003ca name=\"input_domain_unit_id\"\u003e\u003c/a\u003e [domain\\_unit\\_id](#input\\_domain\\_unit\\_id) | The domain unit ID that owns the project profile. If not provided, the module will use the root domain unit. | `string` | `null` | no |\n| \u003ca name=\"input_status\"\u003e\u003c/a\u003e [status](#input\\_status) | Status of the project profile (ENABLED or DISABLED) | `string` | `\"ENABLED\"` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_blueprint_count\"\u003e\u003c/a\u003e [blueprint\\_count](#output\\_blueprint\\_count) | Number of blueprints in this project profile |\n| \u003ca name=\"output_blueprint_names\"\u003e\u003c/a\u003e [blueprint\\_names](#output\\_blueprint\\_names) | List of blueprint names included in this project profile |\n| \u003ca name=\"output_name\"\u003e\u003c/a\u003e [name](#output\\_name) | The name of the project profile |\n| \u003ca name=\"output_project_profile_id\"\u003e\u003c/a\u003e [project\\_profile\\_id](#output\\_project\\_profile\\_id) | The ID of the created project profile |\n\u003c!-- END_TF_DOCS --\u003e","empty":false,"inputs":[{"name":"domain_id","type":"string","description":"The ID of the SageMaker Unified Studio domain","default":"","required":true},{"name":"name","type":"string","description":"Name of the project profile","default":"","required":true},{"name":"description","type":"string","description":"Description of the project profile","default":"null","required":false},{"name":"status","type":"string","description":"Status of the project profile (ENABLED or DISABLED)","default":"\"ENABLED\"","required":false},{"name":"domain_unit_id","type":"string","description":"The domain unit ID that owns the project profile. If not provided, the module will use the root domain unit.","default":"null","required":false},{"name":"blueprints","type":"map(object({\n    blueprint       = string\n    description     = optional(string)\n    deployment_mode = optional(string, \"ON_CREATE\")\n    region          = optional(string)\n    parameter_overrides = optional(map(object({\n      value       = string\n      is_editable = optional(bool, false)\n    })), {})\n  }))","description":"Map of environment configurations to include in this project profile.\n\nKey = the environment configuration name (e.g., \"OnDemand Redshift Serverless\").\n`blueprint` (required) = the managed blueprint name to resolve to a blueprint ID\nvia data lookup (e.g., \"RedshiftServerless\", \"DataLake\", \"QuickSight\").\n\nThe map key is always treated as the configuration name only; the blueprint is\nalways resolved from the `blueprint` attribute. This allows multiple configurations\nto reference the same blueprint (e.g., an ON_CREATE and an ON_DEMAND Redshift).\n\nTooling is added automatically (deployment_order = 0) and does not need an entry.\nNote: For EmrOnEks, you must provide eksClusterArn in parameter_overrides.\n\nExample:\n  blueprints = {\n    \"Lakehouse Database\" = {\n      blueprint       = \"DataLake\"\n      deployment_mode = \"ON_CREATE\"\n      parameter_overrides = { glueDbName = { value = \"glue_db\", is_editable = true } }\n    }\n    \"OnDemand Redshift Serverless\" = {\n      blueprint       = \"RedshiftServerless\"\n      deployment_mode = \"ON_DEMAND\"\n      region          = \"eu-west-1\"\n      parameter_overrides = {\n        redshiftBaseCapacity = { value = \"256\", is_editable = true }\n      }\n    }\n  }\n","default":"","required":true},{"name":"blueprint_dependencies","type":"list(string)","description":"List of blueprint entity IDs to ensure they are created before the profile. Pass the entity_id output from each blueprint module. This prevents race conditions when blueprints and profiles are deployed in the same apply.","default":"[]","required":false}],"outputs":[{"name":"project_profile_id","description":"The ID of the created project profile"},{"name":"name","description":"The name of the project profile"},{"name":"blueprint_count","description":"Number of blueprints in this project profile"},{"name":"blueprint_names","description":"List of blueprint names included in this project profile"}],"dependencies":[],"provider_dependencies":[{"name":"aws","namespace":"","source":"hashicorp/aws","version":"\u003e= 6.51.0","aliases":null},{"name":"awscc","namespace":"","source":"hashicorp/awscc","version":"\u003e= 1.89.0","aliases":null},{"name":"terraform","namespace":"","source":"","version":"","aliases":null}],"resources":[{"name":"blueprint_dependencies","type":"terraform_data"},{"name":"this","type":"awscc_datazone_project_profile"}]},{"path":"modules/policy-grant-create-project","name":"policy-grant-create-project","readme":"\u003c!-- BEGIN_TF_DOCS --\u003e\n# SageMaker Unified Studio Policy Grant — Create Project\n\nThis module grants principals the ability to create projects from specified project profiles within a domain unit.\n\n## What it does\n\n- Creates `CREATE_PROJECT_FROM_PROJECT_PROFILE` policy grants on a domain unit\n- Supports granting access to individual users, groups, or all users in the domain\n- Optionally includes child domain units in the grant scope\n\n## Usage\n\n```hcl\n# Grant all users the ability to create projects from any profile\nmodule \"create_project_grant\" {\n  source = \"./modules/policy-grant-create-project\"\n\n  domain_id           = module.domain.domain_id\n  domain_unit_id      = module.domain.root_domain_unit_id\n  project_profile_ids = [module.sql_analytics_profile.project_profile_id]\n  all_users           = true\n}\n\n# Grant specific users\nmodule \"create_project_grant_team\" {\n  source = \"./modules/policy-grant-create-project\"\n\n  domain_id           = module.domain.domain_id\n  domain_unit_id      = module.domain.root_domain_unit_id\n  project_profile_ids = [module.sql_analytics_profile.project_profile_id]\n  user_principals     = [\"user1@example.com\", \"user2@example.com\"]\n}\n```\n\n## Principal types\n\nOnly one principal type should be used per invocation:\n\n- `all_users = true` — grants access to every user in the domain (overrides user/group lists)\n- `user_principals` — list of individual user identifiers\n- `group_principals` — list of group identifiers\n\n## Requirements\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"requirement_terraform\"\u003e\u003c/a\u003e [terraform](#requirement\\_terraform) | \u003e= 1.7 |\n| \u003ca name=\"requirement_aws\"\u003e\u003c/a\u003e [aws](#requirement\\_aws) | \u003e= 6.51.0 |\n| \u003ca name=\"requirement_awscc\"\u003e\u003c/a\u003e [awscc](#requirement\\_awscc) | \u003e= 1.89.0 |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_awscc\"\u003e\u003c/a\u003e [awscc](#provider\\_awscc) | \u003e= 1.89.0 |\n\n## Modules\n\nNo modules.\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [awscc_datazone_policy_grant.this](https://registry.terraform.io/providers/hashicorp/awscc/latest/docs/resources/datazone_policy_grant) | resource |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_domain_id\"\u003e\u003c/a\u003e [domain\\_id](#input\\_domain\\_id) | The ID of the DataZone domain. | `string` | n/a | yes |\n| \u003ca name=\"input_domain_unit_id\"\u003e\u003c/a\u003e [domain\\_unit\\_id](#input\\_domain\\_unit\\_id) | The domain unit ID that owns the project profiles. All granted profiles must belong to this domain unit. | `string` | n/a | yes |\n| \u003ca name=\"input_project_profile_ids\"\u003e\u003c/a\u003e [project\\_profile\\_ids](#input\\_project\\_profile\\_ids) | List of project profile IDs to grant access to. All must belong to the same domain unit specified by domain\\_unit\\_id. | `list(string)` | n/a | yes |\n| \u003ca name=\"input_all_users\"\u003e\u003c/a\u003e [all\\_users](#input\\_all\\_users) | Whether to grant access to all users in the domain. | `bool` | `false` | no |\n| \u003ca name=\"input_group_principals\"\u003e\u003c/a\u003e [group\\_principals](#input\\_group\\_principals) | List of group identifiers to grant access to. | `list(string)` | `[]` | no |\n| \u003ca name=\"input_include_child_domain_units\"\u003e\u003c/a\u003e [include\\_child\\_domain\\_units](#input\\_include\\_child\\_domain\\_units) | Specifies whether to include child domain units when creating a project from project profile policy grant details | `bool` | `true` | no |\n| \u003ca name=\"input_user_principals\"\u003e\u003c/a\u003e [user\\_principals](#input\\_user\\_principals) | List of individual user identifiers to grant access to. | `list(string)` | `[]` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_domain_id\"\u003e\u003c/a\u003e [domain\\_id](#output\\_domain\\_id) | The domain ID. |\n| \u003ca name=\"output_domain_unit_id\"\u003e\u003c/a\u003e [domain\\_unit\\_id](#output\\_domain\\_unit\\_id) | The domain unit ID that owns the project profiles. |\n| \u003ca name=\"output_grant_ids\"\u003e\u003c/a\u003e [grant\\_ids](#output\\_grant\\_ids) | Map of principal keys to their policy grant IDs. |\n\u003c!-- END_TF_DOCS --\u003e","empty":false,"inputs":[{"name":"include_child_domain_units","type":"bool","description":"Specifies whether to include child domain units when creating a project from project profile policy grant details","default":"true","required":false},{"name":"user_principals","type":"list(string)","description":"List of individual user identifiers to grant access to.","default":"[]","required":false},{"name":"all_users","type":"bool","description":"Whether to grant access to all users in the domain.","default":"false","required":false},{"name":"group_principals","type":"list(string)","description":"List of group identifiers to grant access to.","default":"[]","required":false},{"name":"domain_id","type":"string","description":"The ID of the DataZone domain.","default":"","required":true},{"name":"domain_unit_id","type":"string","description":"The domain unit ID that owns the project profiles. All granted profiles must belong to this domain unit.","default":"","required":true},{"name":"project_profile_ids","type":"list(string)","description":"List of project profile IDs to grant access to. All must belong to the same domain unit specified by domain_unit_id.","default":"","required":true}],"outputs":[{"name":"grant_ids","description":"Map of principal keys to their policy grant IDs."},{"name":"domain_id","description":"The domain ID."},{"name":"domain_unit_id","description":"The domain unit ID that owns the project profiles."}],"dependencies":[],"provider_dependencies":[{"name":"aws","namespace":"","source":"hashicorp/aws","version":"\u003e= 6.51.0","aliases":null},{"name":"awscc","namespace":"","source":"hashicorp/awscc","version":"\u003e= 1.89.0","aliases":null}],"resources":[{"name":"this","type":"awscc_datazone_policy_grant"}]},{"path":"modules/project","name":"project","readme":"\u003c!-- BEGIN_TF_DOCS --\u003e\n# SageMaker Unified Studio Project Module\n\nThis module creates a single Amazon SageMaker Unified Studio project from a project profile. Membership management lives in the separate `project-membership` module (`modules/project-membership`); this module focuses on the project resource itself.\n\n## What it does\n\n- Creates a SageMaker Unified Studio project linked to a project profile\n- Supports user parameters for environment configuration overrides\n- Manages project memberships for owners and contributors\n- Handles environment cleanup on destroy (deletes all environments before removing the project)\n- Optionally cleans up the linked project profile on destroy when `enable_profile_cleanup = true`\n\n## Usage\n\nStandard project (no ToolingLite):\n\n```hcl\nmodule \"project\" {\n  source = \"./modules/project\"\n\n  domain_id          = module.domain.domain_id\n  project_name       = \"my-analytics-project\"\n  project_profile_id = module.sql_analytics_profile.project_profile_id\n}\n```\n\nBring-your-own-role project on a ToolingLite profile:\n\n```hcl\nmodule \"project\" {\n  source = \"./modules/project\"\n\n  domain_id          = module.domain.domain_id\n  project_name       = \"my-byor-project\"\n  project_profile_id = module.default_project_profile.project_profile_id\n  project_role       = aws_iam_role.project_iam_role.arn\n}\n```\n\n## Adding members\n\nUse the `project-membership` module to add SSO users, SSO groups, and IAM principals to the project after creation. Principals are grouped into owner and contributor sets:\n\n```hcl\nmodule \"project_membership\" {\n  source = \"./modules/project-membership\"\n\n  domain_id  = module.domain.domain_id\n  project_id = module.project.project_id\n\n  project_owners = {\n    iam_roles = [\"arn:aws:iam::123456789012:role/MyAdmin\"]\n  }\n\n  project_contributors = {\n    sso_users  = [\"analyst@example.com\"]\n    sso_groups = [\"12345678-1234-1234-1234-123456789012\"]\n  }\n}\n```\n\nThe membership module validates each identifier format, biases a principal that appears in both sets toward owner, and verifies SSO user/group profiles exist in the domain before attempting to add them.\n\n## Destroy behavior\n\nOn `terraform destroy`, the module automatically:\n\n1. Lists and deletes all environments in the project\n2. Waits for environment deletion to complete (up to 5 minutes)\n3. Attempts force-cleanup of any environments stuck in `DELETE_FAILED` state\n4. Optionally cleans up the linked project profile when `enable_profile_cleanup = true`\n\nThis requires the AWS CLI to be available and configured with appropriate permissions on the system running `terraform destroy`.\n\n## Requirements\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"requirement_terraform\"\u003e\u003c/a\u003e [terraform](#requirement\\_terraform) | \u003e= 1.7 |\n| \u003ca name=\"requirement_aws\"\u003e\u003c/a\u003e [aws](#requirement\\_aws) | \u003e= 6.51.0 |\n| \u003ca name=\"requirement_awscc\"\u003e\u003c/a\u003e [awscc](#requirement\\_awscc) | \u003e= 1.89.0 |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_aws\"\u003e\u003c/a\u003e [aws](#provider\\_aws) | \u003e= 6.51.0 |\n| \u003ca name=\"provider_awscc\"\u003e\u003c/a\u003e [awscc](#provider\\_awscc) | \u003e= 1.89.0 |\n\n## Modules\n\nNo modules.\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [awscc_datazone_project.main](https://registry.terraform.io/providers/hashicorp/awscc/latest/docs/resources/datazone_project) | resource |\n| [aws_caller_identity.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity) | data source |\n| [aws_region.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/region) | data source |\n| [awscc_datazone_project_profile.this](https://registry.terraform.io/providers/hashicorp/awscc/latest/docs/data-sources/datazone_project_profile) | data source |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_domain_id\"\u003e\u003c/a\u003e [domain\\_id](#input\\_domain\\_id) | The ID of the SageMaker Unified Studio domain | `string` | n/a | yes |\n| \u003ca name=\"input_project_name\"\u003e\u003c/a\u003e [project\\_name](#input\\_project\\_name) | Name of the project | `string` | n/a | yes |\n| \u003ca name=\"input_project_profile_id\"\u003e\u003c/a\u003e [project\\_profile\\_id](#input\\_project\\_profile\\_id) | ID of the project profile to use for this project | `string` | n/a | yes |\n| \u003ca name=\"input_aws_region\"\u003e\u003c/a\u003e [aws\\_region](#input\\_aws\\_region) | AWS region for API calls during cleanup | `string` | `null` | no |\n| \u003ca name=\"input_project_description\"\u003e\u003c/a\u003e [project\\_description](#input\\_project\\_description) | Description of the project | `string` | `\"SageMaker Unified Studio project created with Terraform\"` | no |\n| \u003ca name=\"input_project_role\"\u003e\u003c/a\u003e [project\\_role](#input\\_project\\_role) | Specify the project role if the project profile is defined with ToolingLite. | `string` | `null` | no |\n| \u003ca name=\"input_tags\"\u003e\u003c/a\u003e [tags](#input\\_tags) | Tags to apply to the project | `map(string)` | `{}` | no |\n| \u003ca name=\"input_user_parameters\"\u003e\u003c/a\u003e [user\\_parameters](#input\\_user\\_parameters) | User parameters for environment configurations | \u003cpre\u003elist(object({\u003cbr/\u003e    environment_configuration_name = string\u003cbr/\u003e    environment_parameters = list(object({\u003cbr/\u003e      name  = string\u003cbr/\u003e      value = string\u003cbr/\u003e    }))\u003cbr/\u003e  }))\u003c/pre\u003e | `[]` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_account_id\"\u003e\u003c/a\u003e [account\\_id](#output\\_account\\_id) | AWS account ID where project is created |\n| \u003ca name=\"output_domain_id\"\u003e\u003c/a\u003e [domain\\_id](#output\\_domain\\_id) | Domain ID where project is created |\n| \u003ca name=\"output_next_steps\"\u003e\u003c/a\u003e [next\\_steps](#output\\_next\\_steps) | Information about next steps after project creation |\n| \u003ca name=\"output_project_description\"\u003e\u003c/a\u003e [project\\_description](#output\\_project\\_description) | Description of the created project |\n| \u003ca name=\"output_project_id\"\u003e\u003c/a\u003e [project\\_id](#output\\_project\\_id) | ID of the created project |\n| \u003ca name=\"output_project_name\"\u003e\u003c/a\u003e [project\\_name](#output\\_project\\_name) | Name of the created project |\n| \u003ca name=\"output_project_profile_id\"\u003e\u003c/a\u003e [project\\_profile\\_id](#output\\_project\\_profile\\_id) | Project profile ID used for this project |\n| \u003ca name=\"output_project_url\"\u003e\u003c/a\u003e [project\\_url](#output\\_project\\_url) | URL to access the project in SageMaker Unified Studio |\n| \u003ca name=\"output_region\"\u003e\u003c/a\u003e [region](#output\\_region) | AWS region where project is created |\n| \u003ca name=\"output_user_parameters\"\u003e\u003c/a\u003e [user\\_parameters](#output\\_user\\_parameters) | User parameters configured for the project |\n\u003c!-- END_TF_DOCS --\u003e","empty":false,"inputs":[{"name":"aws_region","type":"string","description":"AWS region for API calls during cleanup","default":"null","required":false},{"name":"tags","type":"map(string)","description":"Tags to apply to the project","default":"{}","required":false},{"name":"domain_id","type":"string","description":"The ID of the SageMaker Unified Studio domain","default":"","required":true},{"name":"project_name","type":"string","description":"Name of the project","default":"","required":true},{"name":"project_description","type":"string","description":"Description of the project","default":"\"SageMaker Unified Studio project created with Terraform\"","required":false},{"name":"project_profile_id","type":"string","description":"ID of the project profile to use for this project","default":"","required":true},{"name":"project_role","type":"string","description":"Specify the project role if the project profile is defined with ToolingLite.","default":"null","required":false},{"name":"user_parameters","type":"list(object({\n    environment_configuration_name = string\n    environment_parameters = list(object({\n      name  = string\n      value = string\n    }))\n  }))","description":"User parameters for environment configurations","default":"[]","required":false}],"outputs":[{"name":"domain_id","description":"Domain ID where project is created"},{"name":"region","description":"AWS region where project is created"},{"name":"account_id","description":"AWS account ID where project is created"},{"name":"user_parameters","description":"User parameters configured for the project"},{"name":"project_description","description":"Description of the created project"},{"name":"project_profile_id","description":"Project profile ID used for this project"},{"name":"project_url","description":"URL to access the project in SageMaker Unified Studio"},{"name":"next_steps","description":"Information about next steps after project creation"},{"name":"project_id","description":"ID of the created project"},{"name":"project_name","description":"Name of the created project"}],"dependencies":[],"provider_dependencies":[{"name":"aws","namespace":"","source":"hashicorp/aws","version":"\u003e= 6.51.0","aliases":null},{"name":"awscc","namespace":"","source":"hashicorp/awscc","version":"\u003e= 1.89.0","aliases":null}],"resources":[{"name":"main","type":"awscc_datazone_project"}]},{"path":"modules/project-membership","name":"project-membership","readme":"\u003c!-- BEGIN_TF_DOCS --\u003e\n# SageMaker Unified Studio Project Membership Module\n\nThis module wires up the members of a SageMaker Unified Studio project from two principal sets: `project_owners` (granted `PROJECT_OWNER`) and `project_contributors` (granted `PROJECT_CONTRIBUTOR`). Each set accepts any combination of SSO users, SSO groups, IAM users, and IAM roles, and the module creates one membership per principal via `for_each`.\n\n## What it does\n\n- Flattens both principal sets into a single keyed map and creates one `awscc_datazone_project_membership` per unique principal\n- Routes each principal into the correct membership field based on its type:\n  - `SSO_USER` and `IAM_USER` → `member.user_identifier`\n  - `SSO_GROUP` and `IAM_ROLE` → `member.group_identifier`\n- For SSO members, looks up the corresponding DataZone user or group profile in the domain and fails the plan with a clear error message if it isn't registered\n\n## Uniqueness and owner bias\n\nMemberships are keyed by **identifier**, so each principal results in exactly one membership:\n\n- Duplicate identifiers listed more than once within a set are collapsed (via `distinct()`)\n- When the same identifier appears in **both** `project_owners` and `project_contributors`, ownership wins — the principal is granted `PROJECT_OWNER` only. The owner set is merged last so it takes precedence over the contributor set.\n\nThis means a principal is always either an owner or a contributor, never both.\n\n## IAM user vs IAM role\n\nDataZone treats an IAM user and an IAM role as different kinds of principal, so each set distinguishes them:\n\n- `iam_users` — specific IAM user ARNs (e.g. `arn:aws:iam::123456789012:user/alice`). Passed in `member.user_identifier`, the same field used for individual SSO users.\n- `iam_roles` — IAM role ARNs (e.g. `arn:aws:iam::123456789012:role/MyRole`). Passed in `member.group_identifier`, because a role represents an assumable identity shared by many sessions rather than a single user.\n\nThe validation rejects a role ARN supplied under `iam_users` and a user ARN supplied under `iam_roles`.\n\n## Validations\n\n**Variable-level (run at plan time before any data source reads):**\n\n- `domain_id` must match the `dzd[-_]...` format\n- `project_id` must be non-empty\n- For each of `project_owners` and `project_contributors`:\n  - every `sso_users` entry must be a non-empty string\n  - every `sso_groups` entry must be an identity store group UUID\n  - every `iam_users` entry must be a valid IAM user ARN (any partition)\n  - every `iam_roles` entry must be a valid IAM role ARN (any partition)\n\n**Resource-level preconditions:**\n\n- Each `SSO_USER` must already have a DataZone user profile in the domain (e.g. created via `aws_datazone_user_profile`)\n- Each `SSO_GROUP` must already have a DataZone group profile in the domain\n\n## Usage\n\n```hcl\nmodule \"project_membership\" {\n  source = \"./modules/project-membership\"\n\n  domain_id  = module.domain.domain_id\n  project_id = module.project.project_id\n\n  project_owners = {\n    sso_users = [\"jdoe@example.com\"]\n    iam_roles = [\"arn:aws:iam::123456789012:role/MyAdmin\"]\n  }\n\n  project_contributors = {\n    sso_users  = [\"analyst@example.com\"]\n    sso_groups = [\"12345678-1234-1234-1234-123456789012\"]\n    iam_users  = [\"arn:aws:iam::123456789012:user/alice\"]\n  }\n}\n```\n\nBoth sets default to empty, so you can supply only the ones you need.\n\n## Notes\n\n- DataZone project memberships have no update API — every property is create-only. Memberships are keyed by identifier (a stable key) and replacement is forced via `replace_triggered_by` whenever the designation or member changes. Using a stable key makes this a single-instance replacement, which Terraform sequences as destroy-then-create, so the old membership is removed before the new one is added (avoiding both `NotUpdatableException` and `AlreadyExists`).\n- SSO users and groups must be registered as `aws_datazone_user_profile` / `awscc_datazone_group_profile` in the domain before being added. The `examples/quick-setup` example shows the typical pattern of unioning principals from both sets and registering each one once.\n- IAM users and IAM roles are routed to different membership fields (`user_identifier` vs `group_identifier`), so place each ARN under the matching key.\n\n## Requirements\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"requirement_terraform\"\u003e\u003c/a\u003e [terraform](#requirement\\_terraform) | \u003e= 1.7 |\n| \u003ca name=\"requirement_aws\"\u003e\u003c/a\u003e [aws](#requirement\\_aws) | \u003e= 6.51.0 |\n| \u003ca name=\"requirement_awscc\"\u003e\u003c/a\u003e [awscc](#requirement\\_awscc) | \u003e= 1.89.0 |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_awscc\"\u003e\u003c/a\u003e [awscc](#provider\\_awscc) | \u003e= 1.89.0 |\n| \u003ca name=\"provider_terraform\"\u003e\u003c/a\u003e [terraform](#provider\\_terraform) | n/a |\n\n## Modules\n\nNo modules.\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [awscc_datazone_project_membership.this](https://registry.terraform.io/providers/hashicorp/awscc/latest/docs/resources/datazone_project_membership) | resource |\n| [terraform_data.member_identity](https://registry.terraform.io/providers/hashicorp/terraform/latest/docs/resources/data) | resource |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_domain_id\"\u003e\u003c/a\u003e [domain\\_id](#input\\_domain\\_id) | ID of the SageMaker Unified Studio domain that owns the project. | `string` | n/a | yes |\n| \u003ca name=\"input_project_id\"\u003e\u003c/a\u003e [project\\_id](#input\\_project\\_id) | ID of the SageMaker Unified Studio project to add the member to. | `string` | n/a | yes |\n| \u003ca name=\"input_project_contributors\"\u003e\u003c/a\u003e [project\\_contributors](#input\\_project\\_contributors) | Principals to add to the created project as PROJECT\\_CONTRIBUTOR. | \u003cpre\u003eobject({\u003cbr/\u003e    sso_users  = optional(list(string), [])\u003cbr/\u003e    sso_groups = optional(list(string), [])\u003cbr/\u003e    iam_users  = optional(list(string), [])\u003cbr/\u003e    iam_roles  = optional(list(string), [])\u003cbr/\u003e  })\u003c/pre\u003e | `{}` | no |\n| \u003ca name=\"input_project_owners\"\u003e\u003c/a\u003e [project\\_owners](#input\\_project\\_owners) | Principals to add to the created project as PROJECT\\_OWNER. | \u003cpre\u003eobject({\u003cbr/\u003e    sso_users  = optional(list(string), [])\u003cbr/\u003e    sso_groups = optional(list(string), [])\u003cbr/\u003e    iam_users  = optional(list(string), [])\u003cbr/\u003e    iam_roles  = optional(list(string), [])\u003cbr/\u003e  })\u003c/pre\u003e | `{}` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_members\"\u003e\u003c/a\u003e [members](#output\\_members) | The final list of project members created by this module, after dedup and\u003cbr/\u003eowner precedence. Each entry includes the principal identifier, its member\u003cbr/\u003etype (SSO\\_USER, SSO\\_GROUP, IAM\\_USER, IAM\\_ROLE), the assigned designation\u003cbr/\u003e(PROJECT\\_OWNER or PROJECT\\_CONTRIBUTOR), and the resulting membership id. |\n\u003c!-- END_TF_DOCS --\u003e","empty":false,"inputs":[{"name":"project_id","type":"string","description":"ID of the SageMaker Unified Studio project to add the member to.","default":"","required":true},{"name":"domain_id","type":"string","description":"ID of the SageMaker Unified Studio domain that owns the project.","default":"","required":true},{"name":"project_owners","type":"object({\n    sso_users  = optional(list(string), [])\n    sso_groups = optional(list(string), [])\n    iam_users  = optional(list(string), [])\n    iam_roles  = optional(list(string), [])\n  })","description":"Principals to add to the created project as PROJECT_OWNER.","default":"{}","required":false},{"name":"project_contributors","type":"object({\n    sso_users  = optional(list(string), [])\n    sso_groups = optional(list(string), [])\n    iam_users  = optional(list(string), [])\n    iam_roles  = optional(list(string), [])\n  })","description":"Principals to add to the created project as PROJECT_CONTRIBUTOR.","default":"{}","required":false}],"outputs":[{"name":"members","description":"The final list of project members created by this module, after dedup and\nowner precedence. Each entry includes the principal identifier, its member\ntype (SSO_USER, SSO_GROUP, IAM_USER, IAM_ROLE), the assigned designation\n(PROJECT_OWNER or PROJECT_CONTRIBUTOR), and the resulting membership id.\n"}],"dependencies":[],"provider_dependencies":[{"name":"aws","namespace":"","source":"hashicorp/aws","version":"\u003e= 6.51.0","aliases":null},{"name":"awscc","namespace":"","source":"hashicorp/awscc","version":"\u003e= 1.89.0","aliases":null},{"name":"terraform","namespace":"","source":"","version":"","aliases":null}],"resources":[{"name":"member_identity","type":"terraform_data"},{"name":"this","type":"awscc_datazone_project_membership"}]},{"path":"modules/domain-management-portal","name":"domain-management-portal","readme":"\u003c!-- BEGIN_TF_DOCS --\u003e\n# SageMaker Unified Studio Domain Management Portal Module\n\nThis module creates the singleton **Administration project** for an Amazon SageMaker Unified Studio domain that serves as the provisioner for bring-your-own-role projects when the new domain management portal experience is enabled.\n\n## What it does\n\n- Creates exactly one `awscc_datazone_project` with `project_category = \"ADMIN\"`, named `admin-project-\u003caccount_id\u003e`, attached to the domain's root domain unit\n- Verifies (precondition) that the **Tooling** blueprint is configured for the domain in the current region before attempting to create the project\n- Adds a deterministic propagation wait (`time_sleep`) after project creation so the auto-provisioned `datazone_usr_role_*` execution role has time to become visible to IAM\n\n## Usage\n\nBasic creation:\n\n```hcl\nmodule \"admin_project\" {\n  source    = \"./modules/project/admin\"\n  domain_id = module.domain.domain_id\n}\n```\n\n## Outputs of interest\n\n- `project_id` — the DataZone project ID, available as soon as the API confirms creation\n- `admin_role_arn` / `admin_role_name` — deterministic ARN and name for the auto-created project execution role (`datazone_usr_role_\u003cproject_id\u003e_\u003cdomain_id_without_dzd_prefix\u003e`). Useful when attaching extra IAM policies or referencing the role in other modules\n\n## Requirements\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"requirement_terraform\"\u003e\u003c/a\u003e [terraform](#requirement\\_terraform) | \u003e= 1.7 |\n| \u003ca name=\"requirement_aws\"\u003e\u003c/a\u003e [aws](#requirement\\_aws) | \u003e= 6.51.0 |\n| \u003ca name=\"requirement_awscc\"\u003e\u003c/a\u003e [awscc](#requirement\\_awscc) | \u003e= 1.89.0 |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_aws\"\u003e\u003c/a\u003e [aws](#provider\\_aws) | \u003e= 6.51.0 |\n| \u003ca name=\"provider_awscc\"\u003e\u003c/a\u003e [awscc](#provider\\_awscc) | \u003e= 1.89.0 |\n\n## Modules\n\nNo modules.\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [awscc_datazone_project.admin_project](https://registry.terraform.io/providers/hashicorp/awscc/latest/docs/resources/datazone_project) | resource |\n| [aws_caller_identity.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity) | data source |\n| [aws_datazone_domain.main](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/datazone_domain) | data source |\n| [aws_datazone_environment_blueprint.tooling](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/datazone_environment_blueprint) | data source |\n| [aws_region.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/region) | data source |\n| [awscc_datazone_environment_blueprint_configuration.tooling](https://registry.terraform.io/providers/hashicorp/awscc/latest/docs/data-sources/datazone_environment_blueprint_configuration) | data source |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_domain_id\"\u003e\u003c/a\u003e [domain\\_id](#input\\_domain\\_id) | The ID of the SageMaker Unified Studio domain | `string` | n/a | yes |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_account_id\"\u003e\u003c/a\u003e [account\\_id](#output\\_account\\_id) | AWS account ID where project is created |\n| \u003ca name=\"output_admin_role_arn\"\u003e\u003c/a\u003e [admin\\_role\\_arn](#output\\_admin\\_role\\_arn) | ARN of the DataZone-managed admin/user execution role for this project |\n| \u003ca name=\"output_admin_role_name\"\u003e\u003c/a\u003e [admin\\_role\\_name](#output\\_admin\\_role\\_name) | Name of the DataZone-managed admin/user execution role for this project |\n| \u003ca name=\"output_domain_id\"\u003e\u003c/a\u003e [domain\\_id](#output\\_domain\\_id) | Domain ID where project is created |\n| \u003ca name=\"output_project_description\"\u003e\u003c/a\u003e [project\\_description](#output\\_project\\_description) | Description of the created project |\n| \u003ca name=\"output_project_id\"\u003e\u003c/a\u003e [project\\_id](#output\\_project\\_id) | ID of the created project |\n| \u003ca name=\"output_project_name\"\u003e\u003c/a\u003e [project\\_name](#output\\_project\\_name) | Name of the created project |\n| \u003ca name=\"output_project_url\"\u003e\u003c/a\u003e [project\\_url](#output\\_project\\_url) | URL to access the project in SageMaker Unified Studio |\n| \u003ca name=\"output_region\"\u003e\u003c/a\u003e [region](#output\\_region) | AWS region where project is created |\n\u003c!-- END_TF_DOCS --\u003e","empty":false,"inputs":[{"name":"domain_id","type":"string","description":"The ID of the SageMaker Unified Studio domain","default":"","required":true}],"outputs":[{"name":"project_name","description":"Name of the created project"},{"name":"admin_role_arn","description":"ARN of the DataZone-managed admin/user execution role for this project"},{"name":"project_description","description":"Description of the created project"},{"name":"project_url","description":"URL to access the project in SageMaker Unified Studio"},{"name":"domain_id","description":"Domain ID where project is created"},{"name":"region","description":"AWS region where project is created"},{"name":"account_id","description":"AWS account ID where project is created"},{"name":"admin_role_name","description":"Name of the DataZone-managed admin/user execution role for this project"},{"name":"project_id","description":"ID of the created project"}],"dependencies":[],"provider_dependencies":[{"name":"aws","namespace":"","source":"hashicorp/aws","version":"\u003e= 6.51.0","aliases":null},{"name":"awscc","namespace":"","source":"hashicorp/awscc","version":"\u003e= 1.89.0","aliases":null}],"resources":[{"name":"admin_project","type":"awscc_datazone_project"}]},{"path":"modules/default-project-profile","name":"default-project-profile","readme":"\u003c!-- BEGIN_TF_DOCS --\u003e\n# SageMaker Unified Studio Default Project Profile Module\n\nThis module enables the blueprints needed to support the special \"Default Project Profile\" used for bring-your-own-role (BYOR) projects in SageMaker Unified Studio, then creates the profile itself. The Default Project Profile is separated from the standard project-profile module because BYOR projects can only be created from a specifically configured Default Project Profile that uses the ToolingLite blueprint.\n\n## What it does\n\n- Enables three managed blueprints on the domain:\n  - **ToolingLite** — drives BYOR project creation\n  - **S3Bucket** — on-demand S3 bucket environments\n  - **S3TableCatalog** — on-demand S3 Tables catalog environments\n- Creates `CREATE_ENVIRONMENT_FROM_BLUEPRINT` policy grants on the root domain unit (with `include_child_domain_units = true`) for each blueprint\n- Optionally configures ToolingLite with a VPC and subnets matching the standard Tooling blueprint\n- Creates the `awscc_datazone_project_profile` named \"Default Project Profile\" with all three blueprints wired up in the correct deployment order\n- When the admin project is not in use, attaches `SageMakerStudioAdminIAMDefaultExecutionPolicy` to the provisioning role so it has the permissions needed to set up default projects\n\n## Provisioning role resolution\n\nResolution order when `using_domain_management_portal = false`:\n\n1. `var.provisioning_role_arn` if explicitly provided\n2. Existing IAM role created by `modules/blueprint-bootstrap`, looked up by the conventional name `AmazonSageMakerProvisioning-\u003caccount_id\u003e-\u003cdomain_id\u003e` under path `/service-role/`\n3. If neither is available, the plan fails early with a clear error message\n\nWhen `using_domain_management_portal = true`, the provisioning role ARN is left null on each blueprint configuration so the admin project's execution role acts as the provisioner for ON\\_CREATE blueprints.\n\nSelf-serve ON\\_DEMAND blueprints (S3TablesCatalog and S3Bucket) are always defined without a provisioning role; by default the project execution role will act as the provisioner for ON\\_DEMAND blueprints.\n\n## VPC configuration (optional)\n\n`vpc_id` and `subnet_ids` must be provided together. When both are set:\n\n- ToolingLite is configured with `regional_parameters` containing `VpcId` and a comma-joined `Subnets` value, matching the regional parameter shape used by the standard Tooling blueprint\n- Each subnet is validated to belong to the specified VPC at plan time\n\nWhen neither is set, ToolingLite is enabled in the current region without VPC parameters. Setting only one of the two fails the plan with a cross-variable validation error.\n\nS3Bucket and S3TableCatalog do not take VPC parameters and are unaffected by this configuration.\n\n## Usage\n\nWithout VPC configuration, using a bootstrap-created provisioning role:\n\n```hcl\nmodule \"default_project_profile\" {\n  source = \"./modules/project-profile/default\"\n\n  domain_id = module.domain.domain_id\n}\n```\n\nWith explicit provisioning role and VPC configuration:\n\n```hcl\nmodule \"default_project_profile\" {\n  source = \"./modules/project-profile/default\"\n\n  domain_id             = module.domain.domain_id\n  provisioning_role_arn = module.domain.provisioning_role_arn\n  vpc_id                = local.vpc_id\n  subnet_ids            = local.subnet_ids\n}\n```\n\nWhen an admin project is acting as the provisioner:\n\n```hcl\nmodule \"default_project_profile\" {\n  source = \"./modules/project-profile/default\"\n\n  domain_id                       = module.domain.domain_id\n  using_domain_management_portal  = true\n}\n```\n\n## Requirements\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"requirement_terraform\"\u003e\u003c/a\u003e [terraform](#requirement\\_terraform) | \u003e= 1.7 |\n| \u003ca name=\"requirement_aws\"\u003e\u003c/a\u003e [aws](#requirement\\_aws) | \u003e= 6.51.0 |\n| \u003ca name=\"requirement_awscc\"\u003e\u003c/a\u003e [awscc](#requirement\\_awscc) | \u003e= 1.89.0 |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_aws\"\u003e\u003c/a\u003e [aws](#provider\\_aws) | \u003e= 6.51.0 |\n| \u003ca name=\"provider_awscc\"\u003e\u003c/a\u003e [awscc](#provider\\_awscc) | \u003e= 1.89.0 |\n| \u003ca name=\"provider_terraform\"\u003e\u003c/a\u003e [terraform](#provider\\_terraform) | n/a |\n\n## Modules\n\nNo modules.\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [aws_datazone_environment_blueprint_configuration.s3_bucket](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/datazone_environment_blueprint_configuration) | resource |\n| [aws_datazone_environment_blueprint_configuration.s3_table_catalog](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/datazone_environment_blueprint_configuration) | resource |\n| [aws_datazone_environment_blueprint_configuration.tooling_lite](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/datazone_environment_blueprint_configuration) | resource |\n| [awscc_datazone_policy_grant.s3_bucket_policy_grant](https://registry.terraform.io/providers/hashicorp/awscc/latest/docs/resources/datazone_policy_grant) | resource |\n| [awscc_datazone_policy_grant.s3_table_catalog_policy_grant](https://registry.terraform.io/providers/hashicorp/awscc/latest/docs/resources/datazone_policy_grant) | resource |\n| [awscc_datazone_policy_grant.tooling_lite_policy_grant](https://registry.terraform.io/providers/hashicorp/awscc/latest/docs/resources/datazone_policy_grant) | resource |\n| [awscc_datazone_project_profile.this](https://registry.terraform.io/providers/hashicorp/awscc/latest/docs/resources/datazone_project_profile) | resource |\n| [terraform_data.provisioning_role_validation](https://registry.terraform.io/providers/hashicorp/terraform/latest/docs/resources/data) | resource |\n| [terraform_data.subnet_vpc_validation](https://registry.terraform.io/providers/hashicorp/terraform/latest/docs/resources/data) | resource |\n| [terraform_data.vpc_config_validation](https://registry.terraform.io/providers/hashicorp/terraform/latest/docs/resources/data) | resource |\n| [aws_caller_identity.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity) | data source |\n| [aws_datazone_domain.main](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/datazone_domain) | data source |\n| [aws_datazone_environment_blueprint.s3_bucket](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/datazone_environment_blueprint) | data source |\n| [aws_datazone_environment_blueprint.s3_table_catalog](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/datazone_environment_blueprint) | data source |\n| [aws_datazone_environment_blueprint.tooling_lite](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/datazone_environment_blueprint) | data source |\n| [aws_iam_roles.provisioning_role](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_roles) | data source |\n| [aws_region.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/region) | data source |\n| [aws_subnet.validation](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/subnet) | data source |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_domain_id\"\u003e\u003c/a\u003e [domain\\_id](#input\\_domain\\_id) | The ID of the SageMaker Unified Studio domain | `string` | n/a | yes |\n| \u003ca name=\"input_provisioning_role_arn\"\u003e\u003c/a\u003e [provisioning\\_role\\_arn](#input\\_provisioning\\_role\\_arn) | ARN of existing Provisioning role. If not provided, the role is looked up by name. If neither is found, the module will fail — use the bootstrap submodule to create roles first. | `string` | `null` | no |\n| \u003ca name=\"input_subnet_ids\"\u003e\u003c/a\u003e [subnet\\_ids](#input\\_subnet\\_ids) | Subnet IDs to attach to the ToolingLite blueprint configuration. Must be provided together with vpc\\_id. All subnets must belong to vpc\\_id. | `list(string)` | `null` | no |\n| \u003ca name=\"input_using_domain_management_portal\"\u003e\u003c/a\u003e [using\\_domain\\_management\\_portal](#input\\_using\\_domain\\_management\\_portal) | Set to true if a domain management portal (admin project) is used. The admin project's execution role acts as provisioner for the ToolingLite blueprints, so var.provisioning\\_role\\_arn is ignored. | `bool` | `false` | no |\n| \u003ca name=\"input_vpc_id\"\u003e\u003c/a\u003e [vpc\\_id](#input\\_vpc\\_id) | VPC ID to attach to the ToolingLite blueprint configuration. Must be provided together with subnet\\_ids. When both are set, the ToolingLite blueprint is enabled with the same VPC/Subnets regional parameters used by the standard Tooling blueprint. | `string` | `null` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_project_profile_id\"\u003e\u003c/a\u003e [project\\_profile\\_id](#output\\_project\\_profile\\_id) | The ID of the created default project profile |\n| \u003ca name=\"output_s3_bucket_blueprint_id\"\u003e\u003c/a\u003e [s3\\_bucket\\_blueprint\\_id](#output\\_s3\\_bucket\\_blueprint\\_id) | Environment blueprint ID for S3Bucket |\n| \u003ca name=\"output_s3_table_catalog_blueprint_id\"\u003e\u003c/a\u003e [s3\\_table\\_catalog\\_blueprint\\_id](#output\\_s3\\_table\\_catalog\\_blueprint\\_id) | Environment blueprint ID for S3TableCatalog |\n| \u003ca name=\"output_tooling_lite_blueprint_id\"\u003e\u003c/a\u003e [tooling\\_lite\\_blueprint\\_id](#output\\_tooling\\_lite\\_blueprint\\_id) | Environment blueprint ID for ToolingLite |\n\u003c!-- END_TF_DOCS --\u003e","empty":false,"inputs":[{"name":"domain_id","type":"string","description":"The ID of the SageMaker Unified Studio domain","default":"","required":true},{"name":"provisioning_role_arn","type":"string","description":"ARN of existing Provisioning role. If not provided, the role is looked up by name. If neither is found, the module will fail — use the bootstrap submodule to create roles first.","default":"null","required":false},{"name":"using_domain_management_portal","type":"bool","description":"Set to true if a domain management portal (admin project) is used. The admin project's execution role acts as provisioner for the ToolingLite blueprints, so var.provisioning_role_arn is ignored.","default":"false","required":false},{"name":"vpc_id","type":"string","description":"VPC ID to attach to the ToolingLite blueprint configuration. Must be provided together with subnet_ids. When both are set, the ToolingLite blueprint is enabled with the same VPC/Subnets regional parameters used by the standard Tooling blueprint.","default":"null","required":false},{"name":"subnet_ids","type":"list(string)","description":"Subnet IDs to attach to the ToolingLite blueprint configuration. Must be provided together with vpc_id. All subnets must belong to vpc_id.","default":"null","required":false}],"outputs":[{"name":"project_profile_id","description":"The ID of the created default project profile"},{"name":"tooling_lite_blueprint_id","description":"Environment blueprint ID for ToolingLite"},{"name":"s3_bucket_blueprint_id","description":"Environment blueprint ID for S3Bucket"},{"name":"s3_table_catalog_blueprint_id","description":"Environment blueprint ID for S3TableCatalog"}],"dependencies":[],"provider_dependencies":[{"name":"aws","namespace":"","source":"hashicorp/aws","version":"\u003e= 6.51.0","aliases":null},{"name":"awscc","namespace":"","source":"hashicorp/awscc","version":"\u003e= 1.89.0","aliases":null},{"name":"terraform","namespace":"","source":"","version":"","aliases":null}],"resources":[{"name":"subnet_vpc_validation","type":"terraform_data"},{"name":"vpc_config_validation","type":"terraform_data"},{"name":"tooling_lite","type":"aws_datazone_environment_blueprint_configuration"},{"name":"s3_bucket","type":"aws_datazone_environment_blueprint_configuration"},{"name":"s3_table_catalog","type":"aws_datazone_environment_blueprint_configuration"},{"name":"tooling_lite_policy_grant","type":"awscc_datazone_policy_grant"},{"name":"s3_table_catalog_policy_grant","type":"awscc_datazone_policy_grant"},{"name":"s3_bucket_policy_grant","type":"awscc_datazone_policy_grant"},{"name":"provisioning_role_validation","type":"terraform_data"},{"name":"this","type":"awscc_datazone_project_profile"}]}],"examples":[{"path":"examples/quick-setup","name":"quick-setup","readme":"\u003c!-- BEGIN_TF_DOCS --\u003e\n# SageMaker Unified Studio Quick-Setup Example\n\nThis example aims to closely mirror the [AWS Console quick-setup experience](https://docs.aws.amazon.com/sagemaker-unified-studio/latest/userguide/quick-setup.html) for Amazon SageMaker Unified Studio as closely as possible using Terraform resources.\n\n## What This Example Deploys\n\n### Root Module (Domain)\n\n- A SageMaker Unified Studio **domain** with the **Tooling blueprint** enabled\n- All required **IAM roles** (domain execution, manage access, provisioning)\n- **Model governance resources** (Bedrock model management and consumption roles)\n- An **S3 bucket** for tooling environment storage\n\n### Blueprint Module\n\n- Enables the necessary **environment blueprints** based on which capabilities are toggled on (e.g. LakehouseCatalog, MLExperiments, RedshiftServerless, Bedrock blueprints, and more)\n\n### Project Profile Module\n\n- Creates the three default **project profiles** that mirror the console quick-setup:\n  - **SQL Analytics** — Analyze data in SageMaker Lakehouse using SQL\n  - **Generative AI Application Development** — Build generative AI applications powered by Amazon Bedrock\n  - **All Capabilities** — Full suite including analytics, ML, and generative AI\n\n### Project Module\n\n- Deploys a basic **project** using the first available project profile from the ones created above\n\n### Policy Grant Module\n\n- Creates a `CREATE_PROJECT_FROM_PROJECT_PROFILE` **policy grant** so users can create projects from the enabled project profiles. In this quick-setup, the grants are scoped to all users in the domain\n\n### Project Membership Module\n\n- Wires up **project memberships** from the `project_owners` and `project_contributors` variables. Each principal set accepts any combination of SSO users, SSO groups, IAM users, and IAM roles. Owners are granted `PROJECT_OWNER`, contributors `PROJECT_CONTRIBUTOR`.\n\n## Prerequisites\n\n1. **AWS CLI** configured with appropriate permissions\n2. **Terraform** \u003e= 1.7 installed\n3. **AWS Account** with SageMaker Unified Studio available in your region\n\n## Quick Start\n\n1. Review and update `terraform.tfvars` with your desired configuration (domain name, region, tags, etc.)\n\n2. Initialize and apply:\n\n```bash\nterraform init\nterraform apply\n```\n\nBy default all three project profiles (SQL Analytics, Generative AI, All Capabilities) are enabled. You can toggle them individually via the `enable_sql_analytics`, `enable_generative_ai`, and `enable_all_capabilities` variables.\n\n## Using the Sub-Modules Independently\n\nThis example is intended as a reference implementation. For production use cases, consume the individual sub-modules directly and compose them to fit your needs:\n\n| Module | Path | Purpose |\n|---|---|---|\n| Domain (root) | `../..` | Domain, Tooling blueprint, IAM roles, S3 bucket, model governance |\n| Blueprint | `../../modules/blueprint` | Enable a single environment blueprint on a domain |\n| Project Profile | `../../modules/project-profile` | Compose blueprints into a deployable project profile |\n| Project | `../../modules/project` | Create a project from a project profile |\n| Policy Grant (create project) | `../../modules/policy-grant-create-project` | Grant `CREATE_PROJECT_FROM_PROJECT_PROFILE` on project profiles |\n| Project Membership | `../../modules/project-membership` | Add an owner or contributor member to a project |\n\nFor example, if you only need SQL Analytics you can invoke the domain module, enable just the relevant blueprints, and create a single project profile — no need to deploy the full quick-setup.\n\n## Known Issues\n\n### Policy-grant error on subsequent `terraform apply`\n\nThe `awscc_datazone_policy_grant` resource has a known issue where updating a policy grant that shares the same domain unit and principal as an existing grant will successfully replace the policy content but then return an `AlreadyExists` error. One policy grant is used to grant access to multiple project profiles. We are actively working with the service team to resolve this behavior.\n\n**Workaround**: Remove any existing CREATE\\_PROJECT\\_FROM\\_PROJECT\\_PROFILE policy grants that share the same domain unit and principal before running the `policy-grant-create-project` module. You can do this via the AWS Console or CLI:\n\n```bash\naws datazone delete-policy-grant \\\n  --domain-identifier \u003cdomain-id\u003e \\\n  --entity-type DOMAIN_UNIT \\\n  --entity-identifier \u003cdomain-unit-id\u003e \\\n  --policy-type CREATE_PROJECT_FROM_PROJECT_PROFILE \\\n  --principal \u003cprincipal\u003e\n```\n\nThen re-run `terraform apply` to recreate the grants cleanly.\n\n## Requirements\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"requirement_terraform\"\u003e\u003c/a\u003e [terraform](#requirement\\_terraform) | \u003e= 1.7 |\n| \u003ca name=\"requirement_aws\"\u003e\u003c/a\u003e [aws](#requirement\\_aws) | \u003e= 6.51.0 |\n| \u003ca name=\"requirement_awscc\"\u003e\u003c/a\u003e [awscc](#requirement\\_awscc) | \u003e= 1.89.0 |\n| \u003ca name=\"requirement_random\"\u003e\u003c/a\u003e [random](#requirement\\_random) | \u003e= 3.8.1 |\n| \u003ca name=\"requirement_time\"\u003e\u003c/a\u003e [time](#requirement\\_time) | \u003e= 0.13.1 |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_aws\"\u003e\u003c/a\u003e [aws](#provider\\_aws) | \u003e= 6.51.0 |\n| \u003ca name=\"provider_random\"\u003e\u003c/a\u003e [random](#provider\\_random) | \u003e= 3.8.1 |\n\n## Modules\n\n| Name | Source | Version |\n|------|--------|---------|\n| \u003ca name=\"module_all_capabilities_project_profile\"\u003e\u003c/a\u003e [all\\_capabilities\\_project\\_profile](#module\\_all\\_capabilities\\_project\\_profile) | ../../modules/project-profile | n/a |\n| \u003ca name=\"module_blueprints\"\u003e\u003c/a\u003e [blueprints](#module\\_blueprints) | ../../modules/blueprint | n/a |\n| \u003ca name=\"module_create_project_from_project_profile_grant\"\u003e\u003c/a\u003e [create\\_project\\_from\\_project\\_profile\\_grant](#module\\_create\\_project\\_from\\_project\\_profile\\_grant) | ../../modules/policy-grant-create-project | n/a |\n| \u003ca name=\"module_domain\"\u003e\u003c/a\u003e [domain](#module\\_domain) | ../.. | n/a |\n| \u003ca name=\"module_generative_ai_project_profile\"\u003e\u003c/a\u003e [generative\\_ai\\_project\\_profile](#module\\_generative\\_ai\\_project\\_profile) | ../../modules/project-profile | n/a |\n| \u003ca name=\"module_project\"\u003e\u003c/a\u003e [project](#module\\_project) | ../../modules/project | n/a |\n| \u003ca name=\"module_project_membership\"\u003e\u003c/a\u003e [project\\_membership](#module\\_project\\_membership) | ../../modules/project-membership | n/a |\n| \u003ca name=\"module_sql_analytics_project_profile\"\u003e\u003c/a\u003e [sql\\_analytics\\_project\\_profile](#module\\_sql\\_analytics\\_project\\_profile) | ../../modules/project-profile | n/a |\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [random_id.project_suffix](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/id) | resource |\n| [aws_caller_identity.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity) | data source |\n| [aws_region.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/region) | data source |\n| [aws_subnets.default](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/subnets) | data source |\n| [aws_vpc.default](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/vpc) | data source |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_aws_region\"\u003e\u003c/a\u003e [aws\\_region](#input\\_aws\\_region) | AWS region where the domain will be created | `string` | `\"us-east-1\"` | no |\n| \u003ca name=\"input_domain_description\"\u003e\u003c/a\u003e [domain\\_description](#input\\_domain\\_description) | Description of the SageMaker Unified Studio domain | `string` | `\"SageMaker Unified Studio domain with modular blueprint and profile setup\"` | no |\n| \u003ca name=\"input_domain_name\"\u003e\u003c/a\u003e [domain\\_name](#input\\_domain\\_name) | Name of the SageMaker Unified Studio domain | `string` | `\"terraform-quick-setup-domain\"` | no |\n| \u003ca name=\"input_enable_all_capabilities\"\u003e\u003c/a\u003e [enable\\_all\\_capabilities](#input\\_enable\\_all\\_capabilities) | Enable the All capabilities default project profile. Enabling this will create the project profile and enable the selected blueprints. | `bool` | `true` | no |\n| \u003ca name=\"input_enable_generative_ai\"\u003e\u003c/a\u003e [enable\\_generative\\_ai](#input\\_enable\\_generative\\_ai) | Enable the Generative AI application development default project profile. Enabling this will create the project profile and enable the selected blueprints. | `bool` | `true` | no |\n| \u003ca name=\"input_enable_sql_analytics\"\u003e\u003c/a\u003e [enable\\_sql\\_analytics](#input\\_enable\\_sql\\_analytics) | Enable the SQL analytics default project profile. Enabling this will create the project profile and enable the selected blueprints. | `bool` | `true` | no |\n| \u003ca name=\"input_enable_sso\"\u003e\u003c/a\u003e [enable\\_sso](#input\\_enable\\_sso) | Enable single sign on (SSO) using the default IAM Identity Center instance for the region | `bool` | `false` | no |\n| \u003ca name=\"input_environment\"\u003e\u003c/a\u003e [environment](#input\\_environment) | Environment name (e.g., dev, staging, prod) | `string` | `\"test\"` | no |\n| \u003ca name=\"input_owner\"\u003e\u003c/a\u003e [owner](#input\\_owner) | Owner of the domain (for tagging purposes) | `string` | `\"terraform-quick-setup\"` | no |\n| \u003ca name=\"input_project_contributors\"\u003e\u003c/a\u003e [project\\_contributors](#input\\_project\\_contributors) | Principals to add to the created project as PROJECT\\_CONTRIBUTOR. | \u003cpre\u003eobject({\u003cbr/\u003e    sso_users  = optional(list(string), [])\u003cbr/\u003e    sso_groups = optional(list(string), [])\u003cbr/\u003e    iam_users  = optional(list(string), [])\u003cbr/\u003e    iam_roles  = optional(list(string), [])\u003cbr/\u003e  })\u003c/pre\u003e | `{}` | no |\n| \u003ca name=\"input_project_description\"\u003e\u003c/a\u003e [project\\_description](#input\\_project\\_description) | Description of the project | `string` | `\"Quick-setup project created with Terraform for SageMaker Unified Studio\"` | no |\n| \u003ca name=\"input_project_name\"\u003e\u003c/a\u003e [project\\_name](#input\\_project\\_name) | Name of the project to create | `string` | `\"terraform-quick-setup-project\"` | no |\n| \u003ca name=\"input_project_owners\"\u003e\u003c/a\u003e [project\\_owners](#input\\_project\\_owners) | Principals to add to the created project as PROJECT\\_OWNER. | \u003cpre\u003eobject({\u003cbr/\u003e    sso_users  = optional(list(string), [])\u003cbr/\u003e    sso_groups = optional(list(string), [])\u003cbr/\u003e    iam_users  = optional(list(string), [])\u003cbr/\u003e    iam_roles  = optional(list(string), [])\u003cbr/\u003e  })\u003c/pre\u003e | `{}` | no |\n| \u003ca name=\"input_s3_bucket_name\"\u003e\u003c/a\u003e [s3\\_bucket\\_name](#input\\_s3\\_bucket\\_name) | Existing S3 bucket name for Tooling blueprint storage. If null, a dedicated bucket is created by the domain module. | `string` | `null` | no |\n| \u003ca name=\"input_subnet_ids\"\u003e\u003c/a\u003e [subnet\\_ids](#input\\_subnet\\_ids) | Subnet IDs for blueprint regional parameters. If null, subnets from the default VPC are used. | `list(string)` | `null` | no |\n| \u003ca name=\"input_tags\"\u003e\u003c/a\u003e [tags](#input\\_tags) | Additional tags to apply to all resources | `map(string)` | `{}` | no |\n| \u003ca name=\"input_user_role_policy_arns\"\u003e\u003c/a\u003e [user\\_role\\_policy\\_arns](#input\\_user\\_role\\_policy\\_arns) | List of IAM policy ARNs to apply as user role policies on the Tooling blueprint | `list(string)` | `null` | no |\n| \u003ca name=\"input_vpc_id\"\u003e\u003c/a\u003e [vpc\\_id](#input\\_vpc\\_id) | VPC ID for blueprint regional parameters. If null, the default VPC is used. | `string` | `null` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_account_id\"\u003e\u003c/a\u003e [account\\_id](#output\\_account\\_id) | AWS account ID where resources are created |\n| \u003ca name=\"output_blueprint_ids\"\u003e\u003c/a\u003e [blueprint\\_ids](#output\\_blueprint\\_ids) | Map of blueprint logical names to their resolved blueprint IDs |\n| \u003ca name=\"output_blueprint_names\"\u003e\u003c/a\u003e [blueprint\\_names](#output\\_blueprint\\_names) | Map of blueprint logical names to their blueprint names |\n| \u003ca name=\"output_domain_arn\"\u003e\u003c/a\u003e [domain\\_arn](#output\\_domain\\_arn) | ARN of the created SageMaker Unified Studio domain |\n| \u003ca name=\"output_domain_execution_role_arn\"\u003e\u003c/a\u003e [domain\\_execution\\_role\\_arn](#output\\_domain\\_execution\\_role\\_arn) | ARN of the domain execution role |\n| \u003ca name=\"output_domain_id\"\u003e\u003c/a\u003e [domain\\_id](#output\\_domain\\_id) | ID of the created SageMaker Unified Studio domain |\n| \u003ca name=\"output_domain_name\"\u003e\u003c/a\u003e [domain\\_name](#output\\_domain\\_name) | Name of the created SageMaker Unified Studio domain |\n| \u003ca name=\"output_domain_root_unit_id\"\u003e\u003c/a\u003e [domain\\_root\\_unit\\_id](#output\\_domain\\_root\\_unit\\_id) | Root domain unit ID of the domain |\n| \u003ca name=\"output_domain_service_role_arn\"\u003e\u003c/a\u003e [domain\\_service\\_role\\_arn](#output\\_domain\\_service\\_role\\_arn) | ARN of the domain service role |\n| \u003ca name=\"output_domain_url\"\u003e\u003c/a\u003e [domain\\_url](#output\\_domain\\_url) | Portal URL for accessing the SageMaker Unified Studio domain |\n| \u003ca name=\"output_manage_access_role_arn\"\u003e\u003c/a\u003e [manage\\_access\\_role\\_arn](#output\\_manage\\_access\\_role\\_arn) | ARN of the manage access role (from domain module) |\n| \u003ca name=\"output_project_id\"\u003e\u003c/a\u003e [project\\_id](#output\\_project\\_id) | ID of the created project |\n| \u003ca name=\"output_project_name\"\u003e\u003c/a\u003e [project\\_name](#output\\_project\\_name) | Name of the created project |\n| \u003ca name=\"output_project_profile_ids\"\u003e\u003c/a\u003e [project\\_profile\\_ids](#output\\_project\\_profile\\_ids) | List of all enabled project profile IDs |\n| \u003ca name=\"output_project_url\"\u003e\u003c/a\u003e [project\\_url](#output\\_project\\_url) | URL to access the project in SageMaker Unified Studio |\n| \u003ca name=\"output_provisioning_role_arn\"\u003e\u003c/a\u003e [provisioning\\_role\\_arn](#output\\_provisioning\\_role\\_arn) | ARN of the provisioning role (from domain module) |\n| \u003ca name=\"output_region\"\u003e\u003c/a\u003e [region](#output\\_region) | AWS region where resources are created |\n| \u003ca name=\"output_s3_bucket_name\"\u003e\u003c/a\u003e [s3\\_bucket\\_name](#output\\_s3\\_bucket\\_name) | S3 bucket name used by the domain |\n| \u003ca name=\"output_subnet_ids\"\u003e\u003c/a\u003e [subnet\\_ids](#output\\_subnet\\_ids) | Subnet IDs used for blueprint configurations |\n| \u003ca name=\"output_tooling_blueprint_id\"\u003e\u003c/a\u003e [tooling\\_blueprint\\_id](#output\\_tooling\\_blueprint\\_id) | ID of the Tooling blueprint (created by the domain module) |\n| \u003ca name=\"output_vpc_id\"\u003e\u003c/a\u003e [vpc\\_id](#output\\_vpc\\_id) | VPC ID used for blueprint configurations |\n\u003c!-- END_TF_DOCS --\u003e","empty":false,"inputs":[{"name":"aws_region","type":"string","description":"AWS region where the domain will be created","default":"\"us-east-1\"","required":false},{"name":"enable_sql_analytics","type":"bool","description":"Enable the SQL analytics default project profile. Enabling this will create the project profile and enable the selected blueprints.","default":"true","required":false},{"name":"project_owners","type":"object({\n    sso_users  = optional(list(string), [])\n    sso_groups = optional(list(string), [])\n    iam_users  = optional(list(string), [])\n    iam_roles  = optional(list(string), [])\n  })","description":"Principals to add to the created project as PROJECT_OWNER.","default":"{}","required":false},{"name":"domain_description","type":"string","description":"Description of the SageMaker Unified Studio domain","default":"\"SageMaker Unified Studio domain with modular blueprint and profile setup\"","required":false},{"name":"subnet_ids","type":"list(string)","description":"Subnet IDs for blueprint regional parameters. If null, subnets from the default VPC are used.","default":"null","required":false},{"name":"s3_bucket_name","type":"string","description":"Existing S3 bucket name for Tooling blueprint storage. If null, a dedicated bucket is created by the domain module.","default":"null","required":false},{"name":"enable_all_capabilities","type":"bool","description":"Enable the All capabilities default project profile. Enabling this will create the project profile and enable the selected blueprints.","default":"true","required":false},{"name":"owner","type":"string","description":"Owner of the domain (for tagging purposes)","default":"\"terraform-quick-setup\"","required":false},{"name":"domain_name","type":"string","description":"Name of the SageMaker Unified Studio domain","default":"\"terraform-quick-setup-domain\"","required":false},{"name":"vpc_id","type":"string","description":"VPC ID for blueprint regional parameters. If null, the default VPC is used.","default":"null","required":false},{"name":"user_role_policy_arns","type":"list(string)","description":"List of IAM policy ARNs to apply as user role policies on the Tooling blueprint","default":"null","required":false},{"name":"project_name","type":"string","description":"Name of the project to create","default":"\"terraform-quick-setup-project\"","required":false},{"name":"enable_sso","type":"bool","description":"Enable single sign on (SSO) using the default IAM Identity Center instance for the region","default":"false","required":false},{"name":"project_contributors","type":"object({\n    sso_users  = optional(list(string), [])\n    sso_groups = optional(list(string), [])\n    iam_users  = optional(list(string), [])\n    iam_roles  = optional(list(string), [])\n  })","description":"Principals to add to the created project as PROJECT_CONTRIBUTOR.","default":"{}","required":false},{"name":"environment","type":"string","description":"Environment name (e.g., dev, staging, prod)","default":"\"test\"","required":false},{"name":"enable_generative_ai","type":"bool","description":"Enable the Generative AI application development default project profile. Enabling this will create the project profile and enable the selected blueprints.","default":"true","required":false},{"name":"project_description","type":"string","description":"Description of the project","default":"\"Quick-setup project created with Terraform for SageMaker Unified Studio\"","required":false},{"name":"tags","type":"map(string)","description":"Additional tags to apply to all resources","default":"{}","required":false}],"outputs":[{"name":"project_id","description":"ID of the created project"},{"name":"project_url","description":"URL to access the project in SageMaker Unified Studio"},{"name":"domain_service_role_arn","description":"ARN of the domain service role"},{"name":"s3_bucket_name","description":"S3 bucket name used by the domain"},{"name":"domain_arn","description":"ARN of the created SageMaker Unified Studio domain"},{"name":"blueprint_ids","description":"Map of blueprint logical names to their resolved blueprint IDs"},{"name":"blueprint_names","description":"Map of blueprint logical names to their blueprint names"},{"name":"provisioning_role_arn","description":"ARN of the provisioning role (from domain module)"},{"name":"account_id","description":"AWS account ID where resources are created"},{"name":"region","description":"AWS region where resources are created"},{"name":"domain_name","description":"Name of the created SageMaker Unified Studio domain"},{"name":"domain_url","description":"Portal URL for accessing the SageMaker Unified Studio domain"},{"name":"tooling_blueprint_id","description":"ID of the Tooling blueprint (created by the domain module)"},{"name":"domain_execution_role_arn","description":"ARN of the domain execution role"},{"name":"subnet_ids","description":"Subnet IDs used for blueprint configurations"},{"name":"domain_id","description":"ID of the created SageMaker Unified Studio domain"},{"name":"project_profile_ids","description":"List of all enabled project profile IDs"},{"name":"project_name","description":"Name of the created project"},{"name":"manage_access_role_arn","description":"ARN of the manage access role (from domain module)"},{"name":"vpc_id","description":"VPC ID used for blueprint configurations"},{"name":"domain_root_unit_id","description":"Root domain unit ID of the domain"}],"dependencies":[],"provider_dependencies":[{"name":"aws","namespace":"","source":"hashicorp/aws","version":"\u003e= 6.51.0","aliases":null},{"name":"awscc","namespace":"","source":"hashicorp/awscc","version":"\u003e= 1.89.0","aliases":null},{"name":"random","namespace":"","source":"hashicorp/random","version":"\u003e= 3.8.1","aliases":null},{"name":"time","namespace":"","source":"hashicorp/time","version":"\u003e= 0.13.1","aliases":null}],"resources":[{"name":"project_suffix","type":"random_id"}]},{"path":"examples/domain-management-and-bring-your-own-role","name":"domain-management-and-bring-your-own-role","readme":"\u003c!-- BEGIN_TF_DOCS --\u003e\n# SageMaker Unified Studio Domain Management Portal \u0026 Bring-Your-Own-Role Example\n\nThis example deploys a SageMaker Unified Studio domain configured for **bring-your-own-role (BYOR)** project provisioning using the **Default Project Profile**. BYOR is the modern alternative to the standard Tooling blueprint: rather than letting DataZone auto-create per-project execution roles, you supply your own IAM role at project creation time.\n\nOptionally, the example also enables the new **domain management portal** experience. The domain management portal is an in-app administrative experience within SageMaker Unified Studio for managing the domain, its projects, project profiles, blueprints, and members. When enabled, this example also creates a singleton **admin project** that acts as the provisioner for BYOR projects, so per-project execution roles are issued through the admin project's execution role instead of a static provisioning role.\n\nFor background on these concepts, see [Further reading](#further-reading) at the end of this document.\n\n## What this example deploys\n\n### Domain (root module)\n\n- A SageMaker Unified Studio **domain** with the standard Tooling blueprint, IAM roles, and S3 bucket\n- Provisioning role gets an additional `s3:CreateBucket` / `s3:Get*` / `s3:Put*` policy on `arn:aws:s3:::amazon-sagemaker*` so default projects can self-provision their bucket\n\n### Default Project Profile\n\n- Enables **ToolingLite**, **S3Bucket**, and **S3TableCatalog** blueprints on the domain\n- Creates the special **Default Project Profile** required for BYOR projects\n- Optionally configures ToolingLite with the same VPC and subnets used by the domain's standard Tooling blueprint\n\n### Domain Management Portal (optional)\n\nWhen `create_domain_management_portal = true`:\n\n- Creates the singleton admin project (`project_category = ADMIN`) that acts as the provisioner for BYOR projects\n- The default project profile defers to the admin project's auto-created execution role rather than attaching a static provisioning role to the blueprints for `ON_CREATE` environments.\n\nWhen `create_domain_management_portal = false` (default):\n\n- The blueprint module's provisioning role is used to provision projects\n- Memberships under `domain_admins` are not allowed and will fail the plan with a clear error\n\n### Default Project + IAM execution role\n\n- A dedicated IAM role (`SMUSProjectIAMExecutionRole_\u003crandom\u003e`) is created with the `SageMakerStudioUserIAMDefaultExecutionPolicy` managed policy attached\n- A single project is created from the Default Project Profile using that role as the BYOR `projectRoleArn`\n\n### Memberships\n\nThree principal sets, each accepting any combination of SSO users, SSO groups, IAM users, and IAM roles:\n\n- `domain_admins` → admin project as `PROJECT_OWNER` (only when `create_domain_management_portal = true`)\n- `project_owners` → default project as `PROJECT_OWNER`\n- `project_contributors` → default project as `PROJECT_CONTRIBUTOR`\n\nEach set is an object with `sso_users`, `sso_groups`, `iam_users`, and `iam_roles` lists.\n\nProfiles are registered automatically before members are added: SSO users and IAM users as `aws_datazone_user_profile` entries (`user_type` `SSO_USER` and `IAM_USER` respectively), and SSO groups as `awscc_datazone_group_profile` entries. IAM roles are added directly without a profile.\n\n## Prerequisites\n\n1. **AWS CLI** configured with appropriate permissions\n2. **Terraform** \u003e= 1.5 installed\n3. **AWS Account** with SageMaker Unified Studio available in your region\n4. A VPC and subnets to attach to ToolingLite (or omit `vpc_id` / `subnet_ids` to use the domain's default VPC discovery)\n\n## Quick start\n\n1. Copy `terraform.tfvars.example` to `terraform.tfvars` and fill in domain name, region, VPC details, and the principal sets\n\n2. Initialize and apply:\n\n```bash\nterraform init\nterraform apply\n```\n\n## Variables of interest\n\n| Variable | Purpose |\n|---|---|\n| `create_domain_management_portal` | When `true`, creates the admin project and uses it as the provisioner for BYOR projects |\n| `vpc_id`, `subnet_ids` | Attach VPC/Subnets to ToolingLite. Both required together |\n| `domain_admins` | `{ sso_users, sso_groups, iam_users, iam_roles }` added to the admin project |\n| `project_owners` | `{ sso_users, sso_groups, iam_users, iam_roles }` added to the default project as owners |\n| `project_contributors` | `{ sso_users, sso_groups, iam_users, iam_roles }` added to the default project as contributors |\n| `enable_sso` | Enables IAM Identity Center SSO on the domain |\n\n## Module composition\n\nThis example is a reference implementation. The individual sub-modules can be consumed directly for production use cases:\n\n| Module | Path | Purpose |\n|---|---|---|\n| Domain (root) | `../..` | Domain, Tooling blueprint, IAM roles, S3 bucket, model governance |\n| Default Project Profile | `../../modules/default-project-profile` | ToolingLite + S3Bucket + S3TableCatalog and the BYOR profile |\n| Domain Management Portal | `../../modules/domain-management-portal` | Singleton admin project that provisions BYOR projects |\n| Project | `../../modules/project` | Create a project from a profile, with optional `project_role` for BYOR |\n| Membership | `../../modules/project-membership` | Add owner/contributor principal sets (SSO users/groups, IAM users, IAM roles) to a project |\n| Policy Grant: Create Project | `../../modules/policy-grant-create-project` | Grant CREATE\\_PROJECT\\_FROM\\_PROJECT\\_PROFILE on a domain unit |\n\n## Further reading\n\n- [Amazon SageMaker Unified Studio concepts](https://docs.aws.amazon.com/sagemaker-unified-studio/latest/userguide/concepts.html) — domains, projects, project profiles, and blueprints\n- [Project profiles](https://docs.aws.amazon.com/sagemaker-unified-studio/latest/adminguide/project-profiles.html) — configuration templates that define which blueprints a project is created from\n- [Create a project](https://docs.aws.amazon.com/sagemaker-unified-studio/latest/userguide/getting-started-create-a-project.html) — creating a project from a project profile\n- [Project role](https://docs.aws.amazon.com/sagemaker-unified-studio/latest/adminguide/setup-projects-iam-based-domains.html) — the IAM role associated with a project, which BYOR lets you supply\n- [Domain management portal setup](https://docs.aws.amazon.com/sagemaker-unified-studio/latest/adminguide/accessing-domain-management-idc.html) — domain administration, roles, user management, and project creation\n\n## Requirements\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"requirement_terraform\"\u003e\u003c/a\u003e [terraform](#requirement\\_terraform) | \u003e= 1.7 |\n| \u003ca name=\"requirement_aws\"\u003e\u003c/a\u003e [aws](#requirement\\_aws) | \u003e= 6.51.0 |\n| \u003ca name=\"requirement_awscc\"\u003e\u003c/a\u003e [awscc](#requirement\\_awscc) | \u003e= 1.89.0 |\n| \u003ca name=\"requirement_random\"\u003e\u003c/a\u003e [random](#requirement\\_random) | \u003e= 3.8.1 |\n| \u003ca name=\"requirement_time\"\u003e\u003c/a\u003e [time](#requirement\\_time) | \u003e= 0.13.1 |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_aws\"\u003e\u003c/a\u003e [aws](#provider\\_aws) | \u003e= 6.51.0 |\n| \u003ca name=\"provider_awscc\"\u003e\u003c/a\u003e [awscc](#provider\\_awscc) | \u003e= 1.89.0 |\n| \u003ca name=\"provider_random\"\u003e\u003c/a\u003e [random](#provider\\_random) | \u003e= 3.8.1 |\n| \u003ca name=\"provider_terraform\"\u003e\u003c/a\u003e [terraform](#provider\\_terraform) | n/a |\n| \u003ca name=\"provider_time\"\u003e\u003c/a\u003e [time](#provider\\_time) | \u003e= 0.13.1 |\n\n## Modules\n\n| Name | Source | Version |\n|------|--------|---------|\n| \u003ca name=\"module_admin_project\"\u003e\u003c/a\u003e [admin\\_project](#module\\_admin\\_project) | ../../modules/domain-management-portal | n/a |\n| \u003ca name=\"module_admin_project_membership\"\u003e\u003c/a\u003e [admin\\_project\\_membership](#module\\_admin\\_project\\_membership) | ../../modules/project-membership | n/a |\n| \u003ca name=\"module_create_project_from_project_profile_grant\"\u003e\u003c/a\u003e [create\\_project\\_from\\_project\\_profile\\_grant](#module\\_create\\_project\\_from\\_project\\_profile\\_grant) | ../../modules/policy-grant-create-project | n/a |\n| \u003ca name=\"module_default_project\"\u003e\u003c/a\u003e [default\\_project](#module\\_default\\_project) | ../../modules/project | n/a |\n| \u003ca name=\"module_default_project_membership\"\u003e\u003c/a\u003e [default\\_project\\_membership](#module\\_default\\_project\\_membership) | ../../modules/project-membership | n/a |\n| \u003ca name=\"module_default_project_profile\"\u003e\u003c/a\u003e [default\\_project\\_profile](#module\\_default\\_project\\_profile) | ../../modules/default-project-profile | n/a |\n| \u003ca name=\"module_domain\"\u003e\u003c/a\u003e [domain](#module\\_domain) | ../.. | n/a |\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [aws_datazone_user_profile.iam_users](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/datazone_user_profile) | resource |\n| [aws_datazone_user_profile.sso_users](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/datazone_user_profile) | resource |\n| [aws_iam_role.project_iam_role](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role) | resource |\n| [aws_iam_role_policy.project_iam_role_pass_role](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role_policy) | resource |\n| [aws_iam_role_policy_attachment.project_iam_role_policy_attachment](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role_policy_attachment) | resource |\n| [aws_iam_role_policy_attachment.provisioning_admin_policy_attachment](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role_policy_attachment) | resource |\n| [awscc_datazone_group_profile.sso_groups](https://registry.terraform.io/providers/hashicorp/awscc/latest/docs/resources/datazone_group_profile) | resource |\n| [random_id.project_suffix](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/id) | resource |\n| [random_string.project_suffix](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/string) | resource |\n| [terraform_data.admin_project_membership_precondition](https://registry.terraform.io/providers/hashicorp/terraform/latest/docs/resources/data) | resource |\n| [time_sleep.wait_after_project_role_creation](https://registry.terraform.io/providers/hashicorp/time/latest/docs/resources/sleep) | resource |\n| [aws_caller_identity.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity) | data source |\n| [aws_region.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/region) | data source |\n| [aws_subnets.default](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/subnets) | data source |\n| [aws_vpc.default](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/vpc) | data source |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_aws_region\"\u003e\u003c/a\u003e [aws\\_region](#input\\_aws\\_region) | AWS region where the domain will be created | `string` | `\"us-east-1\"` | no |\n| \u003ca name=\"input_create_domain_management_portal\"\u003e\u003c/a\u003e [create\\_domain\\_management\\_portal](#input\\_create\\_domain\\_management\\_portal) | When set to true, the new project and domain management experience will be enabled an and Adminstrator project will be created and used for bring-your-own-role project provisioning. When set to false the admin portal will not be created and bring-your-role projects will be created by the provisioning role. | `bool` | `false` | no |\n| \u003ca name=\"input_domain_admins\"\u003e\u003c/a\u003e [domain\\_admins](#input\\_domain\\_admins) | Principals to add to the admin project as owners. Only used when create\\_domain\\_management\\_portal = true. | \u003cpre\u003eobject({\u003cbr/\u003e    sso_users  = optional(list(string), [])\u003cbr/\u003e    sso_groups = optional(list(string), [])\u003cbr/\u003e    iam_users  = optional(list(string), [])\u003cbr/\u003e    iam_roles  = optional(list(string), [])\u003cbr/\u003e  })\u003c/pre\u003e | `{}` | no |\n| \u003ca name=\"input_domain_description\"\u003e\u003c/a\u003e [domain\\_description](#input\\_domain\\_description) | Description of the SageMaker Unified Studio domain | `string` | `\"SageMaker Unified Studio domain with modular blueprint and profile setup\"` | no |\n| \u003ca name=\"input_domain_name\"\u003e\u003c/a\u003e [domain\\_name](#input\\_domain\\_name) | Name of the SageMaker Unified Studio domain | `string` | `\"terraform-quick-setup-domain\"` | no |\n| \u003ca name=\"input_enable_sso\"\u003e\u003c/a\u003e [enable\\_sso](#input\\_enable\\_sso) | Enable single sign on (SSO) using the default IAM Identity Center instance for the region | `bool` | `false` | no |\n| \u003ca name=\"input_environment\"\u003e\u003c/a\u003e [environment](#input\\_environment) | Environment name (e.g., dev, staging, prod) | `string` | `\"test\"` | no |\n| \u003ca name=\"input_owner\"\u003e\u003c/a\u003e [owner](#input\\_owner) | Owner of the domain (for tagging purposes) | `string` | `\"terraform-quick-setup\"` | no |\n| \u003ca name=\"input_project_contributors\"\u003e\u003c/a\u003e [project\\_contributors](#input\\_project\\_contributors) | Principals to add to the default project as PROJECT\\_CONTRIBUTOR. | \u003cpre\u003eobject({\u003cbr/\u003e    sso_users  = optional(list(string), [])\u003cbr/\u003e    sso_groups = optional(list(string), [])\u003cbr/\u003e    iam_users  = optional(list(string), [])\u003cbr/\u003e    iam_roles  = optional(list(string), [])\u003cbr/\u003e  })\u003c/pre\u003e | `{}` | no |\n| \u003ca name=\"input_project_description\"\u003e\u003c/a\u003e [project\\_description](#input\\_project\\_description) | Description of the project | `string` | `\"Quick-setup project created with Terraform for SageMaker Unified Studio\"` | no |\n| \u003ca name=\"input_project_name\"\u003e\u003c/a\u003e [project\\_name](#input\\_project\\_name) | Name of the project to create | `string` | `\"terraform-quick-setup-project\"` | no |\n| \u003ca name=\"input_project_owners\"\u003e\u003c/a\u003e [project\\_owners](#input\\_project\\_owners) | Principals to add to the default project as PROJECT\\_OWNER. | \u003cpre\u003eobject({\u003cbr/\u003e    sso_users  = optional(list(string), [])\u003cbr/\u003e    sso_groups = optional(list(string), [])\u003cbr/\u003e    iam_users  = optional(list(string), [])\u003cbr/\u003e    iam_roles  = optional(list(string), [])\u003cbr/\u003e  })\u003c/pre\u003e | `{}` | no |\n| \u003ca name=\"input_project_role_arn\"\u003e\u003c/a\u003e [project\\_role\\_arn](#input\\_project\\_role\\_arn) | Bring-your-own-role: ARN of an existing IAM role to use as the project execution role. When null (default), the example creates and manages its own project execution role. | `string` | `null` | no |\n| \u003ca name=\"input_s3_bucket_name\"\u003e\u003c/a\u003e [s3\\_bucket\\_name](#input\\_s3\\_bucket\\_name) | Existing S3 bucket name for Tooling blueprint storage. If null, a dedicated bucket is created by the domain module. | `string` | `null` | no |\n| \u003ca name=\"input_subnet_ids\"\u003e\u003c/a\u003e [subnet\\_ids](#input\\_subnet\\_ids) | Subnet IDs for blueprint regional parameters. If null, subnets from the default VPC are used. | `list(string)` | `null` | no |\n| \u003ca name=\"input_user_role_policy_arns\"\u003e\u003c/a\u003e [user\\_role\\_policy\\_arns](#input\\_user\\_role\\_policy\\_arns) | List of IAM policy ARNs to apply as user role policies on the Tooling blueprint | `list(string)` | `null` | no |\n| \u003ca name=\"input_vpc_id\"\u003e\u003c/a\u003e [vpc\\_id](#input\\_vpc\\_id) | VPC ID for blueprint regional parameters. If null, the default VPC is used. | `string` | `null` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_account_id\"\u003e\u003c/a\u003e [account\\_id](#output\\_account\\_id) | AWS account ID where resources are created |\n| \u003ca name=\"output_domain_arn\"\u003e\u003c/a\u003e [domain\\_arn](#output\\_domain\\_arn) | ARN of the created SageMaker Unified Studio domain |\n| \u003ca name=\"output_domain_execution_role_arn\"\u003e\u003c/a\u003e [domain\\_execution\\_role\\_arn](#output\\_domain\\_execution\\_role\\_arn) | ARN of the domain execution role |\n| \u003ca name=\"output_domain_id\"\u003e\u003c/a\u003e [domain\\_id](#output\\_domain\\_id) | ID of the created SageMaker Unified Studio domain |\n| \u003ca name=\"output_domain_name\"\u003e\u003c/a\u003e [domain\\_name](#output\\_domain\\_name) | Name of the created SageMaker Unified Studio domain |\n| \u003ca name=\"output_domain_root_unit_id\"\u003e\u003c/a\u003e [domain\\_root\\_unit\\_id](#output\\_domain\\_root\\_unit\\_id) | Root domain unit ID of the domain |\n| \u003ca name=\"output_domain_service_role_arn\"\u003e\u003c/a\u003e [domain\\_service\\_role\\_arn](#output\\_domain\\_service\\_role\\_arn) | ARN of the domain service role |\n| \u003ca name=\"output_domain_url\"\u003e\u003c/a\u003e [domain\\_url](#output\\_domain\\_url) | Portal URL for accessing the SageMaker Unified Studio domain |\n| \u003ca name=\"output_manage_access_role_arn\"\u003e\u003c/a\u003e [manage\\_access\\_role\\_arn](#output\\_manage\\_access\\_role\\_arn) | ARN of the manage access role (from domain module) |\n| \u003ca name=\"output_provisioning_role_arn\"\u003e\u003c/a\u003e [provisioning\\_role\\_arn](#output\\_provisioning\\_role\\_arn) | ARN of the provisioning role (from domain module) |\n| \u003ca name=\"output_region\"\u003e\u003c/a\u003e [region](#output\\_region) | AWS region where resources are created |\n| \u003ca name=\"output_s3_bucket_name\"\u003e\u003c/a\u003e [s3\\_bucket\\_name](#output\\_s3\\_bucket\\_name) | S3 bucket name used by the domain |\n| \u003ca name=\"output_subnet_ids\"\u003e\u003c/a\u003e [subnet\\_ids](#output\\_subnet\\_ids) | Subnet IDs used for blueprint configurations |\n| \u003ca name=\"output_tooling_blueprint_id\"\u003e\u003c/a\u003e [tooling\\_blueprint\\_id](#output\\_tooling\\_blueprint\\_id) | ID of the Tooling blueprint (created by the domain module) |\n| \u003ca name=\"output_vpc_id\"\u003e\u003c/a\u003e [vpc\\_id](#output\\_vpc\\_id) | VPC ID used for blueprint configurations |\n\u003c!-- END_TF_DOCS --\u003e","empty":false,"inputs":[{"name":"enable_sso","type":"bool","description":"Enable single sign on (SSO) using the default IAM Identity Center instance for the region","default":"false","required":false},{"name":"owner","type":"string","description":"Owner of the domain (for tagging purposes)","default":"\"terraform-quick-setup\"","required":false},{"name":"subnet_ids","type":"list(string)","description":"Subnet IDs for blueprint regional parameters. If null, subnets from the default VPC are used.","default":"null","required":false},{"name":"s3_bucket_name","type":"string","description":"Existing S3 bucket name for Tooling blueprint storage. If null, a dedicated bucket is created by the domain module.","default":"null","required":false},{"name":"create_domain_management_portal","type":"bool","description":"When set to true, the new project and domain management experience will be enabled an and Adminstrator project will be created and used for bring-your-own-role project provisioning. When set to false the admin portal will not be created and bring-your-role projects will be created by the provisioning role.","default":"false","required":false},{"name":"project_description","type":"string","description":"Description of the project","default":"\"Quick-setup project created with Terraform for SageMaker Unified Studio\"","required":false},{"name":"domain_admins","type":"object({\n    sso_users  = optional(list(string), [])\n    sso_groups = optional(list(string), [])\n    iam_users  = optional(list(string), [])\n    iam_roles  = optional(list(string), [])\n  })","description":"Principals to add to the admin project as owners. Only used when create_domain_management_portal = true.","default":"{}","required":false},{"name":"aws_region","type":"string","description":"AWS region where the domain will be created","default":"\"us-east-1\"","required":false},{"name":"domain_name","type":"string","description":"Name of the SageMaker Unified Studio domain","default":"\"terraform-quick-setup-domain\"","required":false},{"name":"domain_description","type":"string","description":"Description of the SageMaker Unified Studio domain","default":"\"SageMaker Unified Studio domain with modular blueprint and profile setup\"","required":false},{"name":"user_role_policy_arns","type":"list(string)","description":"List of IAM policy ARNs to apply as user role policies on the Tooling blueprint","default":"null","required":false},{"name":"project_owners","type":"object({\n    sso_users  = optional(list(string), [])\n    sso_groups = optional(list(string), [])\n    iam_users  = optional(list(string), [])\n    iam_roles  = optional(list(string), [])\n  })","description":"Principals to add to the default project as PROJECT_OWNER.","default":"{}","required":false},{"name":"project_contributors","type":"object({\n    sso_users  = optional(list(string), [])\n    sso_groups = optional(list(string), [])\n    iam_users  = optional(list(string), [])\n    iam_roles  = optional(list(string), [])\n  })","description":"Principals to add to the default project as PROJECT_CONTRIBUTOR.","default":"{}","required":false},{"name":"environment","type":"string","description":"Environment name (e.g., dev, staging, prod)","default":"\"test\"","required":false},{"name":"vpc_id","type":"string","description":"VPC ID for blueprint regional parameters. If null, the default VPC is used.","default":"null","required":false},{"name":"project_name","type":"string","description":"Name of the project to create","default":"\"terraform-quick-setup-project\"","required":false},{"name":"project_role_arn","type":"string","description":"Bring-your-own-role: ARN of an existing IAM role to use as the project execution role. When null (default), the example creates and manages its own project execution role.","default":"null","required":false}],"outputs":[{"name":"account_id","description":"AWS account ID where resources are created"},{"name":"tooling_blueprint_id","description":"ID of the Tooling blueprint (created by the domain module)"},{"name":"provisioning_role_arn","description":"ARN of the provisioning role (from domain module)"},{"name":"subnet_ids","description":"Subnet IDs used for blueprint configurations"},{"name":"domain_id","description":"ID of the created SageMaker Unified Studio domain"},{"name":"domain_arn","description":"ARN of the created SageMaker Unified Studio domain"},{"name":"domain_root_unit_id","description":"Root domain unit ID of the domain"},{"name":"domain_execution_role_arn","description":"ARN of the domain execution role"},{"name":"manage_access_role_arn","description":"ARN of the manage access role (from domain module)"},{"name":"vpc_id","description":"VPC ID used for blueprint configurations"},{"name":"domain_url","description":"Portal URL for accessing the SageMaker Unified Studio domain"},{"name":"s3_bucket_name","description":"S3 bucket name used by the domain"},{"name":"region","description":"AWS region where resources are created"},{"name":"domain_service_role_arn","description":"ARN of the domain service role"},{"name":"domain_name","description":"Name of the created SageMaker Unified Studio domain"}],"dependencies":[],"provider_dependencies":[{"name":"aws","namespace":"","source":"hashicorp/aws","version":"\u003e= 6.51.0","aliases":null},{"name":"awscc","namespace":"","source":"hashicorp/awscc","version":"\u003e= 1.89.0","aliases":null},{"name":"random","namespace":"","source":"hashicorp/random","version":"\u003e= 3.8.1","aliases":null},{"name":"terraform","namespace":"","source":"","version":"","aliases":null},{"name":"time","namespace":"","source":"hashicorp/time","version":"\u003e= 0.13.1","aliases":null}],"resources":[{"name":"project_suffix","type":"random_string"},{"name":"project_iam_role_pass_role","type":"aws_iam_role_policy"},{"name":"wait_after_project_role_creation","type":"time_sleep"},{"name":"project_suffix","type":"random_id"},{"name":"sso_users","type":"aws_datazone_user_profile"},{"name":"iam_users","type":"aws_datazone_user_profile"},{"name":"project_iam_role","type":"aws_iam_role"},{"name":"project_iam_role_policy_attachment","type":"aws_iam_role_policy_attachment"},{"name":"sso_groups","type":"awscc_datazone_group_profile"},{"name":"admin_project_membership_precondition","type":"terraform_data"},{"name":"provisioning_admin_policy_attachment","type":"aws_iam_role_policy_attachment"}]}],"providers":["aws"],"versions":["0.1.0","0.2.0","0.2.1"],"deprecation":null}
