|
|
|
|
@@ -79,20 +79,21 @@ module "test" {
|
|
|
|
|
|
|
|
|
|
| name | description | type | required | default |
|
|
|
|
|
|---|---|:---:|:---:|:---:|
|
|
|
|
|
| [notebooks](variables.tf#L76) | Vertex AI workbenches to be deployed. Service Account runtime/instances deployed. | <code title="map(object({ type = string machine_type = optional(string, "n1-standard-4") internal_ip_only = optional(bool, true) idle_shutdown = optional(bool, false) owner = optional(string) }))">map(object({…}))</code> | ✓ | |
|
|
|
|
|
| [project_config](variables.tf#L103) | Provide 'billing_account_id' value if project creation is needed, uses existing 'project_id' if null. Parent is in 'folders/nnn' or 'organizations/nnn' format. | <code title="object({ billing_account_id = optional(string) parent = optional(string) project_id = string })">object({…})</code> | ✓ | |
|
|
|
|
|
| [notebooks](variables.tf#L82) | Vertex AI workbenches to be deployed. Service Account runtime/instances deployed. | <code title="map(object({ type = string machine_type = optional(string, "n1-standard-4") internal_ip_only = optional(bool, true) idle_shutdown = optional(bool, false) owner = optional(string) }))">map(object({…}))</code> | ✓ | |
|
|
|
|
|
| [project_config](variables.tf#L109) | Provide 'billing_account_id' value if project creation is needed, uses existing 'project_id' if null. Parent is in 'folders/nnn' or 'organizations/nnn' format. | <code title="object({ billing_account_id = optional(string) parent = optional(string) project_id = string })">object({…})</code> | ✓ | |
|
|
|
|
|
| [bucket_name](variables.tf#L18) | GCS bucket name to store the Vertex AI artifacts. | <code>string</code> | | <code>null</code> |
|
|
|
|
|
| [dataset_name](variables.tf#L24) | BigQuery Dataset to store the training data. | <code>string</code> | | <code>null</code> |
|
|
|
|
|
| [deletion_protection](variables.tf#L30) | Prevent Terraform from destroying data storage resources (storage buckets, GKE clusters, CloudSQL instances) in this blueprint. When this field is set in Terraform state, a terraform destroy or terraform apply that would delete data storage resources will fail. | <code>bool</code> | | <code>false</code> |
|
|
|
|
|
| [groups](variables.tf#L37) | Name of the groups (name@domain.org) to apply opinionated IAM permissions. | <code title="object({ gcp-ml-ds = optional(string) gcp-ml-eng = optional(string) gcp-ml-viewer = optional(string) })">object({…})</code> | | <code>{}</code> |
|
|
|
|
|
| [identity_pool_claims](variables.tf#L48) | Claims to be used by Workload Identity Federation (i.e.: attribute.repository/ORGANIZATION/REPO). If a not null value is provided, then google_iam_workload_identity_pool resource will be created. | <code>string</code> | | <code>null</code> |
|
|
|
|
|
| [labels](variables.tf#L54) | Labels to be assigned at project level. | <code>map(string)</code> | | <code>{}</code> |
|
|
|
|
|
| [location](variables.tf#L60) | Location used for multi-regional resources. | <code>string</code> | | <code>"eu"</code> |
|
|
|
|
|
| [network_config](variables.tf#L66) | Shared VPC network configurations to use. If null networks will be created in projects with preconfigured values. | <code title="object({ host_project = string network_self_link = string subnet_self_link = string })">object({…})</code> | | <code>null</code> |
|
|
|
|
|
| [prefix](variables.tf#L97) | Prefix used for the project id. | <code>string</code> | | <code>null</code> |
|
|
|
|
|
| [region](variables.tf#L117) | Region used for regional resources. | <code>string</code> | | <code>"europe-west4"</code> |
|
|
|
|
|
| [repo_name](variables.tf#L123) | Cloud Source Repository name. null to avoid to create it. | <code>string</code> | | <code>null</code> |
|
|
|
|
|
| [service_encryption_keys](variables.tf#L129) | Cloud KMS to use to encrypt different services. Key location should match service region. | <code title="object({ aiplatform = optional(string) bq = optional(string) notebooks = optional(string) secretmanager = optional(string) storage = optional(string) })">object({…})</code> | | <code>{}</code> |
|
|
|
|
|
| [identity_pool_assertions](variables.tf#L48) | Assertions to be used by Workload Identityf Federation on tokens, for example: assertion.repository_owner=='ORGANIZATION'. | <code>string</code> | | <code>null</code> |
|
|
|
|
|
| [identity_pool_claims](variables.tf#L54) | Claims to be used by Workload Identity Federation (i.e.: attribute.repository/ORGANIZATION/REPO). If a not null value is provided, then google_iam_workload_identity_pool resource will be created. | <code>string</code> | | <code>null</code> |
|
|
|
|
|
| [labels](variables.tf#L60) | Labels to be assigned at project level. | <code>map(string)</code> | | <code>{}</code> |
|
|
|
|
|
| [location](variables.tf#L66) | Location used for multi-regional resources. | <code>string</code> | | <code>"eu"</code> |
|
|
|
|
|
| [network_config](variables.tf#L72) | Shared VPC network configurations to use. If null networks will be created in projects with preconfigured values. | <code title="object({ host_project = string network_self_link = string subnet_self_link = string })">object({…})</code> | | <code>null</code> |
|
|
|
|
|
| [prefix](variables.tf#L103) | Prefix used for the project id. | <code>string</code> | | <code>null</code> |
|
|
|
|
|
| [region](variables.tf#L123) | Region used for regional resources. | <code>string</code> | | <code>"europe-west4"</code> |
|
|
|
|
|
| [repo_name](variables.tf#L129) | Cloud Source Repository name. null to avoid to create it. | <code>string</code> | | <code>null</code> |
|
|
|
|
|
| [service_encryption_keys](variables.tf#L135) | Cloud KMS to use to encrypt different services. Key location should match service region. | <code title="object({ aiplatform = optional(string) bq = optional(string) notebooks = optional(string) secretmanager = optional(string) storage = optional(string) })">object({…})</code> | | <code>{}</code> |
|
|
|
|
|
|
|
|
|
|
## Outputs
|
|
|
|
|
|
|
|
|
|
@@ -111,9 +112,10 @@ module "test" {
|
|
|
|
|
"env" = "dev",
|
|
|
|
|
"team" = "ml"
|
|
|
|
|
}
|
|
|
|
|
bucket_name = "gcs-test"
|
|
|
|
|
dataset_name = "bq_test"
|
|
|
|
|
identity_pool_claims = "attribute.repository/ORGANIZATION/REPO"
|
|
|
|
|
bucket_name = "gcs-test"
|
|
|
|
|
dataset_name = "bq_test"
|
|
|
|
|
identity_pool_assertions = "assertion.repository_owner=='ORGANIZATION'"
|
|
|
|
|
identity_pool_claims = "attribute.repository/ORGANIZATION/REPO"
|
|
|
|
|
notebooks = {
|
|
|
|
|
"myworkbench" = {
|
|
|
|
|
type = "USER_MANAGED"
|
|
|
|
|
|