diff --git a/LICENSE b/LICENSE index 908e3cb..446c814 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ -MIT License +The MIT License (MIT) -Copyright (c) 2019 Oleg Vaskevich +Copyright (c) 2020 Oleg Vaskevich Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -19,3 +19,4 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + diff --git a/main.tf b/main.tf new file mode 100644 index 0000000..e69de29 diff --git a/modules/cdn/README.md b/modules/cdn/README.md new file mode 100644 index 0000000..55046d3 --- /dev/null +++ b/modules/cdn/README.md @@ -0,0 +1,13 @@ +# cdn + +CDN backed by an S3 bucket using CloudFront configured with SNI-based SSL. + +```tf +module "cdn" { + source = "github.com/vaskevich/tfdash//cdn" + name = "my-cdn" + zone_id = "${aws_route53_zone.root.zone_id}" + acm_ssl_cert_arn = "${aws_acm_certificate.root.arn}" + inaccessible_page_path = "/index.html" +} +``` diff --git a/cdn/main.tf b/modules/cdn/main.tf similarity index 100% rename from cdn/main.tf rename to modules/cdn/main.tf diff --git a/cdn/outputs.tf b/modules/cdn/outputs.tf similarity index 100% rename from cdn/outputs.tf rename to modules/cdn/outputs.tf diff --git a/cdn/variables.tf b/modules/cdn/variables.tf similarity index 100% rename from cdn/variables.tf rename to modules/cdn/variables.tf diff --git a/cdn/versions.tf b/modules/cdn/versions.tf similarity index 100% rename from cdn/versions.tf rename to modules/cdn/versions.tf