Skip to content

Commit

Permalink
cleanup unusued code
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed Jan 15, 2026
1 parent 3da16a0 commit 631ba64
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 52 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ sys 0m2.015s
| <a name="input_region"></a> [region](#input\_region) | AWS region | `string` | n/a | yes |
| <a name="input_security_group_all_worker_mgmt_id"></a> [security\_group\_all\_worker\_mgmt\_id](#input\_security\_group\_all\_worker\_mgmt\_id) | The security group representing all of the worker nodes in the cluster. | `string` | n/a | yes |
| <a name="input_subnets"></a> [subnets](#input\_subnets) | Specify the subnets used by this cluster | `list(string)` | n/a | yes |
| <a name="input_tag_costallocation"></a> [tag\_costallocation](#input\_tag\_costallocation) | Tag CostAllocation (default) | `string` | `"csvd:infrastructure"` | no |
| <a name="input_tags"></a> [tags](#input\_tags) | AWS Tags to apply to appropriate resources | `map(string)` | `{}` | no |
| <a name="input_telemetry_ns"></a> [telemetry\_ns](#input\_telemetry\_ns) | Namespace to create where telemetry will be installed. | `string` | `"telemetry"` | no |
| <a name="input_vpc_id"></a> [vpc\_id](#input\_vpc\_id) | Specify the VPC id that is used by this cluster | `string` | n/a | yes |
Expand Down
7 changes: 0 additions & 7 deletions aws-data.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,3 @@ data "aws_ebs_default_kms_key" "current" {}
data "aws_kms_key" "ebs_key" {
key_id = data.aws_ebs_default_kms_key.current.key_arn
}
# data "aws_caller_identity" "current" {}

# data "aws_region" "current" {}

# data "aws_arn" "current" {
# arn = data.aws_caller_identity.current.arn
# }
4 changes: 0 additions & 4 deletions main.tf
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
locals {
# iam_arn = format("arn:%v:iam::%v:%%v", data.aws_arn.current.partition, data.aws_caller_identity.current.account_id)
# common_arn = format("arn:%v:%%v:%v:%v:%%v", data.aws_arn.current.partition, data.aws_region.current.id, data.aws_caller_identity.current.account_id)
base_tags = {
"eks-cluster-name" = var.cluster_name
"boc:tf_module_version" = local.module_version
"boc:created_by" = "terraform"
CostAllocation = var.tag_costallocation
}

tags = merge(local.base_tags, var.tags)
Expand Down
34 changes: 0 additions & 34 deletions prefixes.tf.off

This file was deleted.

6 changes: 0 additions & 6 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,6 @@ variable "telemetry_ns" {
default = "telemetry"
}

variable "tag_costallocation" {
description = "Tag CostAllocation (default)"
type = string
default = "csvd:infrastructure"
}

variable "tags" {
description = "AWS Tags to apply to appropriate resources"
type = map(string)
Expand Down

0 comments on commit 631ba64

Please sign in to comment.