Topic
The gitlab.Topic
resource allows to manage the lifecycle of topics that are then assignable to projects.
Topics are the successors for project tags. Aside from avoiding terminology collisions with Git tags, they are more descriptive and better searchable. Deleting a topic was implemented in GitLab 14.9. For older versions of GitLab set
soft_destroy = true
to empty out a topic instead of deleting it. Upstream API: GitLab REST API docs for topics
Import
$ pulumi import gitlab:index/topic:Topic You can import a topic to terraform state using `<resource> <id>`.
Content copied to clipboard
The id
must be an integer for the id of the topic you want to import, for example
$ pulumi import gitlab:index/topic:Topic functional_programming 1
Content copied to clipboard