-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: examples for terraform doc (#166)
* indicates how to retrieve the role arn * align instances count with number of AZs * add os fgac * introduce multi roles * implement resourceidentifier * add directions for password strength
- Loading branch information
1 parent
51cf7f9
commit f4b64f4
Showing
92 changed files
with
3,639 additions
and
300 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Camunda 8.6 on AWS EKS with IRSA | ||
|
||
This folder describes the IaC of Camunda 8.6 on AWS EKS with IRSA. | ||
Instructions can be found on the official documentation: https://docs.camunda.io/docs/self-managed/setup/deploy/amazon/amazon-eks/eks-terraform/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
locals { | ||
eks_cluster_name = "cluster-name-irsa" # Change this to a name of your choice | ||
eks_cluster_region = "eu-west-2" # Change this to your desired AWS region | ||
} | ||
|
||
module "eks_cluster" { | ||
source = "git::https://github.com/camunda/camunda-tf-eks-module//modules/eks-cluster?ref=3.0.0" | ||
|
||
name = local.eks_cluster_name | ||
region = local.eks_cluster_region | ||
|
||
# Set CIDR ranges or use the defaults | ||
cluster_service_ipv4_cidr = "10.190.0.0/16" | ||
cluster_node_ipv4_cidr = "10.192.0.0/16" | ||
|
||
# Default node type for the Kubernetes cluster | ||
np_instance_types = ["m6i.xlarge"] | ||
np_desired_node_count = 4 | ||
} | ||
|
||
output "cert_manager_arn" { | ||
value = module.eks_cluster.cert_manager_arn | ||
description = "The Amazon Resource Name (ARN) of the AWS IAM Roles for Service Account mapping for the cert-manager" | ||
} | ||
|
||
output "external_dns_arn" { | ||
value = module.eks_cluster.external_dns_arn | ||
description = "The Amazon Resource Name (ARN) of the AWS IAM Roles for Service Account mapping for the external-dns" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
terraform { | ||
required_version = ">= 1.0" | ||
|
||
# You can override the backend configuration; this is given as an example. | ||
backend "s3" { | ||
encrypt = true | ||
} | ||
|
||
required_providers { | ||
aws = { | ||
source = "hashicorp/aws" | ||
version = "~> 5.69" | ||
} | ||
} | ||
} | ||
|
||
provider "aws" {} |
Oops, something went wrong.