Open
Conversation
lonegunmanb
requested changes
Sep 20, 2024
Member
lonegunmanb
left a comment
There was a problem hiding this comment.
Hi @marvinbuss thanks for opening this pr to us, we've the following error when we ran the e2e test, would you please modify your example so the users could try it with terraform apply without any further configuration requirement? Thanks!
Test_Quickstarts/quickstart/301-ai-studio-secure-e2e 2024-09-20T01:29:17Z retry.go:99: Returning due to fatal error: FatalError{Underlying: error while running command: exit status 1; ╷
│ Error: No value for required variable
│
│ on variables.tf line 2:
│ 2: variable "location" {
│
│ The root module input variable "location" is not set, and has no default
│ value. Use a -var or -var-file command line argument to provide a value for
│ this variable.
╵
╷
│ Error: No value for required variable
│
│ on variables.tf line 28:
│ 28: variable "prefix" {
│
│ The root module input variable "prefix" is not set, and has no default
│ value. Use a -var or -var-file command line argument to provide a value for
│ this variable.
╵
╷
│ Error: No value for required variable
│
│ on variables.tf line 39:
│ 39: variable "subnet_id" {
│
│ The root module input variable "subnet_id" is not set, and has no default
│ value. Use a -var or -var-file command line argument to provide a value for
│ this variable.
╵}
apply.go:34:
Error Trace: /home/runtimeuser/go/pkg/mod/github.com/gruntwork-io/terratest@v0.47.1/modules/terraform/apply.go:34
/home/runtimeuser/go/pkg/mod/github.com/!azure/terraform-module-test-helper@v0.26.0/e2etest.go:107
/home/runtimeuser/go/pkg/mod/github.com/!azure/terraform-module-test-helper@v0.26.0/e2etest.go:87
/home/runtimeuser/go/pkg/mod/github.com/!azure/terraform-module-test-helper@v0.26.0/e2etest.go:55
/src/test/e2e/quickstart_test.go:50
Error: Received unexpected error:
FatalError{Underlying: error while running command: exit status 1; ╷
│ Error: No value for required variable
│
│ on variables.tf line 2:
│ 2: variable "location" {
│
│ The root module input variable "location" is not set, and has no default
│ value. Use a -var or -var-file command line argument to provide a value for
│ this variable.
╵
╷
│ Error: No value for required variable
│
│ on variables.tf line 28:
│ 28: variable "prefix" {
│
│ The root module input variable "prefix" is not set, and has no default
│ value. Use a -var or -var-file command line argument to provide a value for
│ this variable.
╵
╷
│ Error: No value for required variable
│
│ on variables.tf line 39:
│ 39: variable "subnet_id" {
│
│ The root module input variable "subnet_id" is not set, and has no default
│ value. Use a -var or -var-file command line argument to provide a value for
│ this variable.
╵}
Test: Test_Quickstarts/quickstart/301-ai-studio-secure-e2e
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds the following: