You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+29-2
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,18 @@ The domain for the static site (i.e. mystaticsite.com) must be configured as a h
35
35
npm install
36
36
```
37
37
38
+
### Create GitHub token
39
+
40
+
Follow the instructions [here](https://docs.aws.amazon.com/codepipeline/latest/userguide/GitHub-authentication.html) and make sure to use the `CLI` instructions
41
+
as you need a `personal access token` to authenticate with `cdk`
42
+
43
+
### Upload your github token to SSM
44
+
45
+
Once you have your token you have to upload it to ssm (preferably in the
46
+
same region as the stack).
47
+
48
+
> Make sure to use the `plaintext` option and NOT the key value pair.
49
+
38
50
### Create AWS Service Role
39
51
40
52
You need to create a service role that both `cloudformation` and `codebuild`
@@ -70,19 +82,34 @@ Here's an example for the trust relationship policy:
70
82
}
71
83
```
72
84
85
+
> Once you have the value above edit [index.ts](./index.ts) with the required values
86
+
87
+
### [optional] Context
88
+
89
+
Edit [cdk.json](./cdk.json) with your `domain` and `subdomain`
0 commit comments