Skip to content

Commit

Permalink
Merge pull request #30 from ghrcdaac/mlh0079-4239-dmrpp-replace-file
Browse files Browse the repository at this point in the history
 - Added release notes for v4.0.3 and cleaned up formatting.
  • Loading branch information
camposeddie authored Dec 7, 2022
2 parents 48719d3 + 8dbc28b commit a3956c2
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
11 changes: 11 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
3 changes: 1 addition & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
4 changes: 0 additions & 4 deletions modules/dmrpp_service/main.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@


locals {
default_tags = {
Deployment = var.prefix
Expand All @@ -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
Expand All @@ -29,7 +26,6 @@ module "dmrpp_service" {
environment = {
AWS_DEFAULT_REGION = var.region
ENABLE_CW_LOGGING = var.enable_cw_logging

}
command = [
"dmrpp-generator",
Expand Down

0 comments on commit a3956c2

Please sign in to comment.