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

feat(infra): one password env variables #2710

Closed
wants to merge 4 commits into from

Conversation

tim-schultz
Copy link
Collaborator

Fixes: #2628

@tim-schultz tim-schultz marked this pull request as draft July 18, 2024 14:38
infra/README.md Outdated Show resolved Hide resolved
@@ -1,7 +1,13 @@
{
"name": "infra",
"scripts": {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think we could just do e.g. "review" as ENV and fill in the e.g. op://DevOps/passport-$ENV-secrets/CI/BLA, since we are keeping this naming convention across all the repos. But also, it's great as-is!

@@ -0,0 +1,28 @@
# One Password
# Secrets
IAM_SERVER_SSM_ARN=op://DevOps/$APP_SECRETS/iam/DATA_SCIENCE_API_URL
Copy link
Collaborator

Choose a reason for hiding this comment

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

Keeping the secrets/env that are only really relevant to e.g. the lambda or EC2 envs in the relevant app secion, e.g. /iam/ is a great idea! That way we won't need to delete those when we're coming back through like we talked about. But I think the ones like "IAM_SERVER_SSM_ARN" or "ROUTE_53_ZONE" that are only used in the CI and not with the e.g. IAM environment probably belong in a /CI/ section (so that we're not injecting them into the iam environment unnecessarily)

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

Successfully merging this pull request may close these issues.

Infra Week: Create Utility Script for Exporting ENV Variables and Update Pulumi Scripts
2 participants