Skip to content

Commit

Permalink
opensci: enable and configure aws-ce-grafana backend
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgianaElena committed Nov 6, 2024
1 parent d36b804 commit 985a1f3
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
8 changes: 8 additions & 0 deletions config/clusters/opensci/support.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,11 @@ grafana:
- secretName: grafana-tls
hosts:
- grafana.opensci.2i2c.cloud

aws-ce-grafana-backend:
enabled: true
envBasedConfig:
clusterName: opensci
serviceAccount:
annotations:
eks.amazonaws.com/role-arn: arn:aws:iam::211125293633:role/aws_ce_grafana_backend_iam_role
11 changes: 8 additions & 3 deletions terraform/aws/projects/opensci.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,20 @@ region = "us-west-2"
cluster_name = "opensci"
cluster_nodes_location = "us-west-2a"

enable_aws_ce_grafana_backend_iam = true

user_buckets = {
"scratch-staging" : {
"delete_after" : 7
"delete_after" : 7,
"tags" : { "2i2c:hub-name" : "staging" },
},
"scratch-sciencecore" : {
"delete_after" : 7
"delete_after" : 7,
"tags" : { "2i2c:hub-name" : "sciencecore" },
},
"persistent-sciencecore" : {
"delete_after" : null
"delete_after" : null,
"tags" : { "2i2c:hub-name" : "sciencecore" },
},
}

Expand Down

0 comments on commit 985a1f3

Please sign in to comment.