Skip to content

Commit

Permalink
Update Name of Job and Template files to Test Github Action (#2)
Browse files Browse the repository at this point in the history
* added readme for notes

* added IaC and slight readme update

* edited name of job

* edited templates to trigger job
  • Loading branch information
ahmedk2 authored Dec 17, 2023
1 parent ff4b255 commit 0c3ac66
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/aws-iac-update.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: aws-s3-push-data
name: aws-iac-update

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion aws_iac_templates/dynamodb_table_template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Resources:
MyDynamoDBTable:
Type: 'AWS::DynamoDB::Table'
Properties:
TableName: cloudresume2
TableName: cloudresume3
AttributeDefinitions:
- AttributeName: id
AttributeType: S
Expand Down
3 changes: 2 additions & 1 deletion aws_iac_templates/iam_role_template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ Resources:
- 'dynamodb:PutItem'
- 'dynamodb:GetItem'
- 'dynamodb:UpdateItem'
Resource: 'arn:aws:dynamodb:us-east-1:210741841791:table/cloudresume2'
Resource: 'arn:aws:dynamodb:us-east-1:210741841791:table/cloudresume3'

- Effect: 'Allow'
Action:
- 'logs:CreateLogGroup'
Expand Down
2 changes: 1 addition & 1 deletion aws_iac_templates/lambda_function_template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ Resources:
Timeout: 10
Policies:
- DynamoDBCrudPolicy:
TableName: cloudresume2
TableName: cloudresume3

0 comments on commit 0c3ac66

Please sign in to comment.