Commit Graph
69 Commits
Author SHA1 Message Date
Todd Knight f4331d8481 Update SDK usage to use the merged error response approach recently merged into boundary. 2020-09-24 15:58:54 -07:00
Jeff Malnick f8ecfa4b3d clean up 2020-09-22 09:13:01 -07:00
Jeff Mitchell b578fdcf98 With r_default now unable to delete, return nil instead of error if it's attempted 2020-09-21 21:54:00 -04:00
Jeff Mitchell 4cc5785dc8 Bump SDK 2020-09-21 15:16:30 -04:00
Jeff Mitchell ecbb054595 Update boundary SDK to fix recovery KMS retry behavior 2020-09-21 11:06:12 -04:00
Jeff Mitchell 86d7fde1eb Update to session connection limit being int32 with unlimited being -1 2020-09-20 15:54:50 -04:00
Jeff Mitchell 2fbad77da5 Add some extra params to target test 2020-09-20 12:58:37 -04:00
Jeff Mitchell ef804f1ba0 Fix tests that broke due to SDK update 2020-09-20 12:13:08 -04:00
Jeff Mitchell e006bd2fd1 Add session max seconds and connection limit to target resource (#44) 2020-09-20 12:03:28 -04:00
Jeff Malnick 6f5444c0c8 docs: add logo to readme 2020-09-18 14:05:07 -07:00
Jeff Malnick fd5cc38309 docs: fix scope usage (#43) 2020-09-17 15:34:00 -07:00
Jeff MitchellandJeff Malnick 8260fd2beb Update readme and Makefile (#42)
* Update readme and Makefile

* Fix missed shell command

* fix: makefile nuances for darwin system

Co-authored-by: Jeff Malnick <malnick@gmail.com>
2020-09-17 13:27:48 -07:00
Jeff Malnick af43c1d29c docs: fix target docs (#40) 2020-09-17 12:52:53 -07:00
Jeff Mitchell defeb32cd6 When reading a resource, on 404 destroy the resource (#41)
This allows configuration to continue after a resource has been
destroyed outside of TF by deleting the resource from state instead of
erroring.
2020-09-17 00:29:37 -04:00
Randall Morey 0ccd13e585 Docs fix example (#38)
* docs: fix complex example syntax and login_name argument

* docs: fix missing arguments and argument names

* docs: fix type capitalization
2020-09-16 13:34:26 -07:00
Jeff Malnick d19dd70b06 fix: check default port in map is not nil 2020-09-16 13:27:44 -07:00
Jeff Malnick 292a5100bf docs: add scope resource 2020-09-16 12:34:37 -07:00
Jeff Mitchell 94b1bdbedc Don't allow role creation in new scopes by default
And, fix all the breakage that caused.
2020-09-16 12:34:37 -07:00
Jeff Malnick 3e43f1bb8c docs: add docs for account & auth method resources (#34) 2020-09-15 20:43:27 -07:00
Jeff Malnick 975fd2e2d4 test: add test for auth method resource (#36) 2020-09-15 20:43:14 -07:00
Jeff Mitchell 7ce50c41fd Update target to address default_port -> attributes (#35) 2020-09-15 21:05:45 -04:00
Jeff Mitchell 88946e1088 Update to the new SDK/API (#32)
* Begin API updating

* Update scope and user providers

* Update group resource

* Update to TF plugin SDK v2

* Finish recovery KMS workflow

This also modifies groups tests to use it. It's easy to verify from the
controller output that it's being used since it causes warnings to be
printed.

* Finish porting group resource to proposed new paradigm

* Minor cleanup

* Allow specifying a particular token for auth

* base_url -> addr

* Add test using token

* Add set calls to Update

* Update SDK

* Update SDK

* Update user and scope

* Half of host catalog and some consolidation

* Finish host catalog

* Add host resource

* Add host set resource

* Update targets

* Some updates to newer API

* Start updating to response map standards

* Finish updating already ported resources to new paradigm

* Finish existing resource porting

* Update target to exercise default port

* Adapt target to using json.Number

* Add auth method and account resources
2020-09-15 16:56:43 -07:00
Patrick Bernal 84eabe083f Jira GH Action Sync (#33)
* jira gh action sync

* get rid of project check
2020-09-14 18:43:59 -04:00
Randall Morey e0a98f6aa2 Docs syntax fix (#31)
* docs:  fix complex example syntax

* docs: fix broken resource and variable refs in example

* fix duplicate resource name
2020-09-08 11:05:35 -07:00
Randall Morey 005902e231 docs: fix complex example syntax 2020-09-04 08:10:13 -07:00
Jeff Malnick 7e523d3dc8 docs: update readme 2020-09-04 08:09:46 -07:00
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