Skip to content

Commit

Permalink
Merge pull request #10 from malikparvez/work
Browse files Browse the repository at this point in the history
remove iam role
  • Loading branch information
malikparvez authored Jul 12, 2024
2 parents 491f4b4 + e2cb403 commit e894ad5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ This project is a Serverless application that parses CloudFront logs stored in a
## Setup using github actions

### Step1: Fork this repo
Update the serverless.yml with desired s3 bucket name

### Step2: Add secrets:
Add the following secrets to your GitHub repository settings:

```bash
AWS_ACCESS_KEY
AWS_SECRET_KEY
MY_AWS_ACCESS_KEY
MY_AWS_SECRET_KEY
OPENSEARCH_HOST
OPENSEARCH_USERNAME
OPENSEARCH_PASSWORD
BUCKET_NAME
```

### Step3: Deploy the Application:
Expand Down
5 changes: 1 addition & 4 deletions serverless.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
frameworkVersion: "3"

service: cloudfront-logs-parser-lambda-opensearch
service: cloudfrontLogs
useDotenv: true

provider:
Expand All @@ -14,9 +14,6 @@ provider:
OPENSEARCH_USERNAME: ${env:OPENSEARCH_USERNAME}
OPENSEARCH_PASSWORD: ${env:OPENSEARCH_PASSWORD}
region: ap-south-1
iam:
role:
name: cloudfront-logs-role

package:
patterns:
Expand Down

0 comments on commit e894ad5

Please sign in to comment.