Skip to content

Commit

Permalink
Update readme to use Version 2 cloudfront_distribution_config syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
nicluo committed Feb 1, 2017
1 parent 50ccfbd commit 6729779
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Expand Up @@ -70,11 +70,11 @@ file. For example:
```yaml
cloudfront_distribution_config:
default_cache_behavior:
min_TTL: 600
min_ttl: 600
aliases:
quantity: 1
items:
CNAME: your.domain.net
- your.domain.net
```

See the section below for more information about the valid values of the
Expand All @@ -94,12 +94,12 @@ Let's say your config file contains the following fragment:
cloudfront_distribution_id: AXSAXSSE134
cloudfront_distribution_config:
default_cache_behavior:
min_TTL: 600
min_ttl: 600
default_root_object: index.json
```

When you invoke `configure-s3-website`, it will overwrite the default value of
*default_cache_behavior's* *min_TTL* as well as the default value of
*default_cache_behavior's* *min_ttl* as well as the default value of
*default_root_object* setting in the [default distribution configs](#default-distribution-configs).

This gem generates `<DistributionConfig>` of the CloudFront REST API. For
Expand Down Expand Up @@ -151,7 +151,7 @@ Type](http://docs.aws.amazon.com/AmazonCloudFront/latest/APIReference/Distributi
}
},
'viewer_protocol_policy' => 'allow-all',
'min_TTL' => '86400'
'min_ttl' => '86400'
},
'cache_behaviors' => {
'quantity' => '0'
Expand Down

0 comments on commit 6729779

Please sign in to comment.