ProjectWikiPageArgs

data class ProjectWikiPageArgs(val content: Output<String>? = null, val format: Output<String>? = null, val project: Output<String>? = null, val title: Output<String>? = null) : ConvertibleToJava<ProjectWikiPageArgs>

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

Constructors

Link copied to clipboard
constructor(content: Output<String>? = null, format: Output<String>? = null, project: Output<String>? = null, title: Output<String>? = null)

Properties

Link copied to clipboard
val content: Output<String>? = null

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

Link copied to clipboard
val format: Output<String>? = null

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

Link copied to clipboard
val project: Output<String>? = null

The ID or URL-encoded path of the project.

Link copied to clipboard
val title: Output<String>? = null

Title of the wiki page.

Functions

Link copied to clipboard
open override fun toJava(): ProjectWikiPageArgs