Skip to content

Commit

Permalink
update tags (#83)
Browse files Browse the repository at this point in the history
* update tags

* update default tags

* update default tags
  • Loading branch information
larisa17 authored Sep 19, 2024
1 parent 40d831c commit 194a9aa
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
9 changes: 1 addition & 8 deletions infra/aws/index.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
import * as pulumi from "@pulumi/pulumi";
import * as op from "@1password/op-js";
import { stack, defaultTags } from "./tags";
import { secretsManager, amplify } from "infra-libs";

const stack = pulumi.getStack();

const defaultTags = {
ManagedBy: "pulumi",
PulumiStack: stack,
Project: "id-staking-v2",
};

const PASSPORT_APP_GITHUB_URL = op.read.parse(`op://DevOps/passport-${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`
Expand Down
13 changes: 13 additions & 0 deletions infra/aws/tags.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

import * as pulumi from "@pulumi/pulumi";

export const stack = pulumi.getStack();

export const defaultTags = {
Application: "id-staking-v2",
Repo: "https://github.com/passportxyz/id-staking-v2-app",
PulumiStack: stack,
Environment: stack,
ManagedBy: "pulumi",
Name: "missing",
};

0 comments on commit 194a9aa

Please sign in to comment.