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

Add support for multiple organizations #508

Closed
chrisvanmeer opened this issue May 14, 2023 · 3 comments
Closed

Add support for multiple organizations #508

chrisvanmeer opened this issue May 14, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@chrisvanmeer
Copy link

Description

Please add support for users that are part of more than one organization.
The current provider does not support specifying an org_id so it seems.

One would get an error during a terraform plan that outputs:

╷
│ Error: unable to get project from credentials: unexpected number of organizations: expected 1, actual: 2
│ 
│   with provider["registry.terraform.io/hashicorp/hcp"],
│   on main.tf line 18, in provider "hcp":
│   18: provider "hcp" {}
│ 

This means I cannot use the HCP provider at all.

New or Affected Resource(s)

  • All

Potential Terraform Configuration

provider "hcp" {
  client_id     = "service-principal-key-client-id"
  client_secret = "service-principal-key-client-secret"
  org_id        = "organization-id"
}

References

  • #0000

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment
@chrisvanmeer chrisvanmeer added the enhancement New feature or request label May 14, 2023
@xargs-P
Copy link
Contributor

xargs-P commented Aug 14, 2023

Hello @chrisvanmeer , I am one of the Product Managers under Identity for HCP. I am curious about what you are looking to accomplish 🤔 . Would you be open to talking more? Feel free to contact me: tpowell #at# hashicorp.com

@chrisvanmeer
Copy link
Author

Email is on the way!

@chrisvanmeer
Copy link
Author

It seems that this issue has already been fixed since I have no problems deploying resources now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants