diff --git a/README.md b/README.md index 8017dd1..82b2c1d 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ Create a file called `main.tf` wherever you want to store these things. Put the ``` terraform module "munki-repo" { source = "grahamgilbert/munki-repo/aws" - version = "0.0.7" + version = "0.1.0" munki_s3_bucket = "my-munki-bucket" username = "munki" password = "ilovemunki" diff --git a/cloudfront.tf b/cloudfront.tf index 78db05e..5e3337d 100644 --- a/cloudfront.tf +++ b/cloudfront.tf @@ -83,9 +83,6 @@ resource "aws_cloudfront_distribution" "www_distribution" { compress = true allowed_methods = ["GET", "HEAD"] cached_methods = ["GET", "HEAD"] - min_ttl = 0 - default_ttl = 30 - max_ttl = 60 target_origin_id = "munki" forwarded_values { diff --git a/lambda.tf b/lambda.tf index 0c92872..dc079a2 100644 --- a/lambda.tf +++ b/lambda.tf @@ -24,7 +24,7 @@ EOF data "template_file" "basic_auth_js" { template = "${file("${path.module}/basic_auth.js.tpl")}" - vars { + vars = { username = "${var.username}" password = "${var.password}" }