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

@@ -1,10 +1,11 @@
package bitbucket
import (
"github.com/gavinbunney/terraform-provider-bitbucketserver/bitbucket/marketplace"
"net/http"
"strings"
"github.com/gavinbunney/terraform-provider-bitbucketserver/bitbucket/marketplace"
"github.com/hashicorp/terraform/helper/schema"
"github.com/hashicorp/terraform/terraform"
)
@@ -37,6 +38,7 @@ func Provider() terraform.ResourceProvider {
"bitbucketserver_groups": dataSourceGroups(),
"bitbucketserver_group_users": dataSourceGroupUsers(),
"bitbucketserver_plugin": dataSourcePlugin(),
"bitbucketserver_plugin_config": dataSourcePluginConfig(),
"bitbucketserver_project_hooks": dataSourceProjectHooks(),
"bitbucketserver_project_permissions_groups": dataSourceProjectPermissionsGroups(),
"bitbucketserver_project_permissions_users": dataSourceProjectPermissionsUsers(),
@@ -52,6 +54,7 @@ func Provider() terraform.ResourceProvider {
"bitbucketserver_license": resourceLicense(),
"bitbucketserver_mail_server": resourceMailServer(),
"bitbucketserver_plugin": resourcePlugin(),
"bitbucketserver_plugin_config": resourcePluginConfig(),
"bitbucketserver_project": resourceProject(),
"bitbucketserver_project_hook": resourceProjectHook(),
"bitbucketserver_project_permissions_group": resourceProjectPermissionsGroup(),