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 1
1
name : plan-examples
2
2
3
3
on :
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
8
4
# this will allow to run test on main and not modify the status badge when opening a PR
9
5
push :
10
- branches : ["main"]
11
-
12
6
workflow_dispatch :
13
7
14
8
concurrency :
Original file line number Diff line number Diff line change 1
1
# AWS Observability Accelerator for Terraform
2
2
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 )
5
5
6
6
Welcome to the AWS Observability Accelerator for Terraform!
7
7
Original file line number Diff line number Diff line change 1
1
# Creating a new Amazon EKS cluster with VPC
2
2
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
-
6
3
This example deploys the following:
7
4
8
5
- 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 {
41
41
# ---------------------------------------------------------------
42
42
43
43
module "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"
45
45
46
46
cluster_name = local. cluster_name
47
47
cluster_version = var. eks_version
@@ -62,7 +62,7 @@ module "eks_blueprints" {
62
62
}
63
63
64
64
module "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"
66
66
67
67
eks_cluster_id = module. eks_blueprints . eks_cluster_id
68
68
eks_cluster_endpoint = module. eks_blueprints . eks_cluster_endpoint
@@ -84,7 +84,7 @@ module "eks_blueprints_kubernetes_addons" {
84
84
85
85
module "vpc" {
86
86
source = " terraform-aws-modules/vpc/aws"
87
- version = " ~> 3 .0"
87
+ version = " ~> 5 .0"
88
88
89
89
name = local. name
90
90
cidr = local. vpc_cidr
Original file line number Diff line number Diff line change 1
1
terraform {
2
- required_version = " >= 1.1 .0"
2
+ required_version = " >= 1.3 .0"
3
3
4
4
required_providers {
5
5
aws = {
6
6
source = " hashicorp/aws"
7
- version = " >= 4 .0.0"
7
+ version = " >= 5 .0.0"
8
8
}
9
9
kubernetes = {
10
10
source = " hashicorp/kubernetes"
11
- version = " >= 2.10 "
11
+ version = " >= 2.20 "
12
12
}
13
13
kubectl = {
14
14
source = " gavinbunney/kubectl"
15
15
version = " >= 1.14"
16
16
}
17
17
helm = {
18
18
source = " hashicorp/helm"
19
- version = " >= 2.4.1 "
19
+ version = " >= 2.10.0 "
20
20
}
21
21
grafana = {
22
22
source = " grafana/grafana"
23
- version = " >= 1.25.0 "
23
+ version = " >= 1.40.1 "
24
24
}
25
25
}
26
26
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.
38
38
| ------| --------| ---------|
39
39
| <a name =" module_external_secrets " ></a > [ external\_ secrets] ( #module\_ external\_ secrets ) | ./add-ons/external-secrets | n/a |
40
40
| <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 |
42
42
| <a name =" module_java_monitoring " ></a > [ java\_ monitoring] ( #module\_ java\_ monitoring ) | ./patterns/java | n/a |
43
43
| <a name =" module_nginx_monitoring " ></a > [ nginx\_ monitoring] ( #module\_ nginx\_ monitoring ) | ./patterns/nginx | n/a |
44
44
| <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.
41
41
42
42
| Name | Source | Version |
43
43
| ------| --------| ---------|
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 |
45
45
46
46
## Resources
47
47
Original file line number Diff line number Diff line change 1
1
module "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 "
3
3
count = var. enable_cert_manager ? 1 : 0
4
4
5
5
helm_config = var. helm_config
@@ -26,12 +26,13 @@ data "aws_eks_addon_version" "this" {
26
26
}
27
27
28
28
resource "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 )
35
36
36
37
tags = merge (
37
38
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
24
24
25
25
| Name | Source | Version |
26
26
| ------| --------| ---------|
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 |
28
28
29
29
## Resources
30
30
Original file line number Diff line number Diff line change 1
1
module "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"
3
3
manage_via_gitops = var. manage_via_gitops
4
4
set_values = local. set_values
5
5
helm_config = local. helm_config
You can’t perform that action at this time.
0 commit comments