Skip to content

ykarakita/cfn_cloudfront_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample serverless framework template to create CloudFront resource that host static web site.

Install

$ npm install -g serverless

$ git clone https://github.com/yKarakita/cfn_cloudfront_example.git

$ cd cfn_cloudfront_example 

$ pip install -r requirements.txt -t vendored

Edit serverless.env.yml

Deploy

$ serverless deploy

Put object to created S3 bucket after deploy, and access CloudFront domain name from your browser.

http://xxxxxxxxxx.cloudfront.net/objectname

References

Releases

No releases published

Packages

No packages published

Languages