Conversation
…ersion, with some baseline tests that pass for me locally but need to be genericised
…/hyok-data-objects
…hashicorp/terraform-provider-tfe into dominicretli/TF-28674/hyok-data-objects
…ta-objects [TF-28674] Add HYOK data sources for HYOKCustomerKeyVersion and HYOKEncryptedDataKey
ba91ec0 to
f192017
Compare
…e_hyok_customer_key_version_test.go, data_source_hyok_encrypted_data_key_test.go, and resource_tfe_hyok_configuration_test.go
…aces (#1863) * WIP, almost finishing up tests. * Updating documentation. * Removing create and update options for hyok_enabled. Updating test cases. * Updated documentation. * Update website/docs/r/organization.html.markdown Co-authored-by: Helen Jiang <50344290+helenjw@users.noreply.github.com> * Removed Default argument since attribute is read-only * Changed documentation for organization data source. * Moved changes to Attributes Reference * Updating CHANGELOG.md * Updated function name in data source organization test. * Update CHANGELOG.md Co-authored-by: Chris Trombley <chris.trombley@hashicorp.com> * Update CHANGELOG.md Co-authored-by: Chris Trombley <chris.trombley@hashicorp.com> * Updated test case for tfe_workspace * Removing orgEmail. * Updating test cases. Removing HYOK_WORKSPACE_NAME * Refactor HYOK tests to use createPremiumOrganization function and remove environment variable dependency where possible * Remove HYOK_ORGANIZATION_NAME env variable entirely * Wait for test_failed before attempting to revoke HYOK config --------- Co-authored-by: Helen Jiang <50344290+helenjw@users.noreply.github.com> Co-authored-by: Chris Trombley <chris.trombley@hashicorp.com> Co-authored-by: Helen Jiang <helen.jiang@hashicorp.com>
helenjw
approved these changes
Oct 8, 2025
ctrombley
approved these changes
Oct 10, 2025
Collaborator
ctrombley
left a comment
There was a problem hiding this comment.
This looks good to me. In the future if it's possible to submit the PRs separately it would be appreciated!
Comment on lines
+22
to
+23
| _ resource.ResourceWithConfigure = &resourceTFEAWSOIDCConfiguration{} | ||
| _ resource.ResourceWithImportState = &resourceTFEAWSOIDCConfiguration{} |
Collaborator
There was a problem hiding this comment.
nit:
Suggested change
| _ resource.ResourceWithConfigure = &resourceTFEAWSOIDCConfiguration{} | |
| _ resource.ResourceWithImportState = &resourceTFEAWSOIDCConfiguration{} | |
| _ resource.Resource = &resourceTFEAWSOIDCConfiguration{} | |
| _ resource.ResourceWithConfigure = &resourceTFEAWSOIDCConfiguration{} | |
| _ resource.ResourceWithImportState = &resourceTFEAWSOIDCConfiguration{} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This particular PR is a combination of a series of PRs that have been approved before. See the Related PRs.
Add the following resources to manage OIDC configurations:
Add the HYOK configuration resource:
Add the following data sources for managing HYOK keys:
Updating the attributes of the following objects to support HYOK related attributes:
Workspace, added read-onlyhyok_enabledattribute for data source and resource.Organization, addedenforce-hyokattribute for data source and resource.Remember to:
Testing plan
Testing HYOK OIDC Configurations:
Testing HYOK Configurations:
Testing HYOK customer key version and encrypted data key:
Testing HYOK Attributes:
External links
hashicorp/go-tfeOutput from acceptance tests
HYOK OIDC Configurations:
HYOK Configuration:
HYOK customer key version and encrypted data key:
HYOK Attributes:
Rollback Plan
Changes to Security Controls
Related PRs