Skip to content

Commit

Permalink
Merge pull request #6729 from ewbankkit/issue-6278
Browse files Browse the repository at this point in the history
Support S3 Inventory Apache Parquet format reports
  • Loading branch information
bflad authored Dec 5, 2018
2 parents 0f10ccc + 7b6c795 commit cc26a65
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
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

0 comments on commit cc26a65

Please sign in to comment.