Add bitbucketserver_plugin_config resource to allow managing plugins configuration.

Plugin configuration documentation.
This commit is contained in:
Henrique Gontijo
2019-11-18 09:38:32 -08:00
parent 70bba6e511
commit 8c79150355
8 changed files with 276 additions and 1 deletions

View 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
```