Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/johnbrandborg/aws-acm-autovalidate
A Lambda Function to automate the creation of Certificates in AWS ACM with DNS Validation
https://github.com/johnbrandborg/aws-acm-autovalidate
aws-lambda certificates python36 web
Last synced: 3 months ago
JSON representation
A Lambda Function to automate the creation of Certificates in AWS ACM with DNS Validation
- Host: GitHub
- URL: https://github.com/johnbrandborg/aws-acm-autovalidate
- Owner: johnbrandborg
- License: gpl-3.0
- Created: 2018-06-25T08:11:04.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-06-10T23:45:52.000Z (over 5 years ago)
- Last Synced: 2024-06-28T06:37:50.198Z (5 months ago)
- Topics: aws-lambda, certificates, python36, web
- Language: Python
- Homepage:
- Size: 25.4 KB
- Stars: 12
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ACM Auto Validation (DNS)
A Lambda Function to automate the creation of Certificates in AWS ACM with DNS Validation. AWS ACM Auto Valudation is a tool for adding more convenience to your [AWS CloudFormation](https://aws.amazon.com/cloudformation/) templates, and [SAM deployments](https://aws.amazon.com/about-aws/whats-new/2016/11/introducing-the-aws-serverless-application-model/). By automating the process of DNS validation into CloudFormation you are covered by the automatic renewal of the certificates through DNS CNAME validation.
### Installation
Execute the shell script to deploy the AWS Lambda Function. Once installed the ARN of the Lambda Function is exported so that it can be used by other CloudFormation Stacks to generate certificates.
```shell
./install.sh mybucket
```### Example CloudFormation template
The following example creates a new Certificate in ACM that will be automatically validated.
```yaml
Description: Creates a ACM Certificate and automatically registers . Outputs the ACM ARN.Resources:
ACMCertificate:
Type: Custom::ACMAutoValidate
Properties:
ServiceToken: !ImportValue ACMAutoValidate
domainname: host.example.com
additionalnames:
- www.example.comOutputs:
ACMCertificateARN:
Description: ACM Certificate ARN
Value: !GetAtt ACMCertificate.Arn
```