mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-04-01 23:13:07 +02:00
Fix deprecated interpolation-only expression (#594)
This commit is contained in:
@@ -16,6 +16,7 @@ project adheres to [Semantic Versioning](http://semver.org/).
|
|||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- Updated instance_profile_names and instance_profile_arns outputs to also consider launch template as well as asg (by @ankitwal)
|
- Updated instance_profile_names and instance_profile_arns outputs to also consider launch template as well as asg (by @ankitwal)
|
||||||
|
- Fix deprecated interpolation-only expression (by @angelabad)
|
||||||
|
|
||||||
# History
|
# History
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
resource "local_file" "kubeconfig" {
|
resource "local_file" "kubeconfig" {
|
||||||
count = var.write_kubeconfig ? 1 : 0
|
count = var.write_kubeconfig ? 1 : 0
|
||||||
content = data.template_file.kubeconfig.rendered
|
content = data.template_file.kubeconfig.rendered
|
||||||
filename = "${substr(var.config_output_path, -1, 1) == "/" ? "${var.config_output_path}kubeconfig_${var.cluster_name}" : var.config_output_path}"
|
filename = substr(var.config_output_path, -1, 1) == "/" ? "${var.config_output_path}kubeconfig_${var.cluster_name}" : var.config_output_path
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user