Skip to content

Commit 0c44076

Browse files
authored
Update dependencies (#167)
* Lint file * Update dependencies * Update badges * Bump terraform versions * Temp allow run on current branch * Run tests on push
1 parent 850ce80 commit 0c44076

File tree

13 files changed

+27
-35
lines changed

13 files changed

+27
-35
lines changed

.github/workflows/plan-examples.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
11
name: plan-examples
22

33
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
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

148
concurrency:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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

66
Welcome to the AWS Observability Accelerator for Terraform!
77

docs/helpers/new-eks-cluster.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
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-
63
This example deploys the following:
74

85
- New sample VPC, 3 Private Subnets and 3 Public Subnets

examples/eks-cluster-with-vpc/main.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ locals {
4141
#---------------------------------------------------------------
4242

4343
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"
4545

4646
cluster_name = local.cluster_name
4747
cluster_version = var.eks_version
@@ -62,7 +62,7 @@ module "eks_blueprints" {
6262
}
6363

6464
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"
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

8585
module "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

examples/eks-cluster-with-vpc/versions.tf

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
terraform {
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

modules/eks-monitoring/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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 |

modules/eks-monitoring/add-ons/adot-operator/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

modules/eks-monitoring/add-ons/adot-operator/main.tf

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
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"
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

2828
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)
3536

3637
tags = merge(
3738
var.addon_context.tags,

modules/eks-monitoring/add-ons/aws-for-fluentbit/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

modules/eks-monitoring/add-ons/aws-for-fluentbit/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
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"
33
manage_via_gitops = var.manage_via_gitops
44
set_values = local.set_values
55
helm_config = local.helm_config

0 commit comments

Comments
 (0)