Project Wiki Page
The gitlab.ProjectWikiPage
resource allows managing the lifecycle of a project wiki page. Upstream API: GitLab REST API docs
Example Usage
resources:
example:
type: gitlab:ProjectWikiPage
properties:
project: ${projectID}
slug: test-wiki-page
title: Test Wiki Page
content: |
This is a test content for the wiki page.
And this is a second line of content.
Content copied to clipboard
Import
Starting in Terraform v1.5.0 you can use an import block to import gitlab_project_wiki_page
. For example: terraform import { to = gitlab_project_wiki_page.example id = "see CLI command below for ID" } Import using the CLI is supported using the following syntax: You can import gitlab_project_wiki_page state using the project ID, e.g.
$ pulumi import gitlab:index/projectWikiPage:ProjectWikiPage test 12345:my-wiki-page
Content copied to clipboard