Data Source: aws_iam_instance_profile

This data source can be used to fetch information about a specific IAM instance profile. By using this data source, you can reference IAM instance profile properties without having to hard code ARNs as input.

Example Usage

data "aws_iam_instance_profile" "example" {
  name = "an_example_instance_profile_name"
}

Argument Reference

Attribute Reference

This data source exports the following attributes in addition to the arguments above: