GithubHelp home page GithubHelp logo

cirrus-core's People

Contributors

bbuechler avatar benbart avatar eigenbahr avatar etcart avatar hsimonoko avatar jkovarik avatar lindsleycj avatar mattp0 avatar mckadesorensen avatar mend-bolt-for-github[bot] avatar michaeljb avatar reweeden avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cirrus-core's Issues

Add ability to change the terraform state resource prefix

From Joe Wysk: Sometimes it's convenient to create tf module resources (tf state) that are not just parameterized by MATURITY. For example, the TF state might be in a weird state and you want to try a deployment with an empty TF state, but leave the "bad" TF state untouched.

setup_jwt_cookie.sh fails

Issue: container-shell make stage fails in the current container specified in the Dockerfile.

This is failing as ssh-keygen is returning the following error:

No user exists for uid 502

Example:

bash-4.2:/CIRRUS-core$ source setup_jwt_cookie.sh some_daac jk dev
<removed echo-back for security reasons>
No user exists for uid 502

Replication steps:

  1. make image
  2. make container-shell, and run the specified command from the docs (setup_jwt_cookie.sh), or directly invoke the portion of the script that is failing

Remove AWS_REGION

Look this up from the account by using a Terraform AWS data provider.

Node 14 deprecated

When building a core docker image there is a script deprecation warning on the setup_14.x command below

=> [core_base 2/7] RUN         curl -sL https://rpm.nodesource.com/setup_14.x | bash - &&         curl -sL https://dl.yarnpkg.com/rpm/yarn.repo | tee /etc/yum.repos.d/yarn.repo &&         yum update  16.3s
 => => #   information both about supported versions of Node.js and supported Linux                                                                                                                           
 => => #   distributions. To learn more about usage, see the repository:                                                                                                                                      
 => => #     https://github.com/nodesource/distributions                                                                                                                                                      
 => => # ================================================================================                                                                                                                     
 => => # ================================================================================   

env.sh does not work first time called

inside the docker container, the first time I run source env.sh aws_profile_name deploy maturity it uses my default aws profile rather than the one named in the call. This script was updated in PR #58 by @mckadesorensen . Could this be looked at? I see that $AWS_PROFILE is used 3 times prior to it being defined in line 12.

Aurora V11 Deprecating Jan 2024

To: All tenants of the Earthdata Cloud
Subject: Addressing AWS managed deprecations (Lambda/RDS) as part of 23.4
What’s Happening:
AWS has announced the end of support for various lambda runtimes slated during 23.4 and aurora postgresql v11.x in January 2024. Please review and update these components as necessary. Lambda runtime deprecations have two stages; the first prevents the deployment of new lambdas with that runtime and the second prevents even the updating of lambdas with that runtime. On the RDS front, per AWS, they will automatically perform a major version update: "If you do not upgrade your database running Aurora PostgreSQL 11.x before January 31, 2024, Amazon Aurora will upgrade your Amazon Aurora PostgreSQL 11.x databases to the appropriate Amazon Aurora PostgreSQL major version during a scheduled maintenance window on or after January 31, 2024."

Lambda Runtime Phase 1 Deprecation Date
Node.js 14 11/27/23
Python 3.7 11/27/23
Ruby 2.7 12/7/23
Java 8 (AL1) 12/31/23
Go 1.x 12/31/23
Node.js 16 3/11/24

For information about Lambda runtime deprecations: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html
For information about Postgresql end of support: https://repost.aws/questions/QUqTaY2mfcTSWoioVXmxSQdQ/announcement-amazon-aurora-postgresql-11-x-end-of-support-is-january-31-2024For support or questions, contact Earthdata Cloud Operations

Run one command

From Abdelhak Marouane @ GHRC: He would like to be able to run a single script to both set the environment variables and deploy Cumulus.

Create a Bamboo CI/CD configuration

Like Jenkins and CircleCI, include a Bamboo configuration that validates the Terraform and deploys Cumulus. Specifically, this would likely be customized for the ECC Bamboo service.

Parameterize the Cumulus version

Currently the data-persistence/main.tf and the cumulus/main.tf have module source URLs which embed the Cumulus version in it. This is currently a limitation of the module source parameter, because it can't include variable substitution and must be a fixed string. Is there a better way to do this?

Use AWS Secrets Manager

Remove the cumulus/secrets and the use of these in the Makefile. Instead, modify the Terraform to lookup secrets from the account's AWS Secrets Manager. Then include instructions for provisioning these secrets prior to deploying Cumulus.

Use both subnets in configuration

The cumulus/main.tf looks up the VPC and Subnet IDs, but only uses the first subnet. I did this as a temporary fix of a problem with deploying using both subnet IDs. I don't actually remember what the issue was. So: see if it's still an issue if we use both subnets, and resolve it!

Add option to create a build plan

Add a target to create a Terraform plan. When running in CI/CD, should this be a build artifact that gets stored as the output of the job running. E.g., in CircleCI, I think we can take the build plan and store it as an artifact so that a user could review it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.