Releases: asfadmin/CIRRUS-core
v5.0.1.3
The purpose of this update is to upgrade Terraform to v0.13.6 on existing
deployments of Cumulus v5.0.1. Cumulus notes for upgrading Terraform are
available here.
This CIRRUS update takes care of the running of the 0.13upgrade
command across
all modules. It resulted in the creation of a versions.tf file in each module
and a syntax change to the required_providers
section in the main.tf file in
each module.
Prerequisites
- Upgrade your CIRRUS-core release to v5.0.1.2 across all your environments.
- Per the Cumulus notes, apply any configuration across all environments.
Upgrade Steps
- Review the changes in CIRRUS-DAAC. Add the versions.tf file and update the
required_providers
section of the main.tf file in yourdaac
andworkflows
modules - In CIRRUS-core run
make image
to create a new Dockercirrus-core
image with
Terraform 0.13.6. - Run
make container-shell
- all the following commands are run from inside the
container. - use the
source env.sh ...
command to set up your environment variables for
the deployment you will be upgrading. - For each module run
make plan-modulename
(make plan-tf
,make plan-daac
, etc).
Onlymake plan-tf
will succeed the first time. Even though unsuccessul, this step
is necessary as it runs theterraform init --reconfigure
mentioned in the Cumulus
upgrade instructions. - cd to the module directory and run the necessary
terraform state replace-provider
commands to resolve the issues noted in theplan
failure. - Run
make plan-module
again to confirm the issues are resolved
The scripts/cumulus-v5.0.1-tf-upgrade/replace_tf_providers.sh
script has all
the commands necessary to iterate over each module. BE WARNED You may want
to use this as more of a copy-paste guide rather than actually running it. It
does work running end-to-end on my deployments but your mileage may vary. In
particular, you may want to remove the -auto-approve
switch from the
terraform state replace-provider
command so you have a chance to review the
changes before accepting them.
- Once all
plans
run successfully you can then runmake modulename
for each
module to complete the upgrade.
The process will need to be repeated for each deployment.
v5.0.1.2
CHANGELOG:
- Expose elasticsearch configuration parameters in both data-persistence and cumulus modules.
- Breaking change: the
Makefile
updated to handle per maturity data-persistence variables. To be
consistent with how othermake
targets behave, the CIRRUS-DAAC
data-persistence/terraform.tfvars
file needs to exist formake data-persistence
to work.
The file can be empty, but must exist.
v5.0.1.0
upgrade Cumulus to v5.0.1
v5.0.0.0
upgrade Cumulus to v5.0.0
v4.0.0.0
Changes to support Cumulus v4.0.0
v3.0.1.0
upgrade Cumulus to v3.0.1
v3.0.0.0
Upgrade Cumulus to v3.0.0 - read Cumulus release notes and CIRRUS-core CHANGELOG for migration instructions
v2.0.7.0
upgrade Cumulus to v2.0.7
v2.0.6.0
Upgrade Cumulus to v2.0.6
v2.0.4.0
Upgrade Cumulus to v2.0.4