Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Build Status Terraform Version AWS Provider Version

Anyscale AWS EKS Example - Private Networking

This example creates the resources to run Anyscale on AWS EKS with fully private networking.

NOTE Not fully tested! Known to need some additional work.

Requirements

Name Version
terraform >= 1.0
aws ~> 5.0
helm ~> 2.0
kubernetes ~> 2.0

Providers

No providers.

Modules

Name Source Version
anyscale_efs github.com/anyscale/terraform-aws-anyscale-cloudfoundation-modules//modules/aws-anyscale-efs n/a
anyscale_eks_cluster github.com/anyscale/terraform-aws-anyscale-cloudfoundation-modules//modules/aws-anyscale-eks-cluster n/a
anyscale_eks_nodegroups github.com/anyscale/terraform-aws-anyscale-cloudfoundation-modules//modules/aws-anyscale-eks-nodegroups n/a
anyscale_iam_roles github.com/anyscale/terraform-aws-anyscale-cloudfoundation-modules//modules/aws-anyscale-iam n/a
anyscale_k8s_configmap ../../../modules/anyscale-k8s-configmap n/a
anyscale_k8s_helm ../../../modules/anyscale-k8s-helm n/a
anyscale_k8s_namespace ../../../modules/anyscale-k8s-namespace n/a
anyscale_s3 github.com/anyscale/terraform-aws-anyscale-cloudfoundation-modules//modules/aws-anyscale-s3 n/a
anyscale_securitygroup github.com/anyscale/terraform-aws-anyscale-cloudfoundation-modules//modules/aws-anyscale-securitygroups n/a
anyscale_vpc github.com/anyscale/terraform-aws-anyscale-cloudfoundation-modules//modules/aws-anyscale-vpc n/a

Resources

No resources.

Inputs

Name Description Type Default Required
anyscale_cloud_id (Optional) Anyscale Cloud ID. Default is null. string null no
anyscale_deploy_env (Optional) Anyscale deploy environment. Used in resource names and tags. string "production" no
anyscale_s3_cors_rule (Optional) A map of CORS rules for the S3 bucket.

Including here to override for Anyscale Staging.
map(any)
{
"allowed_headers": [
""
],
"allowed_methods": [
"GET",
"POST",
"PUT",
"HEAD",
"DELETE"
],
"allowed_origins": [
"https://
.anyscale.com"
],
"expose_headers": []
}
no
anyscale_trusted_role_arns (Optional) A list of ARNs of IAM roles that are trusted by the Anyscale IAM role.

Including here to override for Anyscale Staging.
list(string) [] no
aws_region The AWS region in which all resources will be created. string "us-east-2" no
tags (Optional) A map of tags to all resources that accept tags. map(string)
{
"environment": "example",
"example": "aws/eks-private",
"repo": "terraform-kubernetes-anyscale-foundation-modules",
"test": true
}
no

Outputs

Name Description
anyscale_register_command Anyscale register command.
This output can be used with the Anyscale CLI to register a new Anyscale Cloud.
You will need to replace <CUSTOMER_DEFINED_NAME> with a name of your choosing before running the Anyscale CLI command.
eks_cluster_name The name of the EKS cluster.