Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support S3 Inventory Apache Parquet format reports #6729

Merged
merged 1 commit into from
Dec 5, 2018
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
1 change: 1 addition & 0 deletions aws/resource_aws_s3_bucket_inventory.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ func resourceAwsS3BucketInventory() *schema.Resource {
ValidateFunc: validation.StringInSlice([]string{
s3.InventoryFormatCsv,
s3.InventoryFormatOrc,
s3.InventoryFormatParquet,
}, false),
},
"bucket_arn": {
Expand Down
2 changes: 1 addition & 1 deletion aws/resource_aws_s3_bucket_inventory_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ resource "aws_s3_bucket_inventory" "test" {

destination {
bucket {
format = "ORC"
format = "Parquet"
bucket_arn = "${aws_s3_bucket.bucket.arn}"

encryption {
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/s3_bucket_inventory.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ The `destination` configuration supports the following:
The `bucket` configuration supports the following:

* `bucket_arn` - (Required) The Amazon S3 bucket ARN of the destination.
* `format` - (Required) Specifies the output format of the inventory results. Can be `CSV` or [`ORC`](https://orc.apache.org/).
* `format` - (Required) Specifies the output format of the inventory results. Can be `CSV`, [`ORC`](https://orc.apache.org/) or [`Parquet`](https://parquet.apache.org/).
* `account_id` - (Optional) The ID of the account that owns the destination bucket. Recommended to be set to prevent problems if the destination bucket ownership changes.
* `prefix` - (Optional) The prefix that is prepended to all inventory results.
* `encryption` - (Optional) Contains the type of server-side encryption to use to encrypt the inventory (documented below).
Expand Down