File tree Expand file tree Collapse file tree
playbooks/robusta_playbooks
src/robusta/integrations/prometheus Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -239,9 +239,9 @@ def _generate_cmd_line_args(prom_config: PrometheusConfig) -> str:
239239 + f" --eks-managed-prom-region { prom_config .aws_region } "
240240 + f" --eks-service-name { prom_config .service_name } "
241241 )
242- if prom_config .aws_assume_role :
243- additional_cmd_line_args += f" --eks-assume-role { prom_config .aws_assume_role } "
244-
242+ if prom_config .assume_role_arn :
243+ additional_cmd_line_args += f" --eks-assume-role { prom_config .assume_role_arn } "
244+
245245 return additional_cmd_line_args
246246
247247
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ def generate_prometheus_config(prometheus_params: PrometheusParams) -> Prometheu
6464 secret_access_key = AWS_SECRET_ACCESS_KEY ,
6565 service_name = AWS_SERVICE_NAME ,
6666 aws_region = AWS_REGION ,
67- aws_assume_role = AWS_ASSUME_ROLE ,
67+ assume_role_arn = AWS_ASSUME_ROLE ,
6868 ** baseconfig ,
6969 )
7070 # coralogix config
You can’t perform that action at this time.
0 commit comments