Update docs based on changes to plugin_config

This commit is contained in:
Gavin Bunney
2019-11-21 10:14:33 -08:00
parent 19a74f0b1a
commit 2c90cbdb81

View File

@@ -9,22 +9,16 @@ Configure plugins.
```hcl
resource "bitbucketserver_plugin_config" "mypluginconfig" {
key = "my-plugin-key"
values = "{"\key\": \"value\"}"
config_endpoint = "/rest/1.0/myplugin/config"
values = "{"\key\": \"value\"}"
}
```
## Argument Reference
* `key` - Required. Unique key of the plugin. This is not the same used by plugin install.
* `config_endpoint` - Required. Path to the configuration endpoint. Relative to the bitbucket server url configured in the provider.
* `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: