You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| <aname="input_name"></a> [name](#input\_name)| (Required) A name to identify the origin access control. |`string`| n/a | yes |
36
+
| <aname="input_origin_type"></a> [origin\_type](#input\_origin\_type)| (Required) The type of origin that this origin access control is for. Valid values are `LAMBDA`, `MEDIAPACKAGE_V2`, `MEDIASTORE` and `S3`. |`string`| n/a | yes |
36
37
| <aname="input_description"></a> [description](#input\_description)| (Optional) A description of the origin access control. |`string`|`"Managed by Terraform."`| no |
37
-
| <aname="input_origin_type"></a> [origin\_type](#input\_origin\_type)| (Optional) The type of origin that this origin access control is for. Valid values are `S3` and `MEDIASTORE`. Defaults to `S3`. |`string`|`"S3"`| no |
38
-
| <aname="input_signing_behavior"></a> [signing\_behavior](#input\_signing\_behavior)| (Optional) Specify which requests CloudFront signs (adds authentication information to). Valid values are `ALWAYS`, `NEVER`, `NO_OVERRIDE`. Defaults to `ALWAYS`.<br> `ALWAYS` - CloudFront signs all origin requests, overwriting the `Authorization` header from the viewer request if one exists.<br> `NEVER` - CloudFront doesn't sign any origin requests. This value turns off origin access control for all origins in all distributions that use this origin access control.<br> `NO_OVERRIDE` - If the viewer request doesn't contain the `Authorization` header, then CloudFront signs the origin request. If the viewer request contains the Authorization header, then CloudFront doesn't sign the origin request and instead passes along the Authorization header from the viewer request. |`string`|`"ALWAYS"`| no |
38
+
| <aname="input_signing_behavior"></a> [signing\_behavior](#input\_signing\_behavior)| (Optional) Specify which requests CloudFront signs (adds authentication information to). Valid values are `ALWAYS`, `NEVER`, `NO_OVERRIDE`. Defaults to `ALWAYS`.<br/> `ALWAYS` - CloudFront signs all origin requests, overwriting the `Authorization` header from the viewer request if one exists.<br/> `NEVER` - CloudFront doesn't sign any origin requests. This value turns off origin access control for all origins in all distributions that use this origin access control.<br/> `NO_OVERRIDE` - If the viewer request doesn't contain the `Authorization` header, then CloudFront signs the origin request. If the viewer request contains the Authorization header, then CloudFront doesn't sign the origin request and instead passes along the Authorization header from the viewer request. |`string`|`"ALWAYS"`| no |
39
39
40
40
## Outputs
41
41
42
42
| Name | Description |
43
43
|------|-------------|
44
+
| <aname="output_arn"></a> [arn](#output\_arn)| The ARN of the origin access control. |
44
45
| <aname="output_description"></a> [description](#output\_description)| The description of the origin access control. |
45
46
| <aname="output_etag"></a> [etag](#output\_etag)| The current version of the origin access control. |
46
47
| <aname="output_id"></a> [id](#output\_id)| The ID of the origin access control. |
Copy file name to clipboardExpand all lines: modules/origin-access-control/variables.tf
+3-4Lines changed: 3 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -12,14 +12,13 @@ variable "description" {
12
12
}
13
13
14
14
variable"origin_type" {
15
-
description="(Optional) The type of origin that this origin access control is for. Valid values are `S3` and `MEDIASTORE`. Defaults to `S3`."
15
+
description="(Required) The type of origin that this origin access control is for. Valid values are `LAMBDA`, `MEDIAPACKAGE_V2`, `MEDIASTORE` and `S3`."
0 commit comments