azure_ad_login/create_azure_client_secret.py
def force_ecs_task_redeployment(*, cluster_name, service_name):
    """
    Force an ECS task to restart, so it picks up a fresh copy of secrets in
    Secrets Manager.
    """
    ecs_client = get_aws_client("ecs", role_arn=WORKFLOW_DEV_ROLE_ARN)

    resp = ecs_client.update_service(
        cluster=cluster_name, service=service_name, forceNewDeployment=True
    )

    Force an ECS task to restart, so it picks up a fresh copy of secrets in
    Secrets Manager.
    
Force an ECS task to restart, so it picks up a fresh copy of secrets in
Secrets Manager.
Force an ECS task to restart so it picks up a fresh copy of secrets in Secrets Manager .
def force_ecs_task_redeployment(*, cluster_name, service_name):
    ecs_client = get_aws_client("ecs", role_arn=WORKFLOW_DEV_ROLE_ARN)
    resp = ecs_client.update_service(
        cluster=cluster_name, service=service_name, forceNewDeployment=True
    )
def force_ecs_task_redeployment ( * , cluster_name , service_name ) : ecs_client = get_aws_client ( "ecs" , role_arn = WORKFLOW_DEV_ROLE_ARN ) resp = ecs_client . update_service ( cluster = cluster_name , service = service_name , forceNewDeployment = True )
Force an ECS task to restart, so it picks up a fresh copy of secrets in
Secrets Manager.
Force an ECS task to restart so it picks up a fresh copy of secrets in Secrets Manager .
"""
    Force an ECS task to restart, so it picks up a fresh copy of secrets in
    Secrets Manager.
    """
cluster_name
service_name