Sign out and log in again with an IAM user with admin rights.
Go to IAM service administration interface

{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "ec2:*",
"Resource": "*",
"Condition": {
"ForAllValues:StringLike": {
"ec2:InstanceType": [
"t3.*"
]
}
}
}
]
}
+ Click **Next: Tags**.


In the next step, we will assign the policy to the CostTest group and then test the effectiveness of this policy.