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

Create environment variable collections #2873

Open
5 tasks
austin-hall-skylight opened this issue Nov 7, 2024 · 1 comment · May be fixed by #2963
Open
5 tasks

Create environment variable collections #2873

austin-hall-skylight opened this issue Nov 7, 2024 · 1 comment · May be fixed by #2963
Assignees
Labels
Streamline eCR Issues for Streamline eCR team to work on

Comments

@austin-hall-skylight
Copy link
Collaborator

austin-hall-skylight commented Nov 7, 2024

What needs to be done

Based on the value of one configuration name environment variable, choose a collection of environment variables to set on application startup.

Why it needs to be done

This will help our DevOps team when they pair with jurisdictions to ensure things are set up correctly.

Acceptance Criteria

  • collections created for each
    • AWS integrated
      • APP_ENV=test
      • NEXT_PUBLIC_NON_INTEGRATED_VIEWER=false
      • SOURCE=s3
      • METADATA_DATABASE_TYPE=undefined
      • METADATA_DATABASE_SCHEMA=undefined
    • Azure integrated
      • APP_ENV=test
      • NEXT_PUBLIC_NON_INTEGRATED_VIEWER=false
      • SOURCE=azure
      • METADATA_DATABASE_TYPE=undefined
      • METADATA_DATABASE_SCHEMA=undefined
    • AWS non-integrated
      • APP_ENV=prod
      • NEXT_PUBLIC_NON_INTEGRATED_VIEWER=true
      • SOURCE=s3
      • METADATA_DATABASE_TYPE=sqlserver
      • METADATA_DATABASE_SCHEMA=extended
    • Azure non-integrated
      • APP_ENV=prod
      • NEXT_PUBLIC_NON_INTEGRATED_VIEWER=true
      • SOURCE=azure
      • METADATA_DATABASE_TYPE=sqlserver
      • METADATA_DATABASE_SCHEMA=?
  • Setting the new configuration name environment variable causes the correct set of environment variables to be set on startup

Technical Notes

You can refer to the Engagements Notion board to find details about each jurisdiction's setup. If you have any questions, reach out to Emma.

Additional context

Long-term, we hope to have a more robust solution for users to manage their configurations. But in the short term, this will help our DevOps team know the env vars to apply to specific jurisdictions.

@austin-hall-skylight austin-hall-skylight added the Streamline eCR Issues for Streamline eCR team to work on label Nov 7, 2024
@BobanL BobanL self-assigned this Nov 25, 2024
@BobanL
Copy link
Collaborator

BobanL commented Nov 26, 2024

Replaced APP_ENV with NBS_AUTH for clarity.

@BobanL BobanL linked a pull request Nov 27, 2024 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Streamline eCR Issues for Streamline eCR team to work on
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants