diff --git a/src/ops/cli/helmfile.py b/src/ops/cli/helmfile.py index 3f69cd4a..bc882a2f 100644 --- a/src/ops/cli/helmfile.py +++ b/src/ops/cli/helmfile.py @@ -76,7 +76,7 @@ def run(self, args, extra_args): def setup_kube_config(self, data): if data['helm']['global']['clusterType'] == 'eks': cluster_name = data['helm']['global']['fqdn'] - aws_profile = data['helm']['global']['aws']['name'] + aws_profile = data['helm']['global']['aws']['profile'] region = data['helm']['global']['region']['location'] file_location = self.generate_eks_kube_config( cluster_name, aws_profile, region)