eks-role-iam

castai/eks-role-iam/castai

Terraform Module HCL CASTAI

CAST AI terraform module providing access through AssumeRole IAM

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

Terraform module for creating AWS IAM resources required to connect EKS with CAST AI, providing access through AssumeRole IAM. ================== Website: https://www.cast.ai Requirements ------------ - Terraform 0.13+ Using the module ------------ A module to create AWS IAM policies and a role to connect to CAST.AI Requires castai/castai and hashicorp/aws providers to be configured. ``hcl module "castai-eks-role-iam" { source = "castai/eks-role-iam/castai" aws_account_id = var.aws_account_id aws_cluster_vpc_id = var.aws_vpc_id aws_cluster_region = var.aws_cluster_region aws_cluster_name = var.aws_cluster_name castai_user_arn = var.castai_user_arn } `` Examples Usage examples are located in terraform provider repo

Inputs (13)
NameTypeDescriptionDefault
aws_cluster_namestringName of the cluster IAM resources will be created for. required
aws_cluster_vpc_idstringVPC of the cluster IAM resources will created for. required
castai_user_arnstringARN of CAST AI user for which AssumeRole trust access should be granted required
aws_cluster_regionstringRegion of the cluster IAM resources will created for. required
aws_account_idstringID of AWS account the cluster is located in. required
attach_worker_cni_policyboolWhether to attach the Amazon managed `AmazonEKS_CNI_Policy` IAM policy to the detrue
attach_ebs_csi_driver_policyboolWhether to attach the Amazon managed `AmazonEBSCSIDriverPolicy` IAM policytrue
castai_user_external_idstringOptional external ID used in assume role policy conditionnull
create_iam_resources_per_clusterboolWhether to generate IAM resources bound to single cluster that otherwise would btrue
aws_shared_vpc_account_idstringOptional AWS account ID where the VPC and subnets are located, for shared VPC senull
attach_ssm_managed_instance_coreboolWhether to attach the Amazon managed `AmazonSSMManagedInstanceCore` IAM policytrue
enable_ipv6boolWhether to enable IPv6 CNI policy for the cluster.true
max_session_durationnumberMaximum session duration (in seconds) that you want to set for the specified rol3600
Outputs (3)
role_arn — Arn of created AWS user
instance_profile_arn — Arn of created instance profile
instance_profile_role_arn — Arn of created instance profile role
Resources (5)
aws_iam_instance_profileaws_iam_policyaws_iam_roleaws_iam_role_policyaws_iam_role_policy_attachment
Details
FrameworkTerraform Module
LanguageHCL
Version2.0.3
Cloud CASTAI
★ Stars0
Forks6
Total downloads378.0k
Inputs13
Outputs3
Resources5
LicenseMIT
Namespacecastai
Updated