Hello all,
I’m getting the following error attempting to deploy CrewAI to the cloud via their platform
Error:
Ansible playbook failed: PLAY [Deploy ECS Cluster and Service] ****************************************** TASK [Debug variables] ********************************************************* ok: [localhost] => { “msg”: [ “vpc_id: vpc-0a9bef58bf9de5cf3” ] } TASK [Ensure VPC Exists] ******************************************************* skipping: [localhost] TASK [Get available subnets] *************************************************** ok: [localhost] TASK [Select a subnet if available] ******************************************** ok: [localhost] TASK [Get VPC CIDR] ************************************************************ skipping: [localhost] TASK [Calculate new subnet CIDR] *********************************************** skipping: [localhost] TASK [Create new subnet] ******************************************************* skipping: [localhost] TASK [Set selected subnet to new subnet] *************************************** skipping: [localhost] TASK [Ensure Security Group Exists for ALB] ************************************ An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ansible_collections.amazon.aws.plugins.module_utils.ec2.AnsibleEC2Error: Failed to create security group: An error occurred (SecurityGroupLimitExceeded) when calling the CreateSecurityGroup operation: The maximum number of security groups has been reached. fatal: [localhost]: FAILED! => {“boto3_version”: “1.35.66”, “botocore_version”: “1.35.66”, “changed”: false, “msg”: “Unable to create security group: Failed to create security group”} PLAY RECAP ********************************************************************* localhost : ok=3 changed=0 unreachable=0 failed=1 skipped=5 rescued=0 ignored=0 [WARNING]: Unable to parse /app/localhost as an inventory source [WARNING]: No inventory was parsed, only implicit localhost is available [WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match ‘all’ (Exit code: 2)