Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the correct variable for lzards launchpad secret value #3521

Closed

Conversation

reweeden
Copy link
Contributor

@reweeden reweeden commented Nov 22, 2023

Summary: Fix lzards_launchpad_passphrase secret value.

I was told there are known issues with LZARDS and launchpad, however I was unable to find any cumulus tickets associated with them. Could be my lack of familiarity with the ticketing system.

Changes

  • Fix the secret being populated with the value from the wrong variable.

PR Checklist

  • Update CHANGELOG
  • Unit tests
  • Ad-hoc testing - Deploy changes and test manually
  • Integration tests

@@ -99,7 +99,7 @@ resource "aws_secretsmanager_secret" "lzards_launchpad_passphrase" {
resource "aws_secretsmanager_secret_version" "lzards_launchpad_passphrase" {
count = length(var.lzards_launchpad_passphrase) == 0 ? 0 : 1
secret_id = aws_secretsmanager_secret.lzards_launchpad_passphrase[0].id
secret_string = var.launchpad_passphrase
secret_string = var.lzards_launchpad_passphrase
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch - we are going to have to highlight this/note it in release migration instructions as there probably are users using a common token for both at this point.

@Jkovarik
Copy link
Member

Jkovarik commented Feb 5, 2024

Closing for: #3574

@Jkovarik Jkovarik closed this Feb 5, 2024
@Jkovarik
Copy link
Member

@reweeden I added a ticket to cover this (https://bugs.earthdata.nasa.gov/browse/CUMULUS-3580) - on review of the changes @jennyhliu pointed out that our current launchpad caching assumes a single cache file object (we recommended that users use the same TSA/lzards task configuration).

I'm going to update that ticket with this information and we'll either put 3580 up for prioritization or open a new ticket. See review of #3574 for more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants