feat: add host & organization resource to provider

This commit is contained in:
Jeff Malnick committed 2020-08-28 07:03:11 -07:00
1 parent dfec34e669
commit 5b045bb4a9
2 files changed
+3 -7

No files matched your search

+2
View File
@@ -42,7 +42,9 @@ func New() terraform.ResourceProvider {
},
ResourcesMap: map[string]*schema.Resource{
"boundary_group": resourceGroup(),
"boundary_host": resourceHost(),
"boundary_host_catalog": resourceHostCatalog(),
"boundary_organization": resourceOrganization(),
"boundary_project": resourceProject(),
"boundary_role": resourceRole(),
"boundary_user": resourceUser(),
+1 -7
View File
@@ -16,18 +16,12 @@ import (
var testProvider *schema.Provider
var testProviders map[string]terraform.ResourceProvider
var fooProject = `
resource "boundary_project" "foo" {
name = "test"
}`
var (
tcUsername = "user"
tcPassword = "passpass"
tcPAUM = "paum_0000000000"
tcOrg = "o_0000000000"
tcOrg = "global"
tcConfig = []controller.Option{
controller.WithDefaultOrgId(tcOrg),
controller.WithDefaultAuthMethodId(tcPAUM),
controller.WithDefaultLoginName(tcUsername),
controller.WithDefaultPassword(tcPassword),