Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes to serverless pattern #1528

Conversation

mialarconchong
Copy link
Contributor

Issue #, if available: N/A

Description of changes:
Made changes to how the serverless pattern works, checking s3 object tags

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@github-actions
Copy link

@mialarconchong looks like you are missing the example-pattern.json file in your pattern.

You can find the example-pattern template here.

The file is used on ServerlessLand and is required. Once the file is added we can review the pattern.


Learn more about this pattern at Serverless Land Patterns:[Create an AWS account](https://serverlessland.com/patterns/cloudtrail-lambda-dynamodb-cdk)
Learn more about this pattern at Serverless Land Patterns: << Add the live URL here >>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

update URL with the directory of this pattern

@@ -29,6 +28,10 @@ s.
```
npm install
```
1. Open the lambda function object_tag_checker.py, and on line 40 replace the example keys with your required keys:
```
required_keys = {"Key1", "Key2", "Key3", "Key4"}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what are these for? can you elaborate more or give some examples or links to docs of what you are doing

```
If the S3 bucket creation was successful, you should receive the following response:
If the file upload was successful, you should receive the following response:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if all of these is related to tags, maybe you need to add this to the testing so we can see how the configured keys related to the tags of the resources


1. Navigate to DynamoDB

1. Select the table created for this pattern

1. Click 'Explore table items'

1. Within about 5 minutes or less, you should see a new item populated in the DynamoDB table specifying the ARN of the newly created bucket. The 'is_compliant' column should be set to 'false' since the bucket was created with no tags.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing appeared in my table. Please review the instructions.

@mavi888
Copy link
Contributor

mavi888 commented Jul 31, 2023

This pattern is not working for me following the testing instructions. Please review the instructions and I will try again

@mavi888
Copy link
Contributor

mavi888 commented Aug 7, 2023

This pattern will be closed next week if there are no updates in this PR.
If closed, reopen it again later on with the fixes applied.

Thanks,
Marcia

@mavi888
Copy link
Contributor

mavi888 commented Aug 14, 2023

This PR was closed due to innactivity. If closed, reopen it again and fix the comments or submit a new PR with the changes.

Thanks,
Marcia

@mavi888 mavi888 closed this Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants