2024-05-17 23:18:15 -07:00
|
|
|
import { ECSClient } from "@aws-sdk/client-ecs";
|
2024-05-23 01:35:08 -07:00
|
|
|
import { EC2Client } from "@aws-sdk/client-ec2";
|
2024-05-17 23:18:15 -07:00
|
|
|
|
|
|
|
const ecsClient = new ECSClient({
|
|
|
|
region: "us-east-1",
|
|
|
|
credentials: {
|
|
|
|
accessKeyId: process.env.AWS_ACCESS_KEY_ID!,
|
|
|
|
secretAccessKey: process.env.AWS_SECRET_ACCESS_KEY!,
|
|
|
|
},
|
|
|
|
});
|
|
|
|
|
2024-05-23 01:35:08 -07:00
|
|
|
export const ec2Client = new EC2Client({
|
|
|
|
region: "us-east-1",
|
|
|
|
credentials: {
|
|
|
|
accessKeyId: process.env.AWS_ACCESS_KEY_ID!,
|
|
|
|
secretAccessKey: process.env.AWS_SECRET_ACCESS_KEY!,
|
|
|
|
},
|
|
|
|
});
|
|
|
|
|
2024-05-17 23:18:15 -07:00
|
|
|
export default ecsClient;
|