Skip to content

Commit

Permalink
Merge branch 'main' into file-drop
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanstitt committed Dec 10, 2024
2 parents d659081 + 21ca403 commit 698cbf7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/aws.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ export type { PresignedPost }

export function objectToAWSTags(tags: Record<string, string>) {
const Environment = AWS_ACCOUNT_ENVIRONMENT[process.env.AWS_ACCOUNT_ID || ''] || 'Unknown'
return Object.entries({ ...tags, Environment, Application: 'Mangement App' }).map(([Key, Value]) => ({
return Object.entries({ ...tags, Environment, Application: 'MangementApp' }).map(([Key, Value]) => ({
Key,
Value: strToAscii(Value).slice(0, 256),
Value: strToAscii(Value).replace(/[^a-zA-Z0-9]/g, "").slice(0, 256),
}))
}

Expand Down

0 comments on commit 698cbf7

Please sign in to comment.