############################# # GitHub Enterprise instance profile # # Includes policies for GitHub Enterprise: # * Same policies as the default instance profile resource "aws_iam_instance_profile" "github_instance_profile" { name = "xdr-github-instance-profile" path = "/instance/" role = aws_iam_role.github_instance_role.name } resource "aws_iam_role" "github_instance_role" { name = "xdr-github-instance-role" path = "/instance/" assume_role_policy = <