Hi everyone, I have a job defined like below, and ...
# ask-community
a
Hi everyone, I have a job defined like below, and I expected the ECS task to be created with the specified amount of RAM and CPU. However, when I triggered that job from launchpad, the default CPU/RAM is used (I guess it's copied from the daemon task definition. What's wrong with my config? Also, on Dagit GUI, can I change those tags for a scheduled job? Thanks!
Copy code
@repository
def my_repo():
    return [
        with_resources(
            load_assets_from_package_module(assets),
            resource_defs=get_env_resources(deployment_env),
        ),
        build_schedule_from_partitioned_job(
            hour_of_day=0,
            minute_of_hour=15,
            job=define_asset_job(
                name="my_job",
                partitions_def=daily_partitions,
                selection=["*my_asset"],
                tags={
                    "ecs/cpu": "2048",
                    "ecs/memory": "4096",
                },
            )),
    ]