output "profile-name" { description = "Name of IAM instance profile" value = aws_iam_instance_profile.ip[*].name } output "role-arn" { description = "IAM role ARN" value = aws_iam_role.r.arn } output "name" { description = "Name of IAM role" value = aws_iam_role.r.name } output "instance-profile-arn" { description = "ARN of IAM instance profile" value = aws_iam_instance_profile.ip.*.arn }