Skip to content

Commit 91ab131

Browse files
authored
Readme/example fix (#229)
1 parent 1dc4708 commit 91ab131

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,15 +152,15 @@ module "cdn" {
152152
aliases = ["assets.cloudposse.com"]
153153
dns_alias_enabled = true
154154
parent_zone_name = "cloudposse.com"
155-
s3_origins = {
155+
s3_origins = [{
156156
domain_name = module.s3_bucket.bucket_regional_domain_name
157157
origin_id = module.s3_bucket.bucket_id
158158
origin_path = null
159159
s3_origin_config = {
160160
origin_access_identity = null # will get translated to the origin_access_identity used by the origin created by this module.
161161
}
162-
}
163-
origin_groups = {
162+
}]
163+
origin_groups = [{
164164
primary_origin_id = null # will get translated to the origin id of the origin created by this module.
165165
failover_origin_id = module.s3_bucket.bucket_id
166166
failover_criteria = [
@@ -169,7 +169,7 @@ module "cdn" {
169169
500,
170170
502
171171
]
172-
}
172+
}]
173173
}
174174
```
175175

README.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,15 +121,15 @@ usage: |-
121121
aliases = ["assets.cloudposse.com"]
122122
dns_alias_enabled = true
123123
parent_zone_name = "cloudposse.com"
124-
s3_origins = {
124+
s3_origins = [{
125125
domain_name = module.s3_bucket.bucket_regional_domain_name
126126
origin_id = module.s3_bucket.bucket_id
127127
origin_path = null
128128
s3_origin_config = {
129129
origin_access_identity = null # will get translated to the origin_access_identity used by the origin created by this module.
130130
}
131-
}
132-
origin_groups = {
131+
}]
132+
origin_groups = [{
133133
primary_origin_id = null # will get translated to the origin id of the origin created by this module.
134134
failover_origin_id = module.s3_bucket.bucket_id
135135
failover_criteria = [
@@ -138,7 +138,7 @@ usage: |-
138138
500,
139139
502
140140
]
141-
}
141+
}]
142142
}
143143
```
144144

0 commit comments

Comments
 (0)