terraform-provider-azuredevops icon indicating copy to clipboard operation
terraform-provider-azuredevops copied to clipboard

Azure DevOps Wiki Page

Open chienfuchen32 opened this issue 9 months ago • 1 comments

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

I'd like to design a terraform resource / data for azure DevOps wiki page like. image

New or Affected Resource(s)

  • azuredevops_wiki_page

Potential Terraform Configuration

resource "azuredevops_project" "project" {
  name        = "project"
  description = "Project Description"
}

resource "azuredevops_wiki" "project_wiki" {
  name = "project.wiki"
  project_id = azuredevops_project.project.id
  type = "projectWiki"
}

resource "azuredevops_wiki_page" "page" {
  project_id = azuredevops_project.project.id
  wiki_id = azuredevops_wiki.project_wiki.id
  path = "/page"
  content = "test content"
}

References

Azure DevOps Wiki page documentation
  • Related to Azure DevOps Wiki resource #702, #1032

chienfuchen32 avatar May 27 '24 14:05 chienfuchen32