Skip to content

Commit

Permalink
fix: change the reference to the 1Password entries (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
nutrina authored Oct 29, 2024
1 parent 312e5c7 commit f64e3e9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions infra/aws/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ import * as op from "@1password/op-js";
import { stack, defaultTags } from "./tags";
import { secretsManager, amplify } from "infra-libs";

const PASSPORT_APP_GITHUB_URL = op.read.parse(`op://DevOps/passport-${stack}-env/ci-staking/STAKING_APP_GITHUB_URL`);
const PASSPORT_APP_GITHUB_URL = op.read.parse(`op://DevOps/passport-xyz-${stack}-env/ci-staking/STAKING_APP_GITHUB_URL`);
const PASSPORT_APP_GITHUB_ACCESS_TOKEN_FOR_AMPLIFY = op.read.parse(
`op://DevOps/passport-xyz-${stack}-secrets/ci-staking/STAKING_APP_GITHUB_ACCESS_TOKEN_FOR_AMPLIFY`
);

const CLOUDFLARE_DOMAIN = stack === "production" ? `passport.xyz` : "";
// TODO: this should be moved to id-staking-v2-${stack}-env/ci/STAKING_APP_GITHUB_URL
const CLOUDFLARE_ZONE_ID = op.read.parse(`op://DevOps/passport-${stack}-env/ci/CLOUDFLARE_ZONE_ID`);
const CLOUDFLARE_ZONE_ID = op.read.parse(`op://DevOps/passport-xyz-${stack}-env/ci/CLOUDFLARE_ZONE_ID`);

// Passport XYZ
const passportBranches = Object({
Expand All @@ -24,7 +24,7 @@ const coreInfraStack = new pulumi.StackReference(`passportxyz/core-infra/${stack
const passportXyzAppEnvironment = secretsManager
.getEnvironmentVars({
vault: "DevOps",
repo: "passport", // TODO: this should be moved to id-staking-v2
repo: "passport-xyz", // TODO: this should be moved to id-staking-v2
env: stack,
section: "staking", // TODO: this section should be `app` ?
})
Expand Down

0 comments on commit f64e3e9

Please sign in to comment.