Skip to content

Commit

Permalink
Support s3-express for gateway-endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
posquit0 committed Dec 14, 2023
1 parent 2a00109 commit 850efc4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.5.0
0.5.1
2 changes: 1 addition & 1 deletion modules/vpc-gateway-endpoint/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ This module creates following resources.
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| <a name="input_name"></a> [name](#input\_name) | (Required) Desired name for the VPC Gateway Endpoint. | `string` | n/a | yes |
| <a name="input_service"></a> [service](#input\_service) | (Required) The AWS service name. Valid values are `DYNAMODB`, `S3`. | `string` | n/a | yes |
| <a name="input_service"></a> [service](#input\_service) | (Required) The AWS service name. Valid values are `DYNAMODB`, `S3`, `S3EXPRESS`. | `string` | n/a | yes |
| <a name="input_vpc_id"></a> [vpc\_id](#input\_vpc\_id) | (Required) The ID of the VPC in which the endpoint will be used. | `string` | n/a | yes |
| <a name="input_module_tags_enabled"></a> [module\_tags\_enabled](#input\_module\_tags\_enabled) | (Optional) Whether to create AWS Resource Tags for the module informations. | `bool` | `true` | no |
| <a name="input_policy"></a> [policy](#input\_policy) | (Optional) A policy to attach to the endpoint that controls access to the service. This is a JSON formatted string. Defaults to full access. All Gateway endpoints support policies. | `string` | `null` | no |
Expand Down
6 changes: 3 additions & 3 deletions modules/vpc-gateway-endpoint/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ variable "name" {
}

variable "service" {
description = "(Required) The AWS service name. Valid values are `DYNAMODB`, `S3`."
description = "(Required) The AWS service name. Valid values are `DYNAMODB`, `S3`, `S3EXPRESS`."
type = string
nullable = false

validation {
condition = contains(["DYNAMODB", "S3"], var.service)
error_message = "Valid values are `DYNAMODB` and `S3`."
condition = contains(["DYNAMODB", "S3", "S3EXPRESS"], var.service)
error_message = "Valid values are `DYNAMODB`, `S3` and `S3EXPRESS`."
}
}

Expand Down

0 comments on commit 850efc4

Please sign in to comment.