Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions modules/aws-anyscale-s3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ This sub-module creates the default S3 resources needed for Anyscale to work in

| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.100.0 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | 6.28.0 |

## Modules

Expand All @@ -42,13 +42,13 @@ No modules.
| <a name="input_anyscale_bucket_name"></a> [anyscale\_bucket\_name](#input\_anyscale\_bucket\_name) | (Optional - forces new resource) The name of the bucket. Conflicts with anyscale\_bucket\_prefix. Default is `null`. | `string` | `null` | no |
| <a name="input_anyscale_bucket_prefix"></a> [anyscale\_bucket\_prefix](#input\_anyscale\_bucket\_prefix) | (Optional - forces new resource) Creates a unique bucket name beginning with the specified prefix. Conflicts with anyscale\_bucket\_name. Default is `anyscale-`. | `string` | `"anyscale-"` | no |
| <a name="input_anyscale_cloud_id"></a> [anyscale\_cloud\_id](#input\_anyscale\_cloud\_id) | (Optional) Anyscale Cloud ID. Default is `null`. | `string` | `null` | no |
| <a name="input_cors_rule"></a> [cors\_rule](#input\_cors\_rule) | (Optional)<br/>Object containing a rule of Cross-Origin Resource Sharing.<br/>The default allows GET, POST, PUT, HEAD, and DELETE<br/>access for the purpose of viewing logs and other functionality<br/>from within the Anyscale Web UI (*.anyscale.com).<br/><br/>ex:<pre>cors_rule = {<br/> allowed_headers = ["*"]<br/> allowed_methods = [GET", "POST", "PUT", "HEAD", "DELETE"]<br/> allowed_origins = ["https://*.anyscale.com"]<br/>}</pre> | `any` | <pre>{<br/> "allowed_headers": [<br/> "*"<br/> ],<br/> "allowed_methods": [<br/> "GET",<br/> "POST",<br/> "PUT",<br/> "HEAD",<br/> "DELETE"<br/> ],<br/> "allowed_origins": [<br/> "https://*.anyscale.com"<br/> ],<br/> "expose_headers": []<br/>}</pre> | no |
| <a name="input_force_destroy"></a> [force\_destroy](#input\_force\_destroy) | (Optional) Set to true to delete all objects from the bucket so that the bucket can be destroyed without error.<br/>These objects are not recoverable.<br/>Default is `false`. With this default, you need to empty the bucket if there are objects before `terraform destroy` can be completed. | `bool` | `false` | no |
| <a name="input_cors_rule"></a> [cors\_rule](#input\_cors\_rule) | (Optional)<br>Object containing a rule of Cross-Origin Resource Sharing.<br>The default allows GET, POST, PUT, HEAD, and DELETE<br>access for the purpose of viewing logs and other functionality<br>from within the Anyscale Web UI (*.anyscale.com).<br><br>ex:<pre>cors_rule = {<br> allowed_headers = ["*"]<br> allowed_methods = [GET", "POST", "PUT", "HEAD", "DELETE"]<br> allowed_origins = ["https://*.anyscale.com"]<br>}</pre> | `any` | <pre>{<br> "allowed_headers": [<br> "*"<br> ],<br> "allowed_methods": [<br> "GET",<br> "POST",<br> "PUT",<br> "HEAD",<br> "DELETE"<br> ],<br> "allowed_origins": [<br> "https://*.anyscale.com"<br> ],<br> "expose_headers": [<br> "Accept-Ranges",<br> "Content-Range",<br> "Content-Length"<br> ]<br>}</pre> | no |
| <a name="input_force_destroy"></a> [force\_destroy](#input\_force\_destroy) | (Optional) Set to true to delete all objects from the bucket so that the bucket can be destroyed without error.<br>These objects are not recoverable.<br>Default is `false`. With this default, you need to empty the bucket if there are objects before `terraform destroy` can be completed. | `bool` | `false` | no |
| <a name="input_lifecycle_rule"></a> [lifecycle\_rule](#input\_lifecycle\_rule) | (Optional) List of maps containing configuration of object lifecycle management. Default is an empty list. | `any` | `[]` | no |
| <a name="input_logging"></a> [logging](#input\_logging) | (Optional) Map containing access bucket logging configuration. Default is an empty map. | `map(string)` | `{}` | no |
| <a name="input_module_enabled"></a> [module\_enabled](#input\_module\_enabled) | (Optional) Whether to create the resources inside this module. Default is `true`. | `bool` | `true` | no |
| <a name="input_object_versioning"></a> [object\_versioning](#input\_object\_versioning) | (Optional) Boolean specifying object versioning configuration. Default is `false`. | `bool` | `false` | no |
| <a name="input_server_side_encryption"></a> [server\_side\_encryption](#input\_server\_side\_encryption) | (Optional)<br/>Map containing server-side encryption configuration.<br/><br/>ex using KMS:<pre>server_side_encryption = {<br/> kms_master_key_id = "key_id"<br/> sse_algorithm = "aws:kms"<br/>}</pre>ex using AES256 (default):<pre>server_side_encryption = {<br/> sse_algorithm = "AES256"<br/>}</pre> | `map(string)` | <pre>{<br/> "sse_algorithm": "AES256"<br/>}</pre> | no |
| <a name="input_server_side_encryption"></a> [server\_side\_encryption](#input\_server\_side\_encryption) | (Optional)<br>Map containing server-side encryption configuration.<br><br>ex using KMS:<pre>server_side_encryption = {<br> kms_master_key_id = "key_id"<br> sse_algorithm = "aws:kms"<br>}</pre>ex using AES256 (default):<pre>server_side_encryption = {<br> sse_algorithm = "AES256"<br>}</pre> | `map(string)` | <pre>{<br> "sse_algorithm": "AES256"<br>}</pre> | no |
| <a name="input_tags"></a> [tags](#input\_tags) | (Optional) A map of tags to all resources that accept tags. | `map(string)` | `{}` | no |

## Outputs
Expand Down
2 changes: 1 addition & 1 deletion modules/aws-anyscale-s3/examples/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ module "kitchen_sink" {
allowed_headers = ["*"]
allowed_methods = ["GET", "POST"]
allowed_origins = ["https://console.anyscale.com"]
expose_headers = []
expose_headers = ["Accept-Ranges", "Content-Range", "Content-Length"]
}

object_versioning = true
Expand Down
2 changes: 1 addition & 1 deletion modules/aws-anyscale-s3/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ variable "cors_rule" {
allowed_headers = ["*"]
allowed_methods = ["GET", "POST", "PUT", "HEAD", "DELETE"]
allowed_origins = ["https://*.anyscale.com"]
expose_headers = []
expose_headers = ["Accept-Ranges", "Content-Range", "Content-Length"]
}
}

Expand Down
Loading