diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index edcbdd7..f451b69 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
- rev: v4.6.0
+ rev: v5.0.0
hooks:
# Git style
- id: check-added-large-files
@@ -49,7 +49,7 @@ repos:
# Terraform Hooks
- repo: https://github.com/antonbabenko/pre-commit-terraform
- rev: v1.92.2 # Get the latest from: https://github.com/antonbabenko/pre-commit-terraform/releases
+ rev: v1.96.1 # Get the latest from: https://github.com/antonbabenko/pre-commit-terraform/releases
hooks:
- id: terraform_fmt
args:
@@ -106,6 +106,6 @@ repos:
# - --hook-config=--parallelism-ci-cpu-cores=2
- repo: https://github.com/ljnsn/cz-conventional-gitmoji
- rev: v0.3.3
+ rev: v0.6.1
hooks:
- id: conventional-gitmoji
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 59ffc31..ca57483 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,15 +1,14 @@
-## Unreleased
+## 0.0.1 (2024-10-24)
+
+### 🐛🚑️ Fixes
+
+- **tag**: udpate tag for cluster name to boc:cluster-name
### 🎨🏗️ Style & Architecture
+- **lints**: reslove lint output from tflint
- **repo**: install repo features pre-commit and commitizen
-# CHANGELOG
-* 0.0.2 -- 2024-07-30
- - update images module
- - formatting
- - fix for tags
-* 0.0.1 -- 2024-07-22
- - updated version.tf to 0.0.1
- - included module.images in depends on helm charts
- - created changelog
+### 📝💡 Documentation
+
+- **CHANGELOG.md**: add cz ch changelog
diff --git a/README.md b/README.md
index 08354e1..a45bc39 100644
--- a/README.md
+++ b/README.md
@@ -25,16 +25,16 @@ to loki.
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | 5.61.0 |
-| [helm](#provider\_helm) | 2.14.0 |
-| [kubernetes](#provider\_kubernetes) | 2.31.0 |
+| [aws](#provider\_aws) | 5.72.1 |
+| [helm](#provider\_helm) | 2.16.1 |
+| [kubernetes](#provider\_kubernetes) | 2.33.0 |
## Modules
| Name | Source | Version |
|------|--------|---------|
| [images](#module\_images) | git@github.e.it.census.gov:terraform-modules/aws-ecr-copy-images.git/ | tf-upgrade |
-| [loki\_irsa\_role](#module\_loki\_irsa\_role) | git@github.it.census.gov:SOA/tfmod-custom-iam-role-for-service-account-eks.git/ | n/a |
+| [loki\_irsa\_role](#module\_loki\_irsa\_role) | git@github.e.it.census.gov:SCT-Engineering/tfmod-custom-iam-role-for-service-account-eks.git | n/a |
| [loki\_s3](#module\_loki\_s3) | git@github.e.it.census.gov:terraform-modules/aws-s3.git//standard | tf-upgrade |
## Resources
@@ -55,17 +55,17 @@ to loki.
| [cluster\_name](#input\_cluster\_name) | EKS cluster name name component used through out the EKS cluster describing its purpose (ex: dice-dev) | `string` | n/a | yes |
| [create\_namespace](#input\_create\_namespace) | Indicates whether the `namespace` needs to be created ('true') or already exists (not `true`) | `string` | `"true"` | no |
| [enterprise\_logs\_provisioner\_tag](#input\_enterprise\_logs\_provisioner\_tag) | The version of the grafana/enterprise-logs-provisioner image to use. | `string` | `"v1.7.0"` | no |
-| [exporter\_tag](#input\_exporter\_tag) | The version of prom/memcached-exporter to use for the gateway. | `string` | `"v0.14.2"` | no |
+| [exporter\_tag](#input\_exporter\_tag) | The version of prom/memcached-exporter to use for the gateway. | `string` | `"v0.14.4"` | no |
| [gateway\_tag](#input\_gateway\_tag) | The version of nginxinc/nginx-unprivileged to use for the gateway. | `string` | `"1.25.2-alpine"` | no |
-| [loki\_chart\_version](#input\_loki\_chart\_version) | Which version of the grafana/loki helm chart to use. | `string` | `"6.6.5"` | no |
-| [loki\_tag](#input\_loki\_tag) | The tag of the loki image to use. | `string` | `"3.0.0"` | no |
+| [loki\_chart\_version](#input\_loki\_chart\_version) | Which version of the grafana/loki helm chart to use. | `string` | `"6.10.2"` | no |
+| [loki\_tag](#input\_loki\_tag) | The tag of the loki image to use. | `string` | `"3.1.1"` | no |
| [memcached\_tag](#input\_memcached\_tag) | The version of memcached to use for the gateway. | `string` | `"1.6.23-alpine"` | no |
| [namespace](#input\_namespace) | The namespace into which grafana will be deployed | `string` | `"loki"` | no |
| [oidc\_provider\_arn](#input\_oidc\_provider\_arn) | The ARN in the EKS cluster for the OpenID Connect identity provider. | `string` | n/a | yes |
| [profile](#input\_profile) | AWS config profile used to upload images into ECR | `string` | `""` | no |
| [region](#input\_region) | The region holding these resources (for the s3 bucket.) | `string` | n/a | yes |
| [rwo\_storage\_class](#input\_rwo\_storage\_class) | Specify the storage class for read/write/once persistent volumes. | `string` | `"gp3-encrypted"` | no |
-| [sidecar\_tag](#input\_sidecar\_tag) | The version of kiwigrid/k8s-sidecar to use for the gateway. | `string` | `"1.24.3"` | no |
+| [sidecar\_tag](#input\_sidecar\_tag) | The version of kiwigrid/k8s-sidecar to use for the gateway. | `string` | `"1.27.4"` | no |
| [tag\_costallocation](#input\_tag\_costallocation) | Tag CostAllocation (default) | `string` | `"csvd:infrastructure"` | no |
| [tags](#input\_tags) | Additional tags to add to resources created in AWS (s3 bucket, ...) | `map(string)` | `{}` | no |
diff --git a/main.tf b/main.tf
index 4ab3816..5fe7ce2 100644
--- a/main.tf
+++ b/main.tf
@@ -25,7 +25,7 @@ data "kubernetes_namespace" "existing_ns" {
locals {
tags = merge({
- "eks-cluster-name" = var.cluster_name
+ "boc:eks-cluster-name" = var.cluster_name
"boc:tf_module_name" = local.module_name
"boc:tf_module_version" = local.module_version
"boc:created_by" = "terraform"