Commit Graph
52 Commits
Author SHA1 Message Date
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
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