• k

    Kyle Pierce

    4 months ago
    Hey I have a nested map (three) It is using the output of the last result, instead of using the list of outputs. Do i need to do something to make the output of the 1st map iterable?
    k
    Kevin Kho
    16 replies
    Copy to Clipboard
  • f

    Florian Kühnlenz

    4 months ago
    Are there problems with accessing prefect secrets right now?
    f
    Kevin Kho
    5 replies
    Copy to Clipboard
  • John O'Farrell

    John O'Farrell

    4 months ago
    Hello, I'm currently trying to register a flow to amazon ECR using the docker storage. I want to include an existing dockerfile to handle the different modules the flow needs, but when I add the dockerfile parameter when setting the flow's storage it causes the process to get stuck on
    prefect.Docker:Building the flow's Docker storage...
    after creating a new temp directory with the dockerfile and
    healthcheck.py
    John O'Farrell
    Kevin Kho
    41 replies
    Copy to Clipboard
  • j

    Jared Noynaert

    4 months ago
    @Kevin Kho, did you ever find out more about https://github.com/PrefectHQ/prefect/issues/5769? This is impacting us on AKS also edit: the reason I'm asking is that we are probably going to have to change our default executor for all flows, just to enable task observability....!
    j
    Kevin Kho
    +2
    23 replies
    Copy to Clipboard
  • Nikhil Jain

    Nikhil Jain

    4 months ago
    @Kevin Kho I am unable to access SSM parameters and ENV variables in my flow task. I am using
    ECSRun
    as follows:
    ecs_run = ECSRun(
        run_task_kwargs={'cluster': 'dev-prefect-cluster'},
        task_role_arn='arn:aws:iam::<>:role/dev-task-runner-ecs-task-role',
        execution_role_arn='arn:aws:iam::<>:role/dev-task-runner-ecs-task-execution-role',
        image='<>.<http://dkr.ecr.us-west-1.amazonaws.com/dev-automation-scripts-ecr:latest|dkr.ecr.us-west-1.amazonaws.com/dev-automation-scripts-ecr:latest>',
        labels=['ecs', 'dev']
    )
    flow.run_config = ecs_run
    ...
    And then in my terraform config for the
    prefect-agent
    , I am setting a
    task_definition
    . And this
    task_definition_file
    is stored in s3 and contains a list of
    env
    parameters and
    secrets
    that are pulled from SSM parameter store. What’s happening is that when the flow-task is created, it is not getting any of the
    env
    and
    secrets
    that I supply in the task_definition_file. I can kinda see why this is happening: I am not supplying any task_definition in the
    ECSRun
    config during flow registration. The reason is 2-fold: I don’t want to hard-code these env/SSM parameters in python code, they are supposed to live in terraform configs. And also, we want to share these env and ssm parameters across many tasks, so don’t want to have to define them everytime. Is there a way to accomplish this?
    Nikhil Jain
    Kevin Kho
    14 replies
    Copy to Clipboard
  • a

    Alex de Geofroy

    4 months ago
    Hey everyone. Not sure the right person to address this to, but I'm having issues with creating Prefect Agents in Azure. The error I'm receiving is "This offer is not available for subscriptions from Microsoft Azure Cloud Solution Providers." Is this something the Prefect team can enable, or is there other guidance on how to configure a subscription that will enable me to use the Agent? Here's an article I found describing the process for enabling the CSP program: https://docs.microsoft.com/en-us/azure/marketplace/cloud-solution-providers?WT.mc_id=AZ-MVP-5000120
    a
    Kevin Kho
    11 replies
    Copy to Clipboard
  • t

    Thomas Henn

    4 months ago
    Hi everyone ! What is the proper way to use a debugger with Prefect Orion? For example, is there any debug setting so that Prefect Orion doesn't capture the exceptions within tasks? I couldn't find anything about this in the documentation. Thanks in advance!
    t
    Kevin Kho
    +1
    6 replies
    Copy to Clipboard
  • Dharit Sura

    Dharit Sura

    4 months ago
    Hi everyone, I am having an issue in running Prefect 2.0 flows. Can anyone take a look at the error and help me understand what is the issue that is happening. I have tried to uninstall and reinstall prefect as well as python. But still the issue is continuing.
    Dharit Sura
    Kevin Kho
    8 replies
    Copy to Clipboard
  • Dharit Sura

    Dharit Sura

    4 months ago
  • s

    Sumant Agnihotri

    4 months ago
    Hi all, I have set up my Prefect Server, however, the
    API Tokens
    option is disabled. How do I connect to my server, to register Flows, etc?
    s
    1 replies
    Copy to Clipboard