forked from vladocar/screenshoteer
-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (50 loc) · 1.67 KB
/
automate.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
AWSTemplateFormatVersion: "2010-09-09"
Transform: AWS::Serverless-2016-10-31
Globals:
Function:
MemorySize: 128
Timeout: 15
Description: "Create AWS Resources"
Resources:
GlueJobSalesData:
Type: AWS::Glue::Job
Properties:
Name: Sales_Glue_Job
Description: Ingests data from s3 and after doing transformation it writes the data as a parquet file to the data warehouse
ExecutionClass: FLEX
GlueVersion: 4.0
MaxRetries: 0
NumberOfWorkers: 6
Role: arn:aws:iam::346682164812:role/LabRole
Timeout: 90
WorkerType: G.1X
Command:
Name: glueetl
ScriptLocation: s3://sarthak-dbda-final-project/github/sales/Sales.py
DefaultArguments:
"--job-bookmark-option": "job-bookmark-enable"
GlueJobProductsData:
Type: AWS::Glue::Job
Properties:
Name: Product_Glue_Job
Description: Ingests data from RDS and after doing transformation it writes the data as a parquet file to the data warehouse
ExecutionClass: FLEX
GlueVersion: 4.0
MaxRetries: 0
NumberOfWorkers: 6
Role: arn:aws:iam::346682164812:role/LabRole
Timeout: 90
WorkerType: G.1X
Command:
Name: glueetl
ScriptLocation: s3://sarthak-dbda-final-project/github/products/Products_Glue_Job.py
DefaultArguments:
"--job-bookmark-option": "job-bookmark-enable"
MyLambdaCFT:
Type: AWS::Serverless::Function
Properties:
FunctionName: Sales-CFT-Trigger
CodeUri: s3://sarthak-dbda-final-project/github/lambda_trigger_py.zip
Handler: lambda_function.lambda_handler
Runtime: python3.8
Role: arn:aws:iam::346682164812:role/LabRole