Skip to content

Commit

Permalink
chore: target group formatting and log cluster arn
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-schultz committed Jul 1, 2024
1 parent b01d7e1 commit 43850fe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
11 changes: 6 additions & 5 deletions infra/aws/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ export const VC_SECRETS_ARN = `${process.env["VC_SECRETS_ARN"]}`;

export const ROUTE53_DOMAIN = `${process.env["ROUTE_53_DOMAIN"]}`;

export const DOCKER_IMAGE_TAG = `${
process.env.SCROLL_BADGE_SERVICE_IMAGE_TAG || ""
}`;
export const DOCKER_IMAGE_TAG = `${process.env.SCROLL_BADGE_SERVICE_IMAGE_TAG || ""}`;

const current = aws.getCallerIdentity({});
const regionData = aws.getRegion({});
Expand Down Expand Up @@ -41,6 +39,7 @@ const passportInfraStack = new pulumi.StackReference(
);

const passportClusterArn = passportInfraStack.getOutput("passportClusterArn");
export const passportClusterNameArn = passportClusterArn

const vpcId = coreInfraStack.getOutput("vpcId");

Expand Down Expand Up @@ -174,7 +173,9 @@ const albListenerRule = new aws.lb.ListenerRule(`scroll-badge-service-https`, {
actions: [
{
type: "forward",
targetGroupArn: albTargetGroup.arn,
forward: {
targetGroups: [{ arn: albTargetGroup.arn }]
}
},
],
conditions: [
Expand All @@ -185,7 +186,7 @@ const albListenerRule = new aws.lb.ListenerRule(`scroll-badge-service-https`, {
},
{
pathPattern: {
values: ["/scroll*"],
values: ["/scroll/*"],
},
},
],
Expand Down
1 change: 0 additions & 1 deletion infra/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"name": "passport-scroll-badge-service",
"main": "index.ts",
"devDependencies": {
"@types/node": "^18",
"typescript": "^5.0.0"
Expand Down

0 comments on commit 43850fe

Please sign in to comment.