Resolve warning on service-roles.module.ecs_instance_profile_service_role by moving from 'roles' to 'role'
There are warnings related to your configuration. If no errors occurred, Terraform will continue despite these warnings. It is a good idea to resolve these warnings in the near future.
Warnings:
- module.aws_account.module.service-roles.module.ecs_instance_profile_service_role.aws_iam_instance_profile.default: "roles": [DEPRECATED] Use
role
instead. Only a single role can be passed to an IAM Instance Profile