Skip to content

Commit

Permalink
Merge pull request #3 from SCT-Engineering/mcmCluster
Browse files Browse the repository at this point in the history
Mcm cluster
  • Loading branch information
morga471 committed Jul 23, 2024
2 parents 904bcd6 + 30906b9 commit dfe0317
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
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"
}

0 comments on commit dfe0317

Please sign in to comment.