File tree Expand file tree Collapse file tree 13 files changed +27
-35
lines changed
examples/eks-cluster-with-vpc Expand file tree Collapse file tree 13 files changed +27
-35
lines changed Original file line number Diff line number Diff line change 11name : plan-examples
22
33on :
4- # Review https://securitylab.github.com/research/github-actions-preventing-pwn-requests/ and better understand the risks of using pull_request_target before making major changes to this workflow.
5- pull_request_target :
6- branches :
7- - main
84 # this will allow to run test on main and not modify the status badge when opening a PR
95 push :
10- branches : ["main"]
11-
126 workflow_dispatch :
137
148concurrency :
Original file line number Diff line number Diff line change 11# AWS Observability Accelerator for Terraform
22
3- [ ![ pre-commit] ( https://github.com/aws-observability/terraform-aws-observability-accelerator/actions/workflows/pre-commit.yaml/badge.svg )] ( https://github.com/aws-observability/terraform-aws-observability-accelerator/actions/workflows/pre-commit.yaml )
4- [ ![ plan-examples] ( https://github.com/aws-observability/terraform-aws-observability-accelerator/actions/workflows/plan-examples.yml/badge.svg )] ( https://github.com/aws-observability/terraform-aws-observability-accelerator/actions/workflows/plan-examples.yml )
3+ [ ![ pre-commit] ( https://github.com/aws-observability/terraform-aws-observability-accelerator/actions/workflows/pre-commit.yaml/badge.svg?branch=main )] ( https://github.com/aws-observability/terraform-aws-observability-accelerator/actions/workflows/pre-commit.yaml )
4+ [ ![ plan-examples] ( https://github.com/aws-observability/terraform-aws-observability-accelerator/actions/workflows/plan-examples.yml/badge.svg?branch=main )] ( https://github.com/aws-observability/terraform-aws-observability-accelerator/actions/workflows/plan-examples.yml )
55
66Welcome to the AWS Observability Accelerator for Terraform!
77
Original file line number Diff line number Diff line change 11# Creating a new Amazon EKS cluster with VPC
22
3- !!! note
4- This example is a subset from [ this EKS Blueprint example] ( https://github.com/aws-ia/terraform-aws-eks-blueprints/tree/v4.13.1/examples/eks-cluster-with-new-vpc )
5-
63This example deploys the following:
74
85- New sample VPC, 3 Private Subnets and 3 Public Subnets
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ locals {
4141# ---------------------------------------------------------------
4242
4343module "eks_blueprints" {
44- source = " github.com/aws-ia/terraform-aws-eks-blueprints?ref=v4.27 .0"
44+ source = " github.com/aws-ia/terraform-aws-eks-blueprints?ref=v4.32 .0"
4545
4646 cluster_name = local. cluster_name
4747 cluster_version = var. eks_version
@@ -62,7 +62,7 @@ module "eks_blueprints" {
6262}
6363
6464module "eks_blueprints_kubernetes_addons" {
65- source = " github.com/aws-ia/terraform-aws-eks-blueprints//modules/kubernetes-addons?ref=v4.27 .0"
65+ source = " github.com/aws-ia/terraform-aws-eks-blueprints//modules/kubernetes-addons?ref=v4.32 .0"
6666
6767 eks_cluster_id = module. eks_blueprints . eks_cluster_id
6868 eks_cluster_endpoint = module. eks_blueprints . eks_cluster_endpoint
@@ -84,7 +84,7 @@ module "eks_blueprints_kubernetes_addons" {
8484
8585module "vpc" {
8686 source = " terraform-aws-modules/vpc/aws"
87- version = " ~> 3 .0"
87+ version = " ~> 5 .0"
8888
8989 name = local. name
9090 cidr = local. vpc_cidr
Original file line number Diff line number Diff line change 11terraform {
2- required_version = " >= 1.1 .0"
2+ required_version = " >= 1.3 .0"
33
44 required_providers {
55 aws = {
66 source = " hashicorp/aws"
7- version = " >= 4 .0.0"
7+ version = " >= 5 .0.0"
88 }
99 kubernetes = {
1010 source = " hashicorp/kubernetes"
11- version = " >= 2.10 "
11+ version = " >= 2.20 "
1212 }
1313 kubectl = {
1414 source = " gavinbunney/kubectl"
1515 version = " >= 1.14"
1616 }
1717 helm = {
1818 source = " hashicorp/helm"
19- version = " >= 2.4.1 "
19+ version = " >= 2.10.0 "
2020 }
2121 grafana = {
2222 source = " grafana/grafana"
23- version = " >= 1.25.0 "
23+ version = " >= 1.40.1 "
2424 }
2525 }
2626
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ This module makes use of the open source [kube-prometheus-stack](https://github.
3838| ------| --------| ---------|
3939| <a name =" module_external_secrets " ></a > [ external\_ secrets] ( #module\_ external\_ secrets ) | ./add-ons/external-secrets | n/a |
4040| <a name =" module_fluentbit_logs " ></a > [ fluentbit\_ logs] ( #module\_ fluentbit\_ logs ) | ./add-ons/aws-for-fluentbit | n/a |
41- | <a name =" module_helm_addon " ></a > [ helm\_ addon] ( #module\_ helm\_ addon ) | github.com/aws-ia/terraform-aws-eks-blueprints//modules/kubernetes-addons/helm-addon | v4.26 .0 |
41+ | <a name =" module_helm_addon " ></a > [ helm\_ addon] ( #module\_ helm\_ addon ) | github.com/aws-ia/terraform-aws-eks-blueprints//modules/kubernetes-addons/helm-addon | v4.32 .0 |
4242| <a name =" module_java_monitoring " ></a > [ java\_ monitoring] ( #module\_ java\_ monitoring ) | ./patterns/java | n/a |
4343| <a name =" module_nginx_monitoring " ></a > [ nginx\_ monitoring] ( #module\_ nginx\_ monitoring ) | ./patterns/nginx | n/a |
4444| <a name =" module_operator " ></a > [ operator] ( #module\_ operator ) | ./add-ons/adot-operator | n/a |
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ the ADOT Operator.
4141
4242| Name | Source | Version |
4343| ------| --------| ---------|
44- | <a name =" module_cert_manager " ></a > [ cert\_ manager] ( #module\_ cert\_ manager ) | github.com/aws-ia/terraform-aws-eks-blueprints//modules/kubernetes-addons/cert-manager | v4.13.1 |
44+ | <a name =" module_cert_manager " ></a > [ cert\_ manager] ( #module\_ cert\_ manager ) | github.com/aws-ia/terraform-aws-eks-blueprints//modules/kubernetes-addons/cert-manager | v4.32.0 |
4545
4646## Resources
4747
Original file line number Diff line number Diff line change 11module "cert_manager" {
2- source = " github.com/aws-ia/terraform-aws-eks-blueprints//modules/kubernetes-addons/cert-manager?ref=v4.13.1 "
2+ source = " github.com/aws-ia/terraform-aws-eks-blueprints//modules/kubernetes-addons/cert-manager?ref=v4.32.0 "
33 count = var. enable_cert_manager ? 1 : 0
44
55 helm_config = var. helm_config
@@ -26,12 +26,13 @@ data "aws_eks_addon_version" "this" {
2626}
2727
2828resource "aws_eks_addon" "adot" {
29- cluster_name = var. addon_context . eks_cluster_id
30- addon_name = local. name
31- addon_version = try (var. addon_config . addon_version , data. aws_eks_addon_version . this . version )
32- resolve_conflicts = try (var. addon_config . resolve_conflicts , " OVERWRITE" )
33- service_account_role_arn = try (var. addon_config . service_account_role_arn , null )
34- preserve = try (var. addon_config . preserve , true )
29+ cluster_name = var. addon_context . eks_cluster_id
30+ addon_name = local. name
31+ addon_version = try (var. addon_config . addon_version , data. aws_eks_addon_version . this . version )
32+ resolve_conflicts_on_create = try (var. addon_config . resolve_conflicts , " OVERWRITE" )
33+ resolve_conflicts_on_update = try (var. addon_config . resolve_conflicts , " OVERWRITE" )
34+ service_account_role_arn = try (var. addon_config . service_account_role_arn , null )
35+ preserve = try (var. addon_config . preserve , true )
3536
3637 tags = merge (
3738 var. addon_context . tags ,
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ See this [Helm Chart](https://github.com/aws/eks-charts/tree/master/stable/aws-f
2424
2525| Name | Source | Version |
2626| ------| --------| ---------|
27- | <a name =" module_helm_addon " ></a > [ helm\_ addon] ( #module\_ helm\_ addon ) | github.com/aws-ia/terraform-aws-eks-blueprints//modules/kubernetes-addons/helm-addon | v4.26 .0 |
27+ | <a name =" module_helm_addon " ></a > [ helm\_ addon] ( #module\_ helm\_ addon ) | github.com/aws-ia/terraform-aws-eks-blueprints//modules/kubernetes-addons/helm-addon | v4.32 .0 |
2828
2929## Resources
3030
Original file line number Diff line number Diff line change 11module "helm_addon" {
2- source = " github.com/aws-ia/terraform-aws-eks-blueprints//modules/kubernetes-addons/helm-addon?ref=v4.26 .0"
2+ source = " github.com/aws-ia/terraform-aws-eks-blueprints//modules/kubernetes-addons/helm-addon?ref=v4.32 .0"
33 manage_via_gitops = var. manage_via_gitops
44 set_values = local. set_values
55 helm_config = local. helm_config
You can’t perform that action at this time.
0 commit comments