Terraform-provider-aws: aws_cur_report_definition doesn't support Parquet

Created on 24 May 2019  ·  5Comments  ·  Source: hashicorp/terraform-provider-aws

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform Version

0.12.0

Affected Resource(s)

  • aws_cur_report_definition

Terraform Configuration Files

provider "aws" {
  profile     = "default"
  region      = "us-east-1"
  version     = "2.12.0"
}

resource "aws_cur_report_definition" "cost_report" {
  report_name                = "mycostreport"
  time_unit                  = "HOURLY"
  format                     = "Parquet"
  compression                = "Parquet"
  additional_schema_elements = ["RESOURCES"]
  s3_bucket                  = "mybucketname"
  s3_prefix                  = "hourly-costs"
  s3_region                  = "us-east-1"
  additional_artifacts       = ["ATHENA"]
}

Debug Output

Panic Output

Expected Behavior

Resource should have been created. This AWS API supports these values according to their documentation. Additionally, this AWS resource can be created using the Python boto3 package.

Actual Behavior

terraform plan throws the following errors:

Error: expected format to be one of [textORcsv], got Parquet
...
Error: expected compression to be one of [GZIP ZIP], got Parquet
...
Error: expected additional_artifacts.0 to be one of [QUICKSIGHT REDSHIFT], got ATHENA
...

Steps to Reproduce

  1. terraform apply

Important Factoids

References

enhancement serviccostandusagereportservice

Most helpful comment

All 5 comments

Can we have also add support for ATHENA is this issue or would be better to have a new on?.

Support for this functionality has been merged and will release with version 3.5.0 of the Terraform AWS Provider, likely tomorrow. Thanks to @robbruce for the implementation. 👍

This has been released in version 3.5.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks!

I'm going to lock this issue because it has been closed for _30 days_ ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

Was this page helpful?
0 / 5 - 0 ratings