Questions tagged [terraform-enterprise]

Questions directly related to Terraform in conjunction with Terraform Enterprise that would not apply to the open source version.

Terraform Enterprise is HashiCorp's commercial offering related to open source .

It provides:

  • remote state storage
  • remote execution
  • policy-based control about resource access
19 questions
9
votes
4 answers

Terraform Cloud / Enterprise - How to use AWS Assume Roles

I would like to use AWS Assume Roles, with Terraform Cloud / Enterprise In Terraform Open Source, you would typically just do an Assume Role, leveraging the .aws/Credential Profile on the CLI, which is the initial authentication, and performing the…
3
votes
1 answer

Terraform output being flagged as sensitive

We have created some terraform stacks for different domains, like network stack for vpc, rds stack for rds stuff, etc. And, for instance, the rds stack depends on the network stack to get values from the outputs: Output from network stack: output…
Stargazer
  • 1,442
  • 12
  • 19
2
votes
2 answers

Azure RBAC role 'ConfigureFactoryRepo' is required to be granted over the entire subscription to Terraform Service Principal to spin up Data Factory

I have a Terraform Enterprise service principal that has the following roles assigned to it over my Resource Group: Contributor Data Factory Contributor ConfigureFactoryRepoAction Network Joiner Network Interface to Subnet Joiner Reader (assigned…
2
votes
2 answers

Terraform partial remote backend cannot contain interpolations?

I am trying to configure a Terraform enterprise workspace in Jenkins on the fly. To do this, I need to be able to set the remote backend workspace name in my main.tf dynamically. Like this: # Using a single workspace: terraform { backend "remote"…
1
vote
1 answer

Terraform: Nested for expression with no duplicity

I am newbie to Terraform, apologies in advance in case inappropriate logic is used. There is nested map, want to create new map using existing one. terraform.tfvars vpcs_info= { "devops" = { main = { cidr = "10.14.0.0/16" region =…
1
vote
0 answers

Terraform Enterprise UI not recognizing all the GitHub Repositories

Only few GitHub repositories are reflecting in Terraform Enterprise UI, When established the connecting using GitHub OAuth. All the repositories are creating with same configuration and permissions. When trying to create the Terraform Enterprise…
Pthota
  • 101
  • 1
  • 1
  • 10
1
vote
1 answer

Is there a limit on the number of workspaces that can be created in Terraform Enterprise?

Does Terraform Enterprise have a limit of workspaces that can be created within it? If yes, how many?
1
vote
1 answer

How to use Terraform Cloud/Enterprise Provider?

I came across TFE Provider during experimenting with Terraform Cloud. I do not see any good use case since I can set everything with *.auto.tvars. Apart from that I tried it with an arbitrary tfe_variable: provider "tfe" { } resource…
0
votes
0 answers

How can we integrate Microsoft AD with Terraform Enterprise

We have a Terraform Enterprise set-up. There are few use-cases which we want to work on. It requires Microsoft AD Group management e.g. creating an AD Group, adding users to the AD Group etc. As per the available documentation and links, I can only…
0
votes
1 answer

Terraform Enterprise is not triggered for commits in bitbucket

I have a TFE workspace with proper Version Control details. Whenever I commit any change in Bitbucket, nothing is triggered in TFE. But if I change the branch in TFE version control and change it back again, I can see a plan getting queued up for…
0
votes
2 answers

Versioning Terraform state in Azure storage account

We have previously been using Terraform Enterprise to store our state files. Terraform Enterprise enables versioning of state files as described here. We are currently migrating to Azure and looked into using Azure storage to store Terraform state…
0
votes
1 answer

helm_release.teleport: timeout while waiting for state to become 'Running'

I have been getting the following error below: Error: Error refreshing state: 1 error occurred: * module.cluster.module.teleport.helm_release.teleport: 1 error occurred: * module.cluster.module.teleport.helm_release.teleport:…
0
votes
1 answer

Terraform mixed VCS + API driven runs, applying non-default-branch configuration versions

I am using a terraform enterprise instance to manage three workspaces that represent infrastructure for the various environments of an application (development, pre-prod and prod have isolated infrastructure). The workspaces themselves are…
Daniel Evans
  • 6,788
  • 1
  • 31
  • 39
0
votes
2 answers

Terraform Cloud: How to download .tfstate file using API?

i have deployed terraform script using Terraform Cloud. In tab 'STATE' I can see all the data of my VM machine. For my pipeline I need to download the sv-xxxx.tfstate file in order to get the VM IP. My question is how can I download this file using…
Andrew Ramnikov
  • 783
  • 2
  • 9
  • 30
0
votes
1 answer

Terraform Enterprise Module Registry: Can I store a module’s source code in a subdirectory of an existing GitHub repository?

I have more than 40 Terraform modules to register in a private Terraform Enterprise module registry. It would be difficult to create 40 GitHub repositories for each of the 40 modules I am publishing. Is it possible to have one GitHub repository and…
Allan Xu
  • 7,998
  • 11
  • 51
  • 122
1
2