terraform-provider-azuredevops
terraform-provider-azuredevops copied to clipboard
Azure DevOps Wiki Page
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.
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
- Add and edit wiki pages
- Is page comment, page attachment
- should I design wiki page git version control 1, 2 for this first feature request? Go SDK Wiki, Go SDK Wiki Page Go SDK git, or I could simply implement page without version control at this moment as HCL described above and az cli? Thanks.
- Related to Azure DevOps Wiki resource #702, #1032