From fdcfa39ad58d4fb4170e991795666a1cea041e59 Mon Sep 17 00:00:00 2001 From: HumanistSerif Date: Thu, 6 Jun 2019 11:25:36 -0400 Subject: [PATCH] Adding parameter for CUR specification for AWS Account setup Added the optional `cost_and_usage_report` parameter to the AWS account setup and update methods --- _account/aws-account-add.md | 22 ++++++++++++++++++++++ _account/aws-account-update.md | 14 ++++++++++++-- 2 files changed, 34 insertions(+), 2 deletions(-) diff --git a/_account/aws-account-add.md b/_account/aws-account-add.md index 161889e..9da03b8 100644 --- a/_account/aws-account-add.md +++ b/_account/aws-account-add.md @@ -34,6 +34,16 @@ parameters: - name: bucket required: yes content: Name of S3 bucket containing the DBR + - name: cost_and_usage_report + required: no + content: JSON field that specifies the location of the AWS Cost and Usage Report (CUR). + sub-fields: + - name: bucket + required: yes + content: Name of S3 bucket containing the CUR + - name: path + required: no + content: The path to the CUR report, including the prefix - name: cloudtrail required: no content: JSON field that specifies whether CloudHealth should collect CloudTrail Trails and the location of Trail files. @@ -97,6 +107,10 @@ right_code_blocks: "billing": { "bucket": "my-billing-bucket" }, + "cost_and_usage_report" : { + "bucket": "cur-bucket", + "path": "cur/path/api" + }, "cloudtrail": { "enabled": true, "bucket": "my-cloudtrail-bucket" @@ -133,6 +147,10 @@ right_code_blocks: "bucket": "my-billing-bucket", "is_consolidated": false }, + "cost_and_usage_report" : { + "bucket": "cur-bucket", + "path": "cur/path/api" + }, "cloudtrail": { "enabled": true, "bucket": "my-cloudtrail-bucket" @@ -171,6 +189,10 @@ right_code_blocks: "billing": { "bucket": "my-billing-bucket" }, + "cost_and_usage_report" : { + "bucket": "cur-bucket", + "path": "cur/path/api" + }, "cloudtrail": { "enabled": true, "bucket": "my-cloudtrail-bucket" diff --git a/_account/aws-account-update.md b/_account/aws-account-update.md index 97286d7..6a1bc89 100644 --- a/_account/aws-account-update.md +++ b/_account/aws-account-update.md @@ -26,11 +26,21 @@ parameters: content: External ID generated by CloudHealth - name: billing required: no - content: JSON field that specifies the location of the AWS Detailed Billing Record (DBR) or the AWS Cost and Usage Report (CUR). + content: JSON field that specifies the location of the AWS Detailed Billing Record (DBR) sub-fields: - name: bucket required: yes - content: Name of S3 bucket containing the DBR and CUR + content: Name of S3 bucket containing the DBR + - name: cost_and_usage_report + required: no + content: JSON field that specifies the location of the AWS Cost and Usage Report (CUR). + sub-fields: + - name: bucket + required: yes + content: Name of S3 bucket containing the CUR + - name: path + required: no + content: The path to the CUR report, including the prefix - name: cloudtrail required: no content: JSON field that specifies whether CloudHealth should collect CloudTrail Trails and the location of Trail files.