munki-repo
grahamgilbert/munki-repo/aws
A Terraform module to set up a Munki repo
Terraform Munki Repo terraform-munki-repo is a Terraform module that will set up a production-ready Munki repo for you. It is designed for use with Terraform 1.0.x More specifically, it will create: - An S3 bucket to store your Munki repo - An S3 bucket to store your logs - A CloudFront Distribution so your clients will pull from an AWS endpoint near them - A Lambda@Edge function that will set up basic authentication Why should I use this? A Munki repo is a basic web server. But you still need to worry about setting up one or more servers, patching those servers, and scaling them around the world if you have clients in more than one country. Amazon Web Services has crazy-high levels of uptime - more than we could ever manage ourselves. CloudFront powers some of the world's busiest websites
| Name | Type | Description | Default |
|---|---|---|---|
| password | string | Password clients use. | required |
| munki_s3_bucket | string | The name of your s3 Bucket | required |
| username | string | Username clients use. | required |
| default_cache_behavior_max_ttl | number | The maximum amount of time (in seconds) that an object is in a CloudFront cache | 31536000 |
| icons_ordered_cache_behavior_min_ttl | number | The minimum amount of time (in seconds) that you want icon objects to stay in Cl | 0 |
| default_cache_behavior_default_ttl | number | The default amount of time (in seconds) that an object is in a CloudFront cache | 86400 |
| manifests_ordered_cache_behavior_max_ttl | number | The maximum amount of time (in seconds) that a manifest object is in a CloudFron | 60 |
| prefix | string | Prefix before lambda and IAM names to ensure uniqueness in your account. | "munki" |
| price_class | string | The price class your CloudFront Distribution should use. | "PriceClass_100" |
| catalogs_ordered_cache_behavior_min_ttl | number | The minimum amount of time (in seconds) that you want catalog objects to stay in | 0 |
| manifests_ordered_cache_behavior_default_ttl | number | The default amount of time (in seconds) that a manifest object is in a CloudFron | 30 |
| icons_ordered_cache_behavior_default_ttl | number | The default amount of time (in seconds) that a icon object is in a CloudFront ca | 30 |
| icons_ordered_cache_behavior_max_ttl | number | The maximum amount of time (in seconds) that a icon object is in a CloudFront ca | 60 |
| default_cache_behavior_min_ttl | number | The minimum amount of time (in seconds) that you want objects to stay in CloudFr | 0 |
| catalogs_ordered_cache_behavior_default_ttl | number | The default amount of time (in seconds) that a catalog object is in a CloudFront | 30 |
| catalogs_ordered_cache_behavior_max_ttl | number | The maximum amount of time (in seconds) that a catalog object is in a CloudFront | 60 |
| manifests_ordered_cache_behavior_min_ttl | number | The minimum amount of time (in seconds) that you want manifest objects to stay i | 0 |
munki_bucket_idlog_bucket_idcloudfront_idcloudfront_url