Skip to content

Commit

Permalink
Scp compatability (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed Mar 26, 2026
1 parent 4c4b786 commit faba9fe
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ efs-csi-controller 0 5m
| <a name="module_cluster"></a> [cluster](#module\_cluster) | git::https://github.e.it.census.gov/SCT-Engineering/terraform-aws-eks/ | v21.15.1 |
| <a name="module_ebs_csi_irsa_role"></a> [ebs\_csi\_irsa\_role](#module\_ebs\_csi\_irsa\_role) | git::https://github.e.it.census.gov/SCT-Engineering/terraform-aws-iam//modules/iam-role-for-service-accounts-eks | n/a |
| <a name="module_efs_csi_irsa_role"></a> [efs\_csi\_irsa\_role](#module\_efs\_csi\_irsa\_role) | git::https://github.e.it.census.gov/SCT-Engineering/terraform-aws-iam//modules/iam-role-for-service-accounts-eks | n/a |
| <a name="module_tags"></a> [tags](#module\_tags) | git@github.e.it.census.gov:terraform-modules/boc-nts//tags | n/a |
| <a name="module_vpc_cni_irsa_role"></a> [vpc\_cni\_irsa\_role](#module\_vpc\_cni\_irsa\_role) | git::https://github.e.it.census.gov/SCT-Engineering/terraform-aws-iam//modules/iam-role-for-service-accounts-eks | n/a |

## Resources
Expand Down
7 changes: 7 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,13 @@ module "cluster" {
labels = {
"karpenter.sh/controller" = "true"
}
tag_specifications = ["instance", "volume"]
tags = merge(
module.tags.tags,
{
"kubernetes.io/cluster/${var.cluster_name}" = "owned"
}
)
}
}
}
Expand Down
6 changes: 6 additions & 0 deletions tags.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module "tags" {
# tflint-ignore: terraform_module_pinned_source
source = "git@github.e.it.census.gov:terraform-modules/boc-nts//tags"
filename = format("%v/%v", path.root, "tags.yml")

}
5 changes: 5 additions & 0 deletions tags.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
finops:
number: tonumber(regex("[0-9]+$", var.finops_project_number))
name: "${var.finops_project_name}"
roles:
- eks

0 comments on commit faba9fe

Please sign in to comment.