If you happen to get the next error when attempting to run some Terraform:
error creating Appstream Fleet (): InvalidRoleException: AppStream 2.0 encountered an error as a result of your service function 'arn:aws:iam::<ACCOUNT_ID>:function/service-role/AmazonAppStreamServiceAccess' is invalid
..then you definately simply must run your IaC once more, because the roles are mechanically created while you first work together with the service.
Alternatively, go and take a look at what has already been created within the AWS Console.
What roles are required for AppStream?
Position required by AWS AppStream:
Be taught extra concerning the roles required right here:
Roles Required for AppStream 2.0 and Software Auto Scaling