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 TFE integration for backend and CICD #2611

Merged
merged 13 commits into from
Oct 16, 2024
Merged

Conversation

lnesteroff
Copy link
Collaborator

@lnesteroff lnesteroff commented Oct 8, 2024

Adding option to define (specifically terraform cloud) custom backbends. Also allows configuring TFE for CICD with the project attribute for read only and the workspace attribute for write.

Example var:

cicd_backends = {
  terraform = {
    organization = "your-terraform-organization"
    workspaces = {
      bootstrap = {
        tags = ["bootstrap", "tag1"]
      }
      resman = {
        name = "resman-workspace"
      }
      tenant-factory = {
        project = "tenant-project"
      }
      vpcsc = {
        name = "vpcsc-workspace"
      }
    }
    hostname = "app.terraform.io"
  }
}

Checklist

I applicable, I acknowledge that I have:

  • Read the contributing guide
  • Ran terraform fmt on all modified files
  • Regenerated the relevant README.md files using tools/tfdoc.py
  • Made sure all relevant tests pass

Copy link
Collaborator

@ludoo ludoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will need to be integrated in the large PR for the next version of resman. Great job BTW :)

@lnesteroff lnesteroff merged commit f14cd9f into master Oct 16, 2024
18 checks passed
@lnesteroff lnesteroff deleted the lnesteroff/tfe-cicd branch October 16, 2024 06:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants