github_repository_milestone

Provides a GitHub repository milestone resource.

This resource allows you to create and manage milestones for a GitHub Repository within an organization or user account.

Example Usage

# Create a milestone for a repository
resource "github_repository_milestone" "example" {
  owner      = "example-owner"
  repository = "example-repository"
  title      = "v1.1.0"
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following additional attributes are exported:

Import

A GitHub Repository Milestone can be imported using an ID made up of owner/repository/number, e.g.

$ terraform import github_repository_milestone.example example-owner/example-repository/1