gke-iam

castai/gke-iam/castai

Terraform Module HCL CASTAI

CAST AI terraform module for GCP GKE IAM

Install
module "gke-iam" {
source = "castai/gke-iam/castai"
version = "0.5.0"
}
plain text: /constructs/tfmod-castai-gke-iam-castai/install.txt
⭐ Source on GitHub 📦 Registry page
README

Terraform module for creating GCP IAM resources required to connect GKE with CAST AI. ================== Website: https://www.cast.ai Requirements ------------ - Terraform 0.13+ Using the module ------------ ``hcl module "castai_gke_iam" { source = "castai/gke-iam/castai" project_id = var.project_id gke_cluster_name = var.cluster_name } `` Examples Usage examples are located in terraform provider repo Requirements | Name | Version | |------|---------| | terraform | >= 0.13 | | castai | >= 5.1.0 | | google | >= 2.49 | Providers | Name | Version | |------|---------| | castai | >= 5.1.0 | | google | >= 2.49 | Modules No modules. Resources | Name | Type | |------|------| | google_project_iam_binding.compute_manager_binding | resource | | google_project_iam_custom_role.castai_role | resource |

Inputs (11)
NameTypeDescriptionDefault
gke_cluster_namestringGKE cluster name for which to create IAM roles required
project_idstringThe project id from GCP required
service_accounts_unique_idslist(string)Service Accounts' unique IDs used by node pools in the cluster[]
create_service_accountboolWhether an Service Account with private key should be createdtrue
workload_identity_namespacestringOverride workload identity namespace, default is <project-id>.svc.id.goog""
cloud_proxy_service_account_namespacestringNamespace of the cloud-proxy Kubernetes Service Account"castai-agent"
compute_manager_permissionslist(string)A set of permissions that will be granted to compute manager role[]
compute_manager_project_idslist(string)Projects list for shared sole tenancy nodes[]
setup_cloud_proxy_workload_identityboolWhether the workload identity for castai-cloud-proxy should be setupfalse
cloud_proxy_service_account_namestringName of the cloud-proxy Kubernetes Service Account"castai-cloud-proxy"
castai_role_permissionslist(string)A set of permissions that will be granted to CAST AI role used by central system[]
Outputs (5)
default_compute_manager_permissions
default_castai_role_permissions
private_key
service_account_id
service_account_email
Resources (5)
google_project_iam_bindinggoogle_project_iam_custom_rolegoogle_project_iam_membergoogle_service_accountgoogle_service_account_key
Details
FrameworkTerraform Module
LanguageHCL
Version0.5.0
Cloud CASTAI
★ Stars3
Forks3
Total downloads136.4k
Inputs11
Outputs5
Resources5
LicenseMIT
Namespacecastai
Updated