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
+13-6Lines changed: 13 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -101,27 +101,34 @@ If you would like to customise the project and upload your own static website co
101
101
```shell
102
102
make package-function
103
103
```
104
-
4. Copy your site content to the projects **www** folder
105
-
4. If you don't have one already, create an S3 bucket to store the CloudFormation artifacts with `aws s3 mb s3://<bucket name>`
104
+
4. Copy your site content to the projects **www** folder. Make sure to include the following files
105
+
5.
106
+
```
107
+
- index.html
108
+
- 403.html
109
+
- 404.html
110
+
```
111
+
5. If you don't have one already, create an S3 bucket to store the CloudFormation artifacts with `aws s3 mb s3://<bucket name>`
106
112
107
-
5. Package the CloudFormation template. The provided template uses [the AWS Serverless Application Model](https://aws.amazon.com/about-aws/whats-new/2016/11/introducing-the-aws-serverless-application-model/) so must be transformed before you can deploy it.
113
+
6. Package the CloudFormation template. The provided template uses [the AWS Serverless Application Model](https://aws.amazon.com/about-aws/whats-new/2016/11/introducing-the-aws-serverless-application-model/) so must be transformed before you can deploy it.
108
114
109
115
```shell
110
116
aws cloudformation package \
111
117
--template-file templates/main.yaml \
112
-
--s3-bucket <your bucket name here> \
118
+
--s3-bucket <bucket name> \
113
119
--output-template-file packaged.template
114
120
```
115
121
116
-
6. Deploy the packaged CloudFormation template to a CloudFormation stack:
122
+
7. Deploy the packaged CloudFormation template to a CloudFormation stack:
0 commit comments