File tree Expand file tree Collapse file tree 6 files changed +48
-9
lines changed Expand file tree Collapse file tree 6 files changed +48
-9
lines changed Original file line number Diff line number Diff line change
1
+ name : check
2
+ on : [push, pull_request]
3
+
4
+ jobs :
5
+ build :
6
+ runs-on : macOS-latest
7
+ steps :
8
+ - uses : actions/checkout@v1
9
+
10
+ - name : Install prereq
11
+ run : |
12
+ brew install docker tfenv tflint
13
+ tfenv install
14
+
15
+ - name : tf fmt
16
+ run : |
17
+ terraform fmt
18
+ - name : tflint
19
+ run : |
20
+ tflint
Original file line number Diff line number Diff line change
1
+ ---
2
+ repos :
3
+ - repo : git://github.com/antonbabenko/pre-commit-terraform
4
+ rev : v1.24.0
5
+ hooks :
6
+ - id : terraform_fmt
7
+ - id : terraform_docs
8
+ - repo : https://github.com/pre-commit/pre-commit-hooks
9
+ rev : v2.4.0
10
+ hooks :
11
+ - id : end-of-file-fixer
12
+ - id : trailing-whitespace
13
+ - id : no-commit-to-branch
Original file line number Diff line number Diff line change
1
+ 0.12.23
Original file line number Diff line number Diff line change 1
1
MIT License
2
2
3
- Copyright (c) 2019 Rhythmic Technologies, Inc.
3
+ Copyright (c) 2020 Rhythmic Technologies, Inc.
4
4
5
5
Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change 1
1
# terraform-aws-eks-iam-cluster-autoscaler
2
2
[ ![ ] ( https://github.com/rhythmictech/terraform-aws-eks-iam-cluster-autoscaler/workflows/check/badge.svg )] ( https://github.com/rhythmictech/terraform-aws-eks-iam-cluster-autoscaler/actions )
3
3
4
- Configure IAM role and related policies to use EKS Service Accounts with the external-dns service.
4
+ Configure IAM role and related policies to use the EKS cluster autoscaler
5
5
6
6
## Usage
7
7
```
@@ -22,13 +22,14 @@ module "cluster_autoscaler" {
22
22
| ------| -------------| :----:| :-----:| :-----:|
23
23
| cluster\_ name | | string | n/a | yes |
24
24
| issuer\_ url | OIDC issuer URL \( include prefix\) | string | n/a | yes |
25
- | kubernetes\_ namespace | Namespace to operate in \( service accounts and pods must be in the same namespace\) | string | ` "default " ` | no |
26
- | service\_ account | Name of service account to create \( computed based on cluster name if not specified \) | string | ` "" ` | no |
25
+ | kubernetes\_ namespace | Namespace to operate in \( service accounts and pods must be in the same namespace\) | string | ` "kube-system " ` | no |
26
+ | service\_ account | Name of service account to create | string | ` "" ` | no |
27
27
28
28
## Outputs
29
29
30
30
| Name | Description |
31
31
| ------| -------------|
32
- | aws\_ account\_ id | |
32
+ | iam\_ role\_ cluster\_ autoscaler\_ arn | |
33
+ | iam\_ role\_ cluster\_ autoscaler\_ name | |
33
34
34
- <!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
35
+ <!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
Original file line number Diff line number Diff line change 1
- output "aws_account_id" {
2
- value = data. aws_caller_identity . current . account_id
3
- }
1
+ output "iam_role_cluster_autoscaler_arn" {
2
+ value = aws_iam_role. cluster_autoscaler . arn
3
+ }
4
+
5
+ output "iam_role_cluster_autoscaler_name" {
6
+ value = aws_iam_role. cluster_autoscaler . name
7
+ }
You can’t perform that action at this time.
0 commit comments