Questions tagged [terraspace]
12 questions
4
votes
3 answers
How do I import existing AWS resources into Terraspace?
Importing resources from Terraform is straight forward using "terraform import" syntax. However, there's no documentation for terraspace on this matter. Their docs only talks about how to import existing Terraform state files into Terraspace by…

Alex
- 1,293
- 1
- 13
- 26
3
votes
1 answer
Terraspace: Call terraform with -target option
We use terraspace to manage our infrastructure. Because of dependend resources, we need to call terraform apply twice, once with an option target, once without.
What we are currently doing:
terraspace up somestack
Then we get an error:
The…

stena
- 667
- 5
- 19
2
votes
1 answer
How to make the Terraspace stack common for a few environments?
Please tell me if there is any way to make some Terraspace stack common for a few environments? For example, I have one AWS account for all non-production environments and I'd like to use the same VPC for all environments, all other resources (e.g.…

John
- 41
- 2
1
vote
1 answer
Terraspace Bundle: ERROR: There was a git error - fatal: not a git repository (or any of the parent directories): .git
When I run terraspace bundle I see the following error message:
Bundling with Terrafile...
ERROR: There was a git error
Current dir: /private/tmp/terraspace/bundler/cache/github.com/cloudposse/terraform-aws-cloudfront-s3-cdn
The error occur when…

Joseph Siefers
- 1,282
- 1
- 12
- 23
0
votes
0 answers
Inject values in stackB when running stackA when stackA depends on stack B
I have this scenario:
StackA needs output from StackB
So StackB will run before StackA when using terraspace up StackA all
But I want to define different values for the variables in StackB, but inputing this in StackA.
Stack A
variable "endpoint" {
…

ccesarsilva
- 21
- 3
0
votes
0 answers
HTTPNotFound error while running "terraspace up demo"
I'm tring to create a demo environment with terraspace on Azure.
So I have installed and set up environment variable as it is descriped on terraspace doc. when I run "terraspace up demo" it creates resource group and then fails with bellow error.…

Mesut Tekin
- 3
- 2
0
votes
0 answers
Passing -var with terraspace
What is the equivalent of passing variables to the Terraform via cli with Terraspace?
In terraform I can do terraform apply -var abc=abc.
I only found this https://terraspace.cloud/docs/config/args/terraform/ but maybe there is an easier option?

girts
- 1
0
votes
0 answers
Golang SDK for terraspace
Currently i can see that terraspace has only CLI, but am looking for a way to interact with it differntly. I'd like to know if we have any GO Lang SDK for terraspace ?
or any way to interact with terraspace pragmatically instead of CLI
0
votes
1 answer
Eliminate unused variables in Terraspace
I'm creating a Terraspace project to build multiple stacks (about 14 in total) that share some vars. I will create multiple copies of this stack (about 20) so I don't want to have to manage multiple tfvars in each stack, that would be 280 in total.…
0
votes
1 answer
Avoid creating backend s3 bucket when terraspace plan
Sometimes I need to check what resources will be created within an environment without automatically creating state s3 bucket. I use terraspace plan but it automatically create an s3 bucket with the TS_ENV variable name as set in the…

mallet
- 2,454
- 3
- 37
- 64
0
votes
1 answer
Terraspace using public modules
recently I found the terraspace framework which is wonderful. I followed the tutorial but now I have a concern in how to work with public modules, for example, I want to create a gcp compute using this module:…
-1
votes
3 answers
Reference module with multiple resources
I am trying to create an AWS route53 hosted zone and add records to it. I added the following resources to a module main.tf
resource "aws_route53_zone" "zone" {
name = var.name
}
data "aws_route53_zone" "zone_data" {
name =…

mallet
- 2,454
- 3
- 37
- 64