diff --git a/README.md b/README.md index 4f50584..6bae10d 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,7 @@ # Overview DMR++ files generator is a cloud based activity that generate DMRPP files from netCDF4 and HDF files ## 📖 Documentation +- Release note [v4.0.3](https://ghrcdaac.github.io/dmrpp-generator/#v403). - Release note [v4.0.2](https://ghrcdaac.github.io/dmrpp-generator/#v402). - Release note [v4.0.1](https://ghrcdaac.github.io/dmrpp-generator/#v401). - Release note [v4.0.0](https://ghrcdaac.github.io/dmrpp-generator/#v400). diff --git a/docs/index.md b/docs/index.md index 0ca84d6..255407c 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,5 +1,16 @@ # 📖 Release notes +## v4.0.3 +This release: +* Updated the code to remove existing dmrpp files from the granule file list before adding newly created ones. +## 🏃 Migration Steps to v4.0.3 +```code +module "dmrpp-generator" { +// Change the source url in your terraform file to point to v4.0.3 +source = "https://github.com/ghrcdaac/dmrpp-generator/releases/download/v4.0.3/dmrpp-generator.zip" +... +} +``` ## v4.0.2 This release: diff --git a/main.tf b/main.tf index d490d8d..57c10b9 100644 --- a/main.tf +++ b/main.tf @@ -16,6 +16,5 @@ module "dmrpp_service" { memory_reservation = var.memory_reservation region = var.region volumes = var.volumes - enable_cw_logging = var.enable_cw_logging - + enable_cw_logging = var.enable_cw_logging } diff --git a/modules/dmrpp_service/main.tf b/modules/dmrpp_service/main.tf index 069352e..ba39e5c 100644 --- a/modules/dmrpp_service/main.tf +++ b/modules/dmrpp_service/main.tf @@ -1,5 +1,3 @@ - - locals { default_tags = { Deployment = var.prefix @@ -14,7 +12,6 @@ module "dmrpp_ecs_task_module" { module "dmrpp_service" { source = "https://github.com/nasa/cumulus/releases/download/v11.1.3/terraform-aws-cumulus-ecs-service.zip" - prefix = var.prefix name = "${var.prefix}_dmrpp_generator" tags = local.default_tags @@ -29,7 +26,6 @@ module "dmrpp_service" { environment = { AWS_DEFAULT_REGION = var.region ENABLE_CW_LOGGING = var.enable_cw_logging - } command = [ "dmrpp-generator",