Skip to main content
0 votes
0 answers
57 views

I’ve been trying to use the Terratest shell module to execute bash commands, but I haven’t had much success. Documentation appears to be limited, and most references I found were via AI tools. Below ...
PDGamer's user avatar
  • 11
3 votes
1 answer
100 views

So I am picking up my first Go/Terratest changes and it seems pretty straight forward to capture attributes from the Terraform Plan and assign them to variables. For example: # module.adls....
SnazzyBootMan's user avatar
0 votes
0 answers
32 views

I am using the gruntwork module for docker to write automated tests for infrastructure. At the end of each test I want to delete the container I started as part of the test. I don't see a native ...
beedi's user avatar
  • 1
2 votes
1 answer
400 views

I am using terratest to test terraform, I want to make sure that the terraform makes the resource group,container registry and AKS, When I do go test -v -timeout 60m all the resources are made and ...
Abaiz's user avatar
  • 63
2 votes
1 answer
130 views

I' having this kind of issue: This is my test case to test against azure resource created or no. package test import ( "testing" "github.com/gruntwork-io/terratest/modules/...
Hayk  Mkhitaryan's user avatar
0 votes
0 answers
285 views

I want to validate the security group inbound and outbound rules for my terraform code using terratest. By only using init and plan (without provisioning) I have tried using assert.contains to check ...
Bunny's user avatar
  • 21
0 votes
1 answer
357 views

I'm trying to unit test my Helm charts using Terratest, but running into a strange error: Here is my unit test: package grafana import ( "fmt" "testing" corev1 "...
joesan's user avatar
  • 15.6k
0 votes
1 answer
92 views

I am testing creation of multiple AWS instances with proper subnet and rules by firing multiple IP addresses for testing AWS infrastructure using below terratest code but it is only taking first IP ...
NIRAJ BAIS's user avatar
-2 votes
1 answer
425 views

Tried to run terratest over terraform file which invokes a aws instance and host a static website but post running this terratest module, it gives an undefined error for destroy function. Terratest ...
NIRAJ BAIS's user avatar
1 vote
0 answers
192 views

I'm very new to golang, so I'm trying to follow: terratest_code-base while buidling my test to read the cw log stream. terraformOptions := terraform.WithDefaultRetryableErrors(t, &terraform....
change198's user avatar
  • 2,135
0 votes
0 answers
146 views

I am using terratests to test my terraform code. so, my terraform code setup: SQS which is connected to Lambda and Lambda is the consumer of the SQS Message so, I would like to test the whole flow, So ...
change198's user avatar
  • 2,135
1 vote
1 answer
591 views

I'm studying Terraform and as a test lover I'm using Terratest to test it out but, I'm not being able to mock Terraform's functions such as timestamp(). Tried some stuffs such as use the library ...
lucAlucard's user avatar
0 votes
0 answers
416 views

I am writing a gitlab-ci stage to run terratest tests for my terraform and I get and error when is authenticating to AWS. I have correctly set as env variables for the pipeline AWS credentials and the ...
bruvio's user avatar
  • 1,153
0 votes
0 answers
270 views

Does anyone have a work around for testing a terraform module with terratest that contains a aws secrets manager secret. You cant create / delete / create again the same secret, as AWS has a delay in ...
Staggerlee011's user avatar
0 votes
1 answer
451 views

Is it possible to have terratest run an assertion for a value to exist, instead of the standard assertion that the value = expected?
Staggerlee011's user avatar

15 30 50 per page
1
2 3 4 5