Skip to content

Commit e0dc5fe

Browse files
committed
Update README.md
1 parent 7c04576 commit e0dc5fe

File tree

1 file changed

+14
-17
lines changed

1 file changed

+14
-17
lines changed

README.md

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
[![serverless](http://public.serverless.com/badges/v3.svg)](http://www.serverless.com)
22
[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)]([https://raw.githubusercontent.com/Droplr/serverless-api-cloudfront/master/LICENSE](https://raw.githubusercontent.com/wangsha/serverless-aws-function-url-custom-domain/main/LICENSE))
33
[![npm version](https://badge.fury.io/js/serverless-aws-function-url-custom-domain.svg)](https://badge.fury.io/js/serverless-aws-function-url-custom-domain)
4-
![NPM Downloads](https://img.shields.io/npm/dt/serverless-aws-function-url-custom-domain.svg?label=Downloads&style=for-the-badge)
5-
4+
[![npm downloads](https://img.shields.io/npm/dt/serverless-domain-manager.svg?style=flat)](https://www.npmjs.com/package/serverless-domain-manager)
65

76
# serverless-aws-function-url-custom-domain
87

@@ -46,7 +45,7 @@ serverless deploy
4645
serverless info --verbose
4746
```
4847

49-
```
48+
```bash
5049
Output:
5150

5251

@@ -55,28 +54,26 @@ CloudFront domain name
5554

5655
```
5756

58-
5957
### IAM Policy
6058

6159
In order to make this plugin work as expected a few additional IAM Policies might be needed on your AWS profile.
6260

6361
More specifically this plugin needs the following policies attached:
6462

65-
* `cloudfront:CreateDistribution`
66-
* `cloudfront:GetDistribution`
67-
* `cloudfront:UpdateDistribution`
68-
* `cloudfront:DeleteDistribution`
69-
* `cloudfront:TagResource`
70-
* `acm:ListCertificates`
71-
* `route53:ListHostedZones`
72-
* `route53:ChangeResourceRecordSets`
73-
* `route53:GetHostedZone`
74-
* `route53:ListResourceRecordSets`
63+
* `cloudfront:CreateDistribution`
64+
* `cloudfront:GetDistribution`
65+
* `cloudfront:UpdateDistribution`
66+
* `cloudfront:DeleteDistribution`
67+
* `cloudfront:TagResource`
68+
* `route53:ListHostedZones`
69+
* `route53:ChangeResourceRecordSets`
70+
* `route53:GetHostedZone`
71+
* `route53:ListResourceRecordSets`
72+
* `acm:ListCertificates`
7573

7674
You can read more about IAM profiles and policies in the [Serverless documentation](https://serverless.com/framework/docs/providers/aws/guide/credentials#creating-aws-access-keys).
7775

7876

7977
## References
80-
- [serverless framework example integration](https://medium.com/@walid.karray/configuring-a-custom-domain-for-aws-lambda-function-url-with-serverless-framework-c0d78abdc253)
81-
- [AWS Lambda Function URLs](https://aws.amazon.com/fr/blogs/aws/announcing-aws-lambda-function-urls-built-in-https-endpoints-for-single-function-microservices/)
82-
78+
- [serverless framework example integration](https://medium.com/@walid.karray/configuring-a-custom-domain-for-aws-lambda-function-url-with-serverless-framework-c0d78abdc253)
79+
- [AWS Lambda Function URLs](https://aws.amazon.com/fr/blogs/aws/announcing-aws-lambda-function-urls-built-in-https-endpoints-for-single-function-microservices/)

0 commit comments

Comments
 (0)