Commit Graph
43 Commits
Author SHA1 Message Date
Jeff Malnick 97f24b8bcd fix: use hard coded "global" scope for organization creation 2020-09-04 08:09:32 -07:00
Jeff Malnick 8a8f806357 docs: add target resource docs 2020-09-03 14:36:29 -07:00
Jeff Malnick 73a0d2981a docs: update detailed example with target usage 2020-09-03 14:36:29 -07:00
Jeff Malnick e7b7a2705c feat: add targets resource 2020-09-03 14:36:29 -07:00
Jeff Malnick 48c7f0282f build: add dockerfile 2020-09-02 15:18:17 -07:00
Jeff Malnick cb8b3ccc97 docs: add host set documentation 2020-09-02 15:18:17 -07:00
Jeff Malnick 69fc17094c build: update deps 2020-09-02 15:18:17 -07:00
Jeff Malnick d18a0b2bec feat: add host set resource 2020-09-02 15:18:17 -07:00
Jeff Malnick 5d604f03f4 feat: update auth method prefix to ampw_ 2020-08-29 12:02:52 -07:00
Jeff Malnick 251665f1d1 feat: use NewClient() pattern and refactor hostCatalog usage 2020-08-29 12:02:52 -07:00
Jeff Malnick 1d1a92019a build: update to latest SDK changes 2020-08-29 12:02:52 -07:00
Jeff Malnick 78e169066a docs: update complex example with host resource usage 2020-08-28 07:03:11 -07:00
Jeff Malnick 254d463f79 docs: add docs for host resource 2020-08-28 07:03:11 -07:00
Jeff Malnick 0a9615c27c build: update deps 2020-08-28 07:03:11 -07:00
Jeff Malnick 95954562be docs: update docs with latest usage for organization resource 2020-08-28 07:03:11 -07:00
Jeff Malnick bf21e83341 feat: update user, group, and role resources with organization resource usage 2020-08-28 07:03:11 -07:00
Jeff Malnick 039ce8281b feat: update project resource with organization scope 2020-08-28 07:03:11 -07:00
Jeff Malnick 5b045bb4a9 feat: add host & organization resource to provider 2020-08-28 07:03:11 -07:00
Jeff Malnick dfec34e669 feat: add organization resource 2020-08-28 07:03:11 -07:00
Jeff Malnick cace004114 feat: add host resource 2020-08-28 07:03:11 -07:00
Jeff Malnick fc89b9f214 docs: add project resource documentation (#22) 2020-08-17 18:35:53 -07:00
Jeff Malnick 64604ddff7 docs: add complex example to docs landing page (#20)
* feat: add members to groups

* docs: update boundary_group docs with member_ids

* docs: add complex example to docs landing page
2020-08-17 11:50:36 -07:00
Jeff Malnick 564378a84e Add member_ids to boundary_group resource (#21)
* feat: add members to groups

* docs: update boundary_group docs with member_ids
2020-08-17 11:50:18 -07:00
Jeff Malnick c1069f7303 feat: use scope_id instead of project_id (#19) 2020-08-15 14:49:09 -07:00
Jeff Malnick 0bcb0ed506 Update to use latest SDK (#18)
* chore: update provider.go to latest SDK

* chore: update resource_group.go to latest SDK

* chore: update resource_host_catalog.go to latest SDK

* chore: update resource_project.go to latest SDK

* chore: update resource_role.go to latest SDK

* chore: fix group resource to use project client

* chore: update resource_users.go to latest SDK

* chore: update resource_group_test.go to latest SDK

* chore: refactor resource_host_catalog_test.go to latest sdk

* chore: refactor resource_project_test.go to latest sdk

* chore: refactor resource_user_test.go to latest sdk

* chore: update to latest SDK usage

* update to use latest test controller

* feat: make project_id optional and override scope if set

* test: test org and project level group creation

* chore: pass around authToken info for using principal ID in setting grant scope

* build: update deps
2020-08-13 11:18:36 -07:00
Jeff Mitchell c89a39c067 Bump boundary dep 2020-08-12 21:58:16 -04:00
Jeff Mitchell 800d47ec18 Update boundary dep 2020-08-12 17:35:10 -04:00
Jeff Mitchell 1ddeb7a075 Fix up some boundary naming 2020-08-12 09:35:02 -04:00
Jeff Malnick f6573a6277 chore: update to name boundary (#17) 2020-08-11 16:12:26 -07:00
Jeff Malnick 46c5491a54 fix: private module loading and ability to run acceptance tests in ci (#16)
* fix: private module loading and ability to run accptance tests in ci

* build: update deps
2020-07-24 20:29:19 -07:00
Jeff Mitchell 43d23f179e Update provider and tests for combined user/groups into principals in role (#15) 2020-07-12 23:28:07 -04:00
Jeff Malnick 33675ab5c7 feat: add provider authentication (#11)
* feat: add authentication to provider

* docs: add provider documentation
2020-07-12 15:09:40 -07:00
Jeff Malnick a6b4fa8ebe feat: add grants to roles (#14)
* feat: add grants to roles

* docs: add grants example
2020-07-12 15:00:16 -07:00
Jeff Malnick 13e3638dd6 Add principles to roles (#12)
* feat: add principle to role resource

* docs: add principle usage to role resource
2020-07-10 15:32:44 -07:00
Todd Knight d6c7675950 chore: Rename from GNUmakefile to Makefile. (#10) 2020-07-07 16:39:09 -07:00
Jeff Malnick d9c9988d15 feat: add role resource (#7)
* feat: add role resource

* docs: add role resource docs
2020-07-02 14:23:56 -07:00
Jeff Malnick 2f71ef6f63 feat: add group resource (#6)
* feat: add group resource

* docs: add docs for group resource
2020-07-02 14:22:08 -07:00
Jeff Malnick 7b947a8721 feat: add user resource (#5)
* feat: add user resource

* docs: add docs for user resource
2020-07-02 14:19:05 -07:00
Jeff Malnick a9594eb15f test: fix circleci directory name 2020-06-11 13:41:41 -07:00
Jeff Malnick 953522760e test: add circlci integration test for github checks (#3) 2020-06-11 13:35:36 -07:00
Jeff Malnick de4d32466e feat: add host catalog resource (#2)
* feat: add dev and update-deps Makefile targets

* feat: add host catalog resource

* docs: add host catalog resource docs
2020-06-09 18:24:17 -07:00
Todd Knight 5bb8c82819 Create Watchtower Project Resources (#1)
* Add watchtower provider using the auto generated go sdk.

* Add read and create for project resources.

* Add provider internal validate test.

* Update the project module to be terraform-provider-watchtower

* Organize the ResourceData to Project and vis versa logic into their own helper methods.

* Adding tests for going ResourceData to Project and vis versa.

* provider_update

* Single acceptance test written and correctly failing.

* Implement update and delete. Always run Acceptance Testing

* Move project field names into constants.

* Allow tests to use the apiError response for checking error code.

* Correcting the naming of key value consts.

* Rely on "make testacc" for acceptance testing instead of always running it.

* Updating dependencies to use the new TestController creation.
2020-05-29 09:13:31 -07:00
Todd Knight a9af48caee Initial commit 2020-05-14 17:06:23 -07:00