Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyril-Lagrange authored Apr 6, 2022
1 parent 9d41b52 commit 92ca22e
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,24 @@ GreengrassV2TokenExchangeRole has access to the bucket listed in the configurati

You need to make sure that the local ggc_user has access to PathName.

## Testing
Deploy the component with the following configuration:
```
PathName: "/home/gcc_user/upload/*.txt"
BucketName: <put-you-bucket-name-here>
Interval: 10
```
Log into the component and create a text file in the /home/gcc_user/upload folder:
```
echo test1.txt > /home/gcc_user/upload
```
Create another test file:
```
echo test2.txt > /home/gcc_user/upload
```

Check that test1.txt has been uploaded to S3 bucket, you mayhave to wait 10s.

## Local log file
This component uses the following local log file:
```
Expand All @@ -89,4 +107,4 @@ pytest tests
```
## License

This library is licensed under the Apache 2.0 License.
This library is licensed under the Apache 2.0 License.

0 comments on commit 92ca22e

Please sign in to comment.