This is an AWS Fargate connector for netunicorn.
This connector is supposed to be installed as a part of netunicorn-director-infrastructure package or container.
Install the package:
pip install netunicorn-connector-aws
Then, add the connector to the netunicorn-director-infrastructure configuration:
aws-fargate: # unique name
enabled: true
module: "netunicorn.director.infrastructure.connectors.aws" # where to import from
class: "AWSFargate" # class name
config: "configuration-example.yaml" # path to configuration file
Modify the configuration file to provide needed parameters (see example), such as AWS credentials, region, etc.
You need to create an ECS cluster with Fargate as a provider type, e.g., according to this guide: https://docs.aws.amazon.com/AmazonECS/latest/userguide/create-cluster-console-v2.html
In the configuration file, please provide valid credentials, the correct region, and the cluster name.