Skip to content

Commit

Permalink
feat: updating to the latest version of the cudos framework (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
gambol99 authored Jul 12, 2024
1 parent 9ab7863 commit 4463da8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .trivyignore
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
AVD-AWS-0089
AVD-AWS-0090 # https://avd.aquasec.com/misconfig/avd-aws-0090
AVD-AWS-0132 # https://avd.aquasec.com/misconfig/avd-aws-0132
AVD-AWS-0057 # https://avd.aquasec.com/misconfig/avd-aws-0057
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,10 @@ The `terraform-docs` utility is used to generate this README. Follow the below s
| Name | Source | Version |
|------|--------|---------|
| <a name="module_cloudformation_bucket"></a> [cloudformation\_bucket](#module\_cloudformation\_bucket) | terraform-aws-modules/s3-bucket/aws | 4.1.2 |
| <a name="module_collector"></a> [collector](#module\_collector) | github.com/aws-samples/aws-cudos-framework-deployment//terraform-modules/cur-setup-destination | 0.3.5 |
| <a name="module_collector"></a> [collector](#module\_collector) | github.com/aws-samples/aws-cudos-framework-deployment//terraform-modules/cur-setup-destination | 0.3.8 |
| <a name="module_dashboard_bucket"></a> [dashboard\_bucket](#module\_dashboard\_bucket) | terraform-aws-modules/s3-bucket/aws | 4.1.2 |
| <a name="module_dashboards"></a> [dashboards](#module\_dashboards) | github.com/aws-samples/aws-cudos-framework-deployment//terraform-modules/cid-dashboards | 0.3.5 |
| <a name="module_source"></a> [source](#module\_source) | github.com/aws-samples/aws-cudos-framework-deployment//terraform-modules/cur-setup-source | 0.3.5 |
| <a name="module_dashboards"></a> [dashboards](#module\_dashboards) | github.com/aws-samples/aws-cudos-framework-deployment//terraform-modules/cid-dashboards | 0.3.8 |
| <a name="module_source"></a> [source](#module\_source) | github.com/aws-samples/aws-cudos-framework-deployment//terraform-modules/cur-setup-source | 0.3.8 |

## Resources

Expand Down
6 changes: 3 additions & 3 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ module "dashboard_bucket" {
## First we configure the collector to accept the CUR (Cost and Usage Report) from the source account
# tfsec:ignore:aws-s3-enable-bucket-logging
module "collector" {
source = "github.com/aws-samples/aws-cudos-framework-deployment//terraform-modules/cur-setup-destination?ref=0.3.5"
source = "github.com/aws-samples/aws-cudos-framework-deployment//terraform-modules/cur-setup-destination?ref=0.3.8"

# Source account whom will be replicating the CUR data to the collector account
source_account_ids = [local.management_account_id]
Expand All @@ -237,7 +237,7 @@ module "collector" {
# tfsec:ignore:aws-s3-enable-bucket-logging
# tfsec:ignore:aws-iam-no-policy-wildcards
module "source" {
source = "github.com/aws-samples/aws-cudos-framework-deployment//terraform-modules/cur-setup-source?ref=0.3.5"
source = "github.com/aws-samples/aws-cudos-framework-deployment//terraform-modules/cur-setup-source?ref=0.3.8"

# The destination bucket to repliaction the CUR data to
destination_bucket_arn = module.collector.cur_bucket_arn
Expand All @@ -250,7 +250,7 @@ module "source" {

## Provision the cloud intelligence dashboards
module "dashboards" {
source = "github.com/aws-samples/aws-cudos-framework-deployment//terraform-modules/cid-dashboards?ref=0.3.5"
source = "github.com/aws-samples/aws-cudos-framework-deployment//terraform-modules/cid-dashboards?ref=0.3.8"

stack_name = var.stack_name_cloud_intelligence
template_bucket = module.dashboard_bucket.s3_bucket_id
Expand Down

0 comments on commit 4463da8

Please sign in to comment.