Skip to content

Commit c91e346

Browse files
authored
Merge pull request #4855 from consideRatio/pr/cleanup-athena
terraform: cleanup AWS Athena attempt to acquire billing data
2 parents 25f3584 + 3933a23 commit c91e346

File tree

4 files changed

+0
-120
lines changed

4 files changed

+0
-120
lines changed

config/clusters/openscapes/support.values.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ grafana:
3131
- secretName: grafana-tls
3232
hosts:
3333
- grafana.openscapes.2i2c.cloud
34-
serviceAccount:
35-
annotations:
36-
eks.amazonaws.com/role-arn: arn:aws:iam::783616723547:role/openscapeshub-grafana-athena-iam-role
3734
grafana.ini:
3835
server:
3936
root_url: https://grafana.openscapes.2i2c.cloud/

terraform/aws/grafana-athena-iam.tf

Lines changed: 0 additions & 93 deletions
This file was deleted.

terraform/aws/projects/openscapes.tfvars

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@ default_budget_alert = {
66
"enabled" : false,
77
}
88

9-
enable_grafana_athena_iam = true
109
enable_aws_ce_grafana_backend_iam = true
11-
athena_write_storage_bucket = "openscapes-cost-usage-report"
12-
athena_read_storage_bucket = "openscapes-2i2c-cur"
1310

1411
# The initial EFS is now used by the prod hub only
1512
# So we tag it appropriately for costs purposes

terraform/aws/variables.tf

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -46,18 +46,6 @@ variable "user_buckets" {
4646
}
4747

4848

49-
variable "athena_write_storage_bucket" {
50-
type = string
51-
description = "The name of the S3 bucket where Grafana query results from Athena will be stored"
52-
default = ""
53-
}
54-
55-
variable "athena_read_storage_bucket" {
56-
type = string
57-
description = "The name of the S3 bucket where Athena tables and data is stored"
58-
default = ""
59-
}
60-
6149
variable "hub_cloud_permissions" {
6250
type = map(
6351
map(
@@ -297,15 +285,6 @@ variable "active_cost_allocation_tags" {
297285
EOT
298286
}
299287

300-
variable "enable_grafana_athena_iam" {
301-
type = bool
302-
default = false
303-
description = <<-EOT
304-
Create an IAM role with attached policy to permit a connection between a
305-
Grafana instance and AWS Athena service.
306-
EOT
307-
}
308-
309288
variable "enable_aws_ce_grafana_backend_iam" {
310289
type = bool
311290
default = false

0 commit comments

Comments
 (0)