Skip to content

Commit 4f3f5b6

Browse files
angelabadmax-rocket-internet
authored andcommitted
Fix deprecated interpolation-only expression (#594)
1 parent a411717 commit 4f3f5b6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ project adheres to [Semantic Versioning](http://semver.org/).
1616
### Changed
1717

1818
- Updated instance_profile_names and instance_profile_arns outputs to also consider launch template as well as asg (by @ankitwal)
19+
- Fix deprecated interpolation-only expression (by @angelabad)
1920

2021
# History
2122

kubectl.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
resource "local_file" "kubeconfig" {
22
count = var.write_kubeconfig ? 1 : 0
33
content = data.template_file.kubeconfig.rendered
4-
filename = "${substr(var.config_output_path, -1, 1) == "/" ? "${var.config_output_path}kubeconfig_${var.cluster_name}" : var.config_output_path}"
4+
filename = substr(var.config_output_path, -1, 1) == "/" ? "${var.config_output_path}kubeconfig_${var.cluster_name}" : var.config_output_path
55
}
66

0 commit comments

Comments
 (0)