@cumulus/aws-client
Advanced tools
Changelog
[v10.1.2] 2022-03-11
postgres-db-migration
lambda timeout to default 900 secondsdb_migration_lambda_timeout
variable to data-persistence
module to
allow this timeout to be user configurableiam:PassRole
permission to step_policy
in tf-modules/ingest/iam.tf
Changelog
[v10.1.1] 2022-03-04
/rules/<name>
endpoint, the rule records in PostgreSQL may be
out of sync with records in DynamoDB. In order to bring the records into sync, re-run the
previously deployed data-migration1
Lambda with a payload of
{"forceRulesMigration": true}
:aws lambda invoke --function-name $PREFIX-data-migration1 \
--payload $(echo '{"forceRulesMigration": true}' | base64) $OUTFILE
CUMULUS-2841
CUMULUS-2846
@cumulus/db/translate/rule.translateApiRuleToPostgresRuleRaw
to translate API rule to PostgreSQL rules and
keep undefined fieldsCUMULUS-NONE
CUMULUS-2845
createRuleTrigger
from create
.rulesModel.createRuleTrigger
directly to create rule trigger.rulesModel.createRuleTrigger
if update fails and reversion needs to occur.CUMULUS-2846
localstack/localstack
used in local unit testing to 0.11.5
/rules
endpoint causing rule records to be created
inconsistently in DynamoDB and PostgreSQLPUT /rules/<name>
endpoint causing rules to be saved
inconsistently between DynamoDB and PostgreSQLChangelog
[v10.1.0] 2022-02-23
tf-modules/rds-cluster-tf
. The allowed parameters for the parameter group can be found in the AWS documentation of allowed parameters for an Aurora PostgreSQL cluster. By default, the following parameters are specified:
shared_preload_libraries
: pg_stat_statements,auto_explain
log_min_duration_statement
: 250
auto_explain.log_min_duration
: 250
granule_cumulus_id
to the RDS files table.shortName____
timeout_action
to ForceApplyCapacityChange
by default for the RDS serverless database cluster tf-modules/rds-cluster-tf
<prefix>-steprole
in tf-modules/ingest/iam.tf
to address the
Error: error creating Step Function State Machine (xxx): AccessDeniedException: 'arn:aws:iam::XXX:role/xxx-steprole' is not authorized to create managed-rule
error in non-NGAP accounts:
events:PutTargets
events:PutRule
events:DescribeRule
Changelog
[v9.9.3] 2021-02-17 [BACKPORT]
Please note changes in 9.9.3 may not yet be released in future versions, as this is a backport and patch release on the 9.9.x series of releases. Updates that are included in the future will have a corresponding CHANGELOG entry in future releases.
Changelog
[v9.9.2] 2021-02-10 [BACKPORT]
Please note changes in 9.9.2 may not yet be released in future versions, as this is a backport and patch release on the 9.9.x series of releases. Updates that are included in the future will have a corresponding CHANGELOG entry in future releases.### Added
tf-modules/rds-cluster-tf
. The allowed parameters for the parameter group can be found in the AWS documentation of allowed parameters for an Aurora PostgreSQL cluster. By default, the following parameters are specified:
shared_preload_libraries
: pg_stat_statements,auto_explain
log_min_duration_statement
: 250
auto_explain.log_min_duration
: 250
granule_cumulus_id
to the RDS files table.timeout_action
to ForceApplyCapacityChange
by default for the RDS serverless database cluster tf-modules/rds-cluster-tf
Changelog
[v9.4.1] 2022-02-14 [BACKPORT]
Please note changes in 9.4.1 may not yet be released in future versions, as this is a backport and patch release on the 9.4.x series of releases. Updates that are included in the future will have a corresponding CHANGELOG entry in future releases.
ssh2
package from @cumulus/common
to @cumulus/sftp-client
and
upgraded package from ^0.8.7
to ^1.0.0
to address security vulnerability
issue in previous version.Changelog
[v9.9.1] 2021-02-10 [BACKPORT]
Please note changes in 9.9.1 may not yet be released in future versions, as this is a backport and patch release on the 9.9.x series of releases. Updates that are included in the future will have a corresponding CHANGELOG entry in future releases.
@cumulus/api-client
to not log an error for 201 response from updateGranule
@cumulus/cumulus-message-adapter-js
from 2.0.3
to 2.0.4
for
all Cumulus workflow tasks@cumulus/api-client/invokeApi()
to accept a single accepted status code or an array
of accepted status codes via expectedStatusCodes
Changelog
[v10.0.1] 2022-02-03
<prefix>-postgres-migration-async-operation
Lambda
which prevented it from running a Fargate task for data migration.