Hi, I see that you are asking if it is possible to change the assignPublicIp setting of running ecs fargate to disable.
As at present, you cannot update a running task. You can stop it and start another one with the correct network changes.
Refer to all the AWS CLI ECS commands
API Gateway entpoint to private AppRunner instead of ECS Fargateasked 5 days ago
EventBus Rule Target ECS Fargate Task - Unable to invoke set versionasked a year ago
How to set the Load balancer service to route a certain host to a fargate task?Accepted Answerasked 5 months ago
Overriding Hostname on ECS FargateAccepted Answerasked 10 months ago
How to set the subnet priority of ecs Fargate taskAccepted Answerasked 5 months ago
Is it possible to connect aws fargate with task ip instead of load balancer DNS?Accepted Answerasked 4 months ago
ECS Fargate Log Configuration - How to set the retention policy?Accepted Answerasked 10 months ago
ECS Fargate Task Losing Internet Connectivityasked 3 months ago
Is it possible to change the assignPublicIp setting of running ecs fargate to disable?asked 3 months ago
Running NextJS on ECS + Fargateasked 4 months ago