Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workload Identity Provider Resource #647

Merged
merged 4 commits into from
Oct 20, 2023
Merged

Workload Identity Provider Resource #647

merged 4 commits into from
Oct 20, 2023

Conversation

dadgar
Copy link
Contributor

@dadgar dadgar commented Oct 20, 2023

🛠️ Description

Add hcp_iam_workload_identity_provider resource.

🏗️ Acceptance tests

  • Are there any feature flags that are required to use this functionality? No
  • Have you added an acceptance test for the functionality being added? Yes
  • Have you run the acceptance tests on this branch? Yes

Output from acceptance testing:

[:~/go/src/github.com/hashicorp/terraform-provider-hcp/internal/provider/iam] $ TF_ACC=1 go test -v
=== RUN   TestAccServicePrincipalDataSource
--- PASS: TestAccServicePrincipalDataSource (11.24s)
=== RUN   TestAccServicePrincipalKeyResource
--- PASS: TestAccServicePrincipalKeyResource (43.91s)
=== RUN   TestAccServicePrincipalResource_Project
--- PASS: TestAccServicePrincipalResource_Project (21.45s)
=== RUN   TestAccServicePrincipalResource_ExplicitProject
--- PASS: TestAccServicePrincipalResource_ExplicitProject (11.70s)
=== RUN   TestAccServicePrincipalResource_Organization
--- PASS: TestAccServicePrincipalResource_Organization (13.62s)
=== RUN   TestAccWorkloadIdentityProviderResource
--- PASS: TestAccWorkloadIdentityProviderResource (19.12s)
PASS
ok      github.com/hashicorp/terraform-provider-hcp/internal/provider/iam       121.501s

Add hcp_iam_workload_identity_provider resource that allows creating
workload identity providers. This allows associating external identities
with HCP Service Principals.
@dadgar dadgar requested a review from rselbach October 20, 2023 00:25
@dadgar dadgar requested review from a team as code owners October 20, 2023 00:25
@dadgar dadgar merged commit 8aaa5c6 into main Oct 20, 2023
5 checks passed
@dadgar dadgar deleted the f-wip branch October 20, 2023 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants