Skip to content

Mcm cluster #3

Merged
merged 3 commits into from
Jul 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ Versions are module variables, but latest versions are intended to be be reflect
* 0.0.1 -- 2024-07-23
- updated to latest versions for all components and helm chart (defined in default variables)
- created content in the README
- add force_delete and lifecycle policies to copy_images
- updated version.tf to 0.0.1
- included module.images in depends on helm charts
- created changelog

<!-- BEGIN_TF_DOCS -->
Expand Down
7 changes: 5 additions & 2 deletions copy_images.tf
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ locals {
}

module "images" {
source = "git@github.e.it.census.gov:terraform-modules/aws-ecr-copy-images.git/?ref=2.0.2"
source = "git@github.e.it.census.gov:terraform-modules/aws-ecr-copy-images.git/?ref=tf-upgrade"

profile = var.profile
application_name = var.cluster_name
Expand All @@ -92,5 +92,8 @@ module "images" {
## region = ""
## source_password = ""
## source_username = ""
}

enable_lifecycle_policy = true
lifecycle_policy_all = true
force_delete = true
}
3 changes: 3 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ locals {
}

resource "helm_release" "prometheus" {
depends_on = [
module.images,
]
chart = "prometheus"
name = "prometheus"
namespace = local.ns
Expand Down
4 changes: 4 additions & 0 deletions version.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
locals {
_module_name = "tfmod-prometheus"
_module_version = "0.0.1"
}