Commit Graph
158 Commits
Author SHA1 Message Date
shadowdaoandClaude Sonnet 5.5 f763123afa Fork for Threshold: rename module, use Threshold api/sdk, rebrand docs, add CI
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-12 12:07:42 -07:00
Michael Li ccd0af3029 test: Move vault test code to repo (#851)
Lint GitHub Actions workflows / actionlint (push) Successful in 18s
build / Parse version file (push) Successful in 16s
build / Detect Go toolchain version (push) Successful in 34s
make-gen-delta / Check for uncommitted changes from make gen (push) Failing after 57s
test / test (push) Failing after 1m33s
build / upload-terraform-registry-manifest-artifact (push) Failing after 23s
build / generate-metadata-file (push) Failing after 55s
build / Go freebsd 386 build (push) Failing after 12m55s
build / Go windows 386 build (push) Canceled after 0s
build / Go darwin amd64 build (push) Canceled after 0s
build / Go freebsd amd64 build (push) Canceled after 0s
build / Go linux amd64 build (push) Canceled after 0s
build / Go windows amd64 build (push) Canceled after 0s
build / Go freebsd arm build (push) Canceled after 0s
build / Go linux arm build (push) Canceled after 0s
build / Go darwin arm64 build (push) Canceled after 0s
build / Go linux arm64 build (push) Canceled after 0s
build / Go linux 386 build (push) Canceled after 11m56s
build / Go darwin 386 build (push) Canceled after 14m9s
build / What's next? (push) Skipped
2026-10-09 12:53:11 -04:00
Louis Ruch 006ef27c8b fix(test): skip failing tests until we get new boundary release 2026-10-08 15:08:50 -07:00
Michael Li 5f0f43f9ec test: Remove imports from github.com/hashicorp/boundary/testing/controller (#850)
* test: Update TestAccTargetHostSource to use boundary-enterprise instance

* test: Remove unused code

* chore: go mod tidy
2026-10-08 14:39:12 -04:00
abhi99shek99andAbhishek Singh Tanwar f73f18118f Supress group name case sensitive matching (#838)
* Supress group name case sensitive matching

* Moved DiffSuppressFunc onto the string Elem schema so it's applied per-element instead of the list itself

* Updated the test as per the new recent changes made in the main branch

* review changes

---------

Co-authored-by: Abhishek Singh Tanwar <abhishek_ibm@dhcp-9-127-1-123.c4p-in.ibm.com>
2026-10-06 12:43:42 +05:30
Bharath Gajjala 1ca8587e98 feat(oidc): add provider_type support to boundary_auth_method_oidc re… (#845)
* chore(deps): bump Boundary, API, and SDK modules to latest main

* feat(oidc): add provider_type support to boundary_auth_method_oidc resource
2026-09-25 11:15:22 -05:00
46da2bece4 feat(provider): add boundary_target_host_source resource (#839)
* feat(provider): add boundary_target_host_source resource

---------

Co-authored-by: Andrew Kim <andrewkim@dhcp-9-16-50-136.atx-us.ibm.com>
Co-authored-by: Andrew Kim <andrewkim@Mac.lan>
2026-09-24 12:30:22 -05:00
Michael Li 2d920805d4 test: Update tests to run against boundary-enterprise (#834)
* chore: Update make testacc to use boundary dev

Use boundary dev instead of test controller in order to get an enterprise cluster

* test: Update tests to use boundary dev cluster

- Set up environment variables via loadTestConfig
- Update testConfigWithRecovery to use recovery key from config
- Update testCOnfigWithoutAMPWCredentials to use boundary dev's auth method

* test: Update tests to use their own orgs

This is to address some test failures due to conflicts when creating resources within the same org.

* test: Enable tests that require boundary-enterprise

* chore: Update workflow to use boundary enterprise
2026-09-10 15:00:05 -04:00
Amit Kotagi f059618167 feat(proj-alias): support project scoped alias via suffixes (#824)
* feat(proj-alias): support project scoped alias via suffixes

* fix: generate resouce docs using make gen

* fix: address review comments

* chore: make gen changes

* fix(proja-alias): validate scope id before calling remove alias suffix

* fix: filter unknown scopes in validation
2026-07-17 18:33:02 +05:30
Ryan Derr 38f44b86ea feat(target): Update RDP target types to support enabling session recordings and storage buckets (#818) 2026-07-08 16:49:51 -05:00
Chandrasekhar GaddeandChandrasekhar Gadde 4cc769fcdd fix accidental nested loop (#801)
Co-authored-by: Chandrasekhar Gadde <cgadde@Chandrasekhars-MacBook-Pro.local>
2026-05-14 10:52:02 -07:00
Louis Ruch 6d4954dcdd chore: update deps (#802)
* chore(deps): Update deps

* chore: remove jira sync job

* chore: run make gen
2026-05-14 10:51:30 -07:00
hashicorp-copywrite[bot] 2248220850 [COMPLIANCE] Add/Update Copyright Headers (#799)
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
2026-05-11 20:53:55 -07:00
Pradeep Sekar 153c1f407f feat: Allow worker filter to be parsed by vault credential store to avoid drift (#786) 2026-04-22 09:51:52 -07:00
Andrew Gaffney ffc88e48e4 feat(provider): Implement Vault Ldap Resource (#778) 2026-02-02 10:36:20 -05:00
oss-core-libraries-dashboard[bot]andhashicorp-copywrite[bot] fb78403f89 [COMPLIANCE] Update Copyright and License Headers (Batch 1 of 1) (#768)
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
2026-01-16 15:44:26 -08:00
Bharath Gajjala d738671047 Password Credential support (#758)
* feat(password credential): Add password credential type support

* build(deps): upgrade Boundary to v0.21.0 and update dependencies

* chore: update go.mod and go.sum from main

* Dependency cleanup
2025-12-16 22:29:42 -05:00
Rayenn Hamrouni 8c933816a5 feat: Add is_primary_for_scope attribute to boundary_auth_method and boundary_auth_method_password resources (#753) 2025-11-11 13:55:33 -08:00
Rayenn Hamrouni e9f7b89ad2 feat: Add boundary_role data source (#743) 2025-10-10 08:29:39 -07:00
Michael Miltonanddkanney c2481702ba Fix broken grants tests (#744)
* test: Remove redundant grant_scope_id

After the Grants refactor in Boundary, we no longer support using redundant grant scopes together.
Example: An org role with both 'children' and an individual project id specified as grant scopes.

* chore: Remove unused vars

* fix test config with ldap auth method bug

---------

Co-authored-by: dkanney <david.kanney@hashicorp.com>
2025-09-25 10:09:12 -04:00
Hugo eb7244bb65 feat(provider): Support RDP target 2025-09-05 17:04:22 +01:00
HugoandApril-May 182352b6d4 feat(provider): Implement boundary_credential_username_password_domain resource
This resource creates a static "Username, Password & Domain" credential in
Boundary.

The "username" field is required. It can also contain the domain in one of two
formats:
  - "username@domain.com"
  - "domain.com\username"

The "password" field is required.

The "domain" field is optional but the domain data itself is required (ie. it
must be provided as part of the username or in the dedicated "domain" field)

Co-authored-by: April-May <18632637+AprilMay0@users.noreply.github.com>
2025-09-05 17:04:22 +01:00
Hugo f9fd811205 feat(provider): Support worker filter on dynamic host catalogs 2024-10-21 17:15:10 +01:00
Hugo 5d6d277186 chore(provider): Remove support for GrantScopeId (#627) 2024-10-08 18:37:12 +01:00
Bruno Schaatsbergen f6539b969c chore: replace deprecated arguments in provider example (#617)
* chore: replace deprecated arguments in provider example

* chore: fix extra newline

* Revert "chore: fix extra newline"

This reverts commit cf2de60acfcf6c9499d0306243041f950a0851f6.

* Revert "chore: replace deprecated arguments in provider example"

This reverts commit 49a336f7684707edb36021eef7d11bb92e4fa1b4.

* chore: change example

* chore: update example in README

* chore: create a tests for the deprecated auth method
2024-07-15 10:02:58 -04:00
Todd 53c2a5769c Add target alias resource (#571)
* Add target alias resource

* increment the number of authorize_acctions returned on an admin user
2024-05-01 09:37:45 -07:00
daniandDanielle Miu 7e7707d3af feat(policies): support storage policies within terraform (#558)
Co-authored-by: Danielle Miu <29378233+DanielleMiu@users.noreply.github.com>
2024-02-13 16:22:18 -08:00
Jeff Mitchell 8c12b27f8f Add support for grant_scope_ids (#562) 2024-02-13 15:01:48 -05:00
Jeff Mitchell 93e41ae83d Add id warning (#563)
* Add id warning

This adds a warning about using id in grants, which is no longer
supported when running against 0.15+.

* Add to Create as well
2024-02-09 15:30:13 -05:00
Jeff Mitchell bbc5889404 Fix space at beginning of description 2024-02-08 09:15:26 -05:00
prsekar 417bad5d36 Handle grant string id to ids 2024-02-01 11:21:33 -08:00
Damian Debkowski a65623e36a allow dynamic credentials for storage buckets (#549) 2024-01-30 09:23:09 -08:00
c1bc59c36e enable support for ssh valid certs additional valid principals field (#512)
* enable support for ssh valid certs additional valid principals field

* chore: Bump Dependencies to 0.14.3 Release

---------

Co-authored-by: Danielle Miu <29378233+DanielleMiu@users.noreply.github.com>
Co-authored-by: prsekar <pradeep.sekar@hashicorp.com>
2024-01-05 10:38:47 -08:00
Michael Li 212d64aaf8 test: Fix failure in TestAccCredentialStoreVault (#525)
* test: Fix error in TestAccCredentialStoreVault

* chore: Fix errors in "Set up Go modules cache"
2023-12-14 09:41:44 -05:00
Elim Tsiagbey 9e30a68a61 feat(oidc): OIDC Prompt Support (#519)
* feat(oidc): OIDC Prompt Support

Boundary OIDC method does not currently support passing in prompts during authentication. This change adds the capability of passing OIDC prompts. Prompts are optional OIDC parameters that determine the behaviour of the authentication server: https://openid.net/specs/openid-connect-core-1_0.html#AuthRequest

Add new optional `prompts` option to `boundary_auth_method_oidc` resource. `prompts` option are optional OIDC parameters that determine the behavior of the authentication server.
2023-12-13 16:05:01 -05:00
Elim Tsiagbey 99c7ae65e3 chore: Bump Dependencies to 0.14.3 Release (#524)
* chore: Bump Dependencies to 0.14.3 Release

- Bump github.com/hashicorp/boundary to [0.14.3](https://github.com/hashicorp/boundary/releases/tag/v0.14.3)
- Bump API & SDK to point to [8fb3f31f810242b41ff1d977b7a0d2a8ecc70ab5](https://github.com/hashicorp/boundary/pull/4132) commit

* ignore authorized actions in diff

* skip `TestAccCredentialStoreVault` test
2023-12-13 15:43:08 -05:00
drewmullen f8b69875c3 Fix boundary_worker auth token overwritten during creation & ForceNew on auth token change (#461)
* cannot update a worker generated auth token

* dont grab auth token from api reply
2023-12-13 10:11:32 -08:00
Michael Li 61c0ac92b3 feat: Add boundary_auth_method data source (#505) 2023-12-12 13:36:37 -08:00
Michael Li dc3adfa96a feat: Add boundary_group data source (#503)
* refact: Move groupMemberIdsKey const

* feat: Add `boundary_group` data source

* CR
2023-11-02 14:37:02 -04:00
Michael Li bb5ed8609c feat: Add boundary_account data source (#493)
* feat: Add boundary_account data source

* CR
2023-10-26 12:52:23 -04:00
Michael Li 63a1d9a5e9 fix: Address conflict in boundary_scope data source schema (#492)
* fix: Modify error message

* refact: Rename keys for consistency

* fix: Use scope_id in boundary_scope

The examples for the boundary_scope data source suggest to use `parent_scope_id`, but the provider is actually expecting `scope_id`.
2023-10-24 15:45:07 -04:00
drewmullen 0f2473a1d7 New Data source data.boundary_user (#468) 2023-10-17 16:36:51 -07:00
Jim 9d351f8112 workflows: add make-gen-delta to chk for changes from 'make gen' (#486) 2023-10-12 13:28:38 -04:00
Louis Ruch 0a7d7ad555 chore: Add changelog for release 2023-10-11 15:57:45 -07:00
grantorchard c3b08a1b4f add scope datasource, tests, and docs (#474)
* add scope datasource, tests, and docs

* add details on the global scope to docs
2023-10-11 08:21:48 -07:00
Jim 4ccc1962dc feat (auth/ldap): support for new ldap fields (#453) 2023-09-26 13:44:26 -07:00
Louis Ruch d786b75f0e chore: update deps 2023-09-12 13:03:40 -07:00
Elim Tsiagbey 8983decd06 fix: Append correct storage bucket worker filter option (#433)
During terraform update, the default worker filter option used is the `DefaultBucketName` instead of `DefaultWorkerFilter`. Update it to use the correct option
2023-07-18 14:29:03 -04:00
Elim Tsiagbey 605d124d51 feat: add target resource session recording support (#421)
* feat: add target session recording support

- add new optional `enable_session_recording` field for enabling or disabling session recording
- add new optional `storage_bucket_id` field for setting the storage bucket for the target
- These new fields are applicable to Boundary HCP/ENT

### Considerations
- There is no test coverage yet until we add support for testing enterprise only features. Manually tested the changes
2023-06-30 13:11:15 -04:00
Elim Tsiagbey 9186304d5d feat: add storage bucket resource (#417)
* feat: add storage bucket resource

- Create a new resource for storage bucket
- Add examples and docs for how to use new resource
- Tests added but they do not run on purpose and have not been validated yet because we cannot run tests for enterprise features yet. That will be addressed separately

## Considerations
- Even though only AWS can be supported today, still added the `pluginID` & `pluginName` fields so it's easy to extend once other plugin types are supported
- There is some logic around handling secrets sent to Boundary and validating secret HMAC changes that exist from `boundary_host_catalog_plugin` that was introduced in [PR-159](https://github.com/hashicorp/terraform-provider-boundary/pull/159). Used the same logic we've been using for that
2023-06-28 10:38:22 -04:00