-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
Add Resource for Cost and Usage Report Definitions #7432
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @jbmchuck 👋 Thanks for submitting this! This is off to a good start. Please see the below for some initial feedback and let us know if you have any questions or do not have time to implement the items.
Co-Authored-By: jbmchuck <nospam@kuber.net>
Thanks for the feedback! I should be able to get through these today. |
@bflad Thanks again for the guidance - I've implemented the suggestions - let me know if there are any other issues. Acceptance test output after the changes:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @jbmchuck! 🚀
Maintainer note: I added a PreCheck
function for both these acceptance tests so they won't continually fail in our normal acceptance testing account.
Output from standalone AWS account acceptance testing:
--- PASS: TestAccAwsCurReportDefinition_basic (9.46s)
--- PASS: TestAccDataSourceAwsCurReportDefinition_basic (10.61s)
Output from member AWS Organizations account acceptance testing:
--- SKIP: TestAccAwsCurReportDefinition_basic (1.69s)
resource_aws_cur_report_definition_test.go:99: skipping acceptance testing: AccessDeniedException: accountId: 123456789012 is not authorized to callDescribeReportDefinitions. Note: linked account is not allowed to modify report preference.
status code: 400, request id: 2338fb64-4983-4e60-bdb7-42ad4a7cd294
--- SKIP: TestAccDataSourceAwsCurReportDefinition_basic (1.70s)
resource_aws_cur_report_definition_test.go:99: skipping acceptance testing: AccessDeniedException: accountId: 123456789012 is not authorized to callDescribeReportDefinitions. Note: linked account is not allowed to modify report preference.
status code: 400, request id: 9029d7bc-406a-44df-bbda-e1bcf61ca687
This has been released in version 1.59.0 of the AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. |
Is someone working to add additional compression/format options (Parquet) or additonal artifacts (Athena)? Thanks in advance! |
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! |
Changes proposed in this pull request:
A separate PR exists for adding the sdk portion: #7433
Output from acceptance testing: