Code Monkey home page Code Monkey logo

cddo-domains-terraform's Introduction

cddo-domains-terraform

AWS Terraform Version v1.3.2 Last commit image Deployment status

Infrastructure as code (Terraform) for the cddo.cabinetoffice.gov.uk domain running on AWS.

CloudFront CDN

cdn is for managing the web presence for CDDO, currently a redirect to gov.uk. CloudFront is used and S3 is the backend origin, Functions are used to handle traffic dynamically and in a scalable way.

The router JavaScript function has several endpoints, for example:

Path Destination/Result
/.well-known/security.txt
/security.txt
https://vulnerability-reporting.nonprod-service.security.gov.uk/.well-known/security.txt
/.well-known/status Should return 200 and not a redirect
/.well-known/hosting-provider Should return 200 a link to CloudFront
/* (where not matched) https://www.gov.uk/government/organisations/central-digital-and-data-office/

The router function has a test suite that can be ran by doing:

cd cdn/functions/router/
npm install
npm test

Route53 DNS

dns is the management of the Route53 zone and records.

Utilises the aws-route53-parked-govuk-domain Terraform module for parking the email records.

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.