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
10 questions
3
votes
0 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…
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"…
0
votes
0 answers

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?
0
votes
0 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
  • 623
  • 1
  • 8
  • 21
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
  • 5,501
  • 4
  • 29
  • 66
0
votes
2 answers

How to pass array and maps using terraform cloud API calls

I need to pass an array and a map values to terraform workspace using terraform api tried calling { "data": { "id":"", "attributes": { "key":"PREFIXES", "value":'{a="b"}', "description":"some description", …
Narendra Pinnaka
  • 140
  • 1
  • 10
0
votes
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
2 answers

Terraform Enterprise automation installation

While installing private terraform enterprise using terraform, I am facing this issue. An issue was also raise here After installing it, I get an error bringing up the browser https://(IP):8800/initializing?redirect=/ My machine type is ubuntu,…
Ashish Kumar
  • 477
  • 3
  • 19
0
votes
1 answer

Terraform Destroy Error when connected to TFE

I have created a workspace in Terraform Enterprise by running a terraform init && terraform plan locally with Terraform enterprise set up as my back end: # Using a single workspace: terraform { backend "remote" { hostname =…
0
votes
1 answer

TFE cli Error updating workspace

I'm working on TFE through CLI, trying to update a workspace branch for configuration, the following command returned an error: Error updating workspace tfe workspace update -name {workspace_name} -tfe-address {tfe_address} -vcs-id {repo_name}…
sikandar
  • 11
  • 1