ProjectWikiPage

class ProjectWikiPage : KotlinCustomResource

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.

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

Properties

Link copied to clipboard
val content: Output<String>

Content of the wiki page. Must be at least 1 character long.

Link copied to clipboard
val encoding: Output<String>

The encoding used for the wiki page content.

Link copied to clipboard
val format: Output<String>

Format of the wiki page (auto-generated if not provided). Valid values are: markdown, rdoc, asciidoc, org.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val project: Output<String>

The ID or URL-encoded path of the project.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val slug: Output<String>

Slug of the wiki page.

Link copied to clipboard
val title: Output<String>

Title of the wiki page.

Link copied to clipboard
val urn: Output<String>