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

Use Existing Terraform Cloud Workspace #127

Open
joshvermast opened this issue Mar 25, 2022 · 0 comments
Open

Use Existing Terraform Cloud Workspace #127

joshvermast opened this issue Mar 25, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@joshvermast
Copy link

joshvermast commented Mar 25, 2022

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

The ability to define a Terraform Cloud Workspace to be utilized by Terraform Cloud Operator instead of having it create it's own workspace. This would alleviate the problem of Admin level permission token being required for every instance of Terraform Cloud Operator.

There may have to be consideration taken that the targetted Workspace have no stored State at the time of binding to a TFCO CR.

Potential Terraform Configuration

---
apiVersion: app.terraform.io/v1alpha1
kind: Workspace
metadata:
  name: workspacename #May be changed to optional if workspaceID is provided below.
spec:
  organization: Finastra
  workspaceID: ws-iXXXXXXXXX #New Configuration to use existing workspaceID
  secretsMountPath: "/tmp/secrets"
  agentPoolID: apool-iXXXXXXXX
  module:
    source: "X"
    version: "0.0.1"
@joshvermast joshvermast added the enhancement New feature or request label Mar 25, 2022
@joshvermast joshvermast changed the title Use Existing Workspace Use Existing Terraform Cloud Workspace Mar 25, 2022
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

1 participant