Giter Site home page Giter Site logo

aws-acm-certificate-request-approver's Introduction

AWS ACM Certificate Request Approver

AWS provides ACM, the AWS Certificate Manager, which can automatically provision HTTPS certificates for domains you own. However, unfortunately, it does not provide any integration with Route53, so even if your domain is already managed by AWS, ACM will still send an email address to the domain owner each time a certificate is requested. The domain owner needs to manually approve each request before the certificate is provisioned.

This is not terribly burdensome for many deployment needs, but software-defined deployments using AWS CloudFormation or a similar tool may automatically request a certificate, and the approval step can turn a fully automated deployment process into one that requires a manual step. This project provides a self-contained, easily-deployable service that will intercept certificate requests and automatically approve them, mitigating the need for a human to press a button.

Deploying

To use this project, you will need:

  • A Route53 hosted zone to automatically provision certificates for
  • The AWS CLI
  • An S3 bucket to hold the source code of the Lambda function that processes requests
  • An installation of Racket

With all this in place, you can run ./deploy.rkt to automatically build the project, upload the source code to S3, and provision the necessary infrastructure in AWS using CloudFormation.

The script will inform you the name of the stack it creates. If you want to teardown the request approver, simply run aws cloudformation delete-stack and provide the stack name produced by the deploy script. This will automatically remove all the infrastructure created by the deployment (though the S3 bucket that holds the source code of the Lambda function will not be removed).

aws-acm-certificate-request-approver's People

Contributors

lexi-lambda avatar

Stargazers

Shumpei Kobayashi avatar Gabo Esquivel avatar  avatar Peter Czimmermann avatar David Dark avatar Y.Fujiwara avatar Michael Adlai Arnold avatar John Wells avatar Scott Peshak avatar Ben Tomasik avatar Bruno Giorgini avatar Andres Villarroel avatar Taylor Hicks avatar Phillipe Lopes avatar  avatar Paul Otto avatar Joseph Vartuli avatar Jonathan Matthews avatar

Watchers

 avatar Franklin Henderson avatar James Cloos avatar Stu Penrose avatar

aws-acm-certificate-request-approver's Issues

Lambda does not check the accountID of the requests

According to my understanding, the current lambda does not check the requesting accountID of the ACM mails.
This means that I could request a certificate for YOUR domain in MY account, and this lambda will approve it.

Unable to create Custom ReceiptRule resource

I am getting the following error every time I try to create the stack. Is there something I might be missing?

CREATE_FAILED | Custom::ReceiptRule | ReceiptRule | Custom Resource failed to stabilize in expected time

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.