generated from ExamProCo/aws-bootcamp-cruddur-2023
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix backend, frontend, db and ddb migration
- Loading branch information
Beici Liang
committed
May 30, 2023
1 parent
5626f39
commit 4af7126
Showing
66 changed files
with
1,152 additions
and
852 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[deploy] | ||
bucket = 'cfn-artifacts-beici' | ||
region = 'us-east-1' | ||
stack_name = 'CrdMachineUser' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
AWSTemplateFormatVersion: "2010-09-09" | ||
Resources: | ||
CruddurMachineUser: | ||
Type: "AWS::IAM::User" | ||
Properties: | ||
UserName: "cruddur_machine_user" | ||
DynamoDBFullAccessPolicy: | ||
Type: "AWS::IAM::Policy" | ||
Properties: | ||
PolicyName: "DynamoDBFullAccessPolicy" | ||
PolicyDocument: | ||
Version: "2012-10-17" | ||
Statement: | ||
- Effect: Allow | ||
Action: | ||
- dynamodb:PutItem | ||
- dynamodb:GetItem | ||
- dynamodb:Scan | ||
- dynamodb:Query | ||
- dynamodb:UpdateItem | ||
- dynamodb:DeleteItem | ||
- dynamodb:BatchWriteItem | ||
Resource: "*" | ||
Users: | ||
- !Ref CruddurMachineUser |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.