diff --git a/metaflow/cli.py b/metaflow/cli.py index 8f9d66856ac..2ca9e525ce5 100644 --- a/metaflow/cli.py +++ b/metaflow/cli.py @@ -504,13 +504,14 @@ def step( default=None, help="Tags for this instance of the step.", ) -@click.option( - "--aws-tags", - multiple=True, - default=None, - help="AWS tags.") +# @click.option( +# "--aws-tags", +# multiple=True, +# default=None, +# help="AWS tags.") @click.pass_obj -def init(obj, run_id=None, task_id=None, tags=None, aws_tags=None, **kwargs): +# def init(obj, run_id=None, task_id=None, tags=None, aws_tags=None, **kwargs): +def init(obj, run_id=None, task_id=None, tags=None, **kwargs): # init is a separate command instead of an option in 'step' # since we need to capture user-specified parameters with # @add_custom_parameters. Adding custom parameters to 'step' @@ -520,7 +521,7 @@ def init(obj, run_id=None, task_id=None, tags=None, aws_tags=None, **kwargs): # variables. obj.metadata.add_sticky_tags(tags=tags) - obj.metadata.add_sticky_tags(tags=aws_tags) + # obj.metadata.add_sticky_tags(tags=aws_tags) runtime = NativeRuntime( obj.flow, diff --git a/metaflow/plugins/aws/step_functions/step_functions.py b/metaflow/plugins/aws/step_functions/step_functions.py index 966d3c393a7..28bc3c2b415 100644 --- a/metaflow/plugins/aws/step_functions/step_functions.py +++ b/metaflow/plugins/aws/step_functions/step_functions.py @@ -936,8 +936,8 @@ def _step_cli(self, node, paths, code_package_url, user_code_retries): # Assign tags to run objects. if self.tags: params.extend("--tag %s" % tag for tag in self.tags) - if self.aws_tags: - params.extend("--aws-tags %s" % aws_tag for aws_tag in self.aws_tags) + # if self.aws_tags: + # params.extend("--aws-tags %s" % aws_tag for aws_tag in self.aws_tags) # If the start step gets retried, we must be careful not to # regenerate multiple parameters tasks. Hence, we check first if