Skip to content

Commit

Permalink
Merge branch 'fix_ca_region' into 'master'
Browse files Browse the repository at this point in the history
fix ca region and docs

See merge request nimbux/terraform-aws-eks!3
  • Loading branch information
qemanuel committed Aug 17, 2021
2 parents 3a52378 + e7be3bc commit 6212c4e
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [2.0.5] - 2021-08-17

### Fixed

- Add current aws region to cluster-autoscaler helm chart.
- CHANGELOG and README outputs.

## [2.0.4] - 2021-08-09

### Added

- Eks endpoint and CA to outputs to be used for external helm release provider.
- Updating provider to allow EKS cluster create by Terragrunt role.

## [2.0.3] - 2021-07-05

### Added
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,3 +168,6 @@ module "eks_main" {
| security\_group\_worker\_arn | The ARN of the workers security group. |
| worker\_role\_arn | The ARN of the workers IAM Role. |
| worker\_role\_id | The ID of the workers IAM Role. |
| asg\_name | Name of the of the workers Autoscaling Group. |
| eks\_certificate\_authority | Cluster's certificate authority. |
| eks\_endpoint | Cluster's endpoint. |
2 changes: 2 additions & 0 deletions data.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
data "aws_vpc" "main" {
id = var.vpc_id
}

data "aws_region" "current" {}
5 changes: 5 additions & 0 deletions helm.tf
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ resource "helm_release" "cluster_autoscaler" {
value = var.cluster_name
}

set {
name = "awsRegion"
value = data.aws_region.current.name
}

depends_on = [time_sleep.wait_20_seconds]

}
Expand Down

0 comments on commit 6212c4e

Please sign in to comment.