mirror of
https://github.com/ysoftdevs/terraform-provider-bitbucketserver.git
synced 2026-03-23 09:51:06 +01:00
Add bitbucketserver_plugin_config resource to allow managing plugins configuration.
Plugin configuration documentation.
This commit is contained in:
34
docusaurus/docs/resource_plugin_config.md
Normal file
34
docusaurus/docs/resource_plugin_config.md
Normal file
@@ -0,0 +1,34 @@
|
||||
---
|
||||
id: bitbucketserver_plugin_config
|
||||
title: bitbucketserver_plugin_config
|
||||
---
|
||||
|
||||
Configure plugins.
|
||||
|
||||
## Example Usage
|
||||
|
||||
```hcl
|
||||
resource "bitbucketserver_plugin_config" "mypluginconfig" {
|
||||
key = "my-plugin-key"
|
||||
values = "{"\key\": \"value\"}"
|
||||
}
|
||||
```
|
||||
|
||||
## Argument Reference
|
||||
|
||||
* `key` - Required. Unique key of the plugin. This is not the same used by plugin install.
|
||||
* `values` - Required. Plugin configuration in JSON format.
|
||||
|
||||
## Attribute Reference
|
||||
|
||||
* `key` - Unique key of the plugin. This is not the same used by plugin install.
|
||||
* `validlicense` - Indicates if the plugins has a valid license.
|
||||
* `values` - Plugin configuration in JSON format.
|
||||
|
||||
## Import
|
||||
|
||||
Import a plugin config reference via the key:
|
||||
|
||||
```
|
||||
terraform import bitbucketserver_plugin_config.mypluginkey my-plugin-key
|
||||
```
|
||||
@@ -64,6 +64,9 @@
|
||||
"bitbucketserver_mail_server": {
|
||||
"title": "bitbucketserver_mail_server"
|
||||
},
|
||||
"bitbucketserver_plugin_config": {
|
||||
"title": "bitbucketserver_plugin_config"
|
||||
},
|
||||
"bitbucketserver_plugin": {
|
||||
"title": "bitbucketserver_plugin"
|
||||
},
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
"bitbucketserver_license",
|
||||
"bitbucketserver_mail_server",
|
||||
"bitbucketserver_plugin",
|
||||
"bitbucketserver_plugin_config",
|
||||
"bitbucketserver_project",
|
||||
"bitbucketserver_project_hook",
|
||||
"bitbucketserver_project_permissions_group",
|
||||
|
||||
Reference in New Issue
Block a user