eks-iam
castai/eks-iam/castai
Terraform Module
HCL
CASTAI
CAST AI terraform module for AWS EKS IAM
Install
module "eks-iam" {
source = "castai/eks-iam/castai"
version = "0.1.2"
}
README
Terraform module for creating AWS IAM resources required to connect EKS with CAST AI. ================== Website: https://www.cast.ai Requirements ------------ - Terraform 0.13+ Using the module ------------ A module to create AWS IAM policies and a user to connect to CAST.AI Requires castai/castai and hashicorp/aws providers to be configured. ``hcl module "castai-aws-iam" { source = "castai/eks-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 } ``
Inputs (7)
| Name | Type | Description | Default |
|---|---|---|---|
| aws_account_id | string | ID of AWS account the cluster is located in. | required |
| aws_cluster_name | string | Name of the cluster IAM resources will be created for. | required |
| aws_cluster_region | string | Region of the cluster IAM resources will created for. | required |
| aws_cluster_vpc_id | string | VPC of the cluster IAM resources will created for. | required |
| castai_iam_user_name | string | Name of a IAM user to create. | "" |
| castai_iam_policy_name | string | Name of a IAM policy to create. | "" |
| create_iam_resources_per_cluster | bool | Whether to generate IAM resources bound to single cluster that otherwise would b | true |
Outputs (6)
aws_access_key_id — ID of created AWS access key to onboard into CAST.AIaws_secret_access_key — Secret of created AWS access key to onboard into CAST.AIuser_arn — Arn of created AWS useruser_name — Name of created AWS userinstance_profile_arn — Arn of created instance profileinstance_profile_role_arn — Arn of created instance profile roleResources (8)
aws_iam_access_keyaws_iam_instance_profileaws_iam_policyaws_iam_roleaws_iam_role_policy_attachmentaws_iam_useraws_iam_user_policyaws_iam_user_policy_attachment
Details
FrameworkTerraform Module
LanguageHCL
Version0.1.2
Cloud CASTAI
★ Stars2
Forks0
Total downloads28.7k
Inputs7
Outputs6
Resources8
Examples1
LicenseMIT
Namespacecastai
Updated