@@ -13,4 +13,29 @@ Empty repo to Java AWS Lambda
1313 * get gradle wrapper
1414 * setup build.gradle
1515 * add java code
16- * reopen into intellij to make gradle project
16+ * reopen into intellij to make gradle project
17+ 6 . Setup AWS files that live in git
18+ * Create bucket in s3
19+ * Add CloudFormation input template
20+ * Add buildspec.yml
21+ * add aws cloudformation install command that produces output template
22+ * include output template in artifact
23+ 7 . Create new role in AWS IAM
24+ * Role Type: AWS CloudFormation
25+ * Attach Policy: AWS Lambda Execute
26+ * Inline Custom Role Policy
27+ * copy from aws/cloudformation-role-policy.json
28+ * from http://docs.aws.amazon.com/lambda/latest/dg/automating-deployment.html
29+ * replace account-id and region, from upper right in aws console header
30+ * account-id=061121813127
31+ * region=us-east-1
32+ 8 . Create pipeline in AWS CodePipeline
33+ * Link to AWS CodeCommit repo
34+ * Create AWS CodeBuild project
35+ * Use AWS CodeBuild image: aws/codebuild/java: openjdk-8
36+ * Deployment provider AWS CloudFormation
37+ * Create or replace change set
38+ * template file = output template in #6
39+ * CAPABILITY_IAM
40+ * Use role in #7 for pipeline role
41+ * Create new IAM role for AWS Service Role
0 commit comments