You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+90-2Lines changed: 90 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -8,18 +8,106 @@ Gradle 4.8
8
8
9
9
Java 1.8
10
10
11
-
AWS Credentials stored at /.aws/credentials in the home directory
11
+
AWS Credentials stored at /.aws/credentials in the home directory which can be created from the "My security credentials" section from the AWS dashboard.
12
+
The credentials file has a form like
13
+
14
+
```
15
+
[default]
16
+
region=ap-south-1
17
+
aws_access_key_id=##################
18
+
aws_secret_access_key=##################
19
+
```
20
+
21
+
The default is profile name which can be changed if we are using multiple profiles based on the region. `default` is used in the build.gradle at root of this project as
22
+
23
+
```
24
+
aws {
25
+
profileName = "default"
26
+
region = 'ap-south-1'
27
+
}
28
+
```
29
+
30
+
### Set the AWS Lambda function region
31
+
To set the region of lambda function, add the following block in the build.gradle file and this can be changed according to the region in use.
32
+
33
+
34
+
```
35
+
lambda {
36
+
region = 'ap-south-1'
37
+
}
38
+
```
39
+
40
+
In this app, the main function is defined in the `MicronautFnAwsFunction` class and should be declared in the config as
0 commit comments