INNER CODE UNIT · Go

TestTerraformWrongSecretsAWS

OWASP/wrongsecrets · aws/wrongsecrets_aws_test.go:21

func TestTerraformWrongSecretsAWS(t *testing.T) {
	t.Parallel()

	// Construct the terraform options with default retryable errors to handle the most common
	// retryable errors in terraform testing.
	terraformOptions := terraform.WithDefaultRetryableErrors(t, &terraform.Options{
		// The path to where our Terraform code is located
		TerraformDir: "../aws",
		Vars: map[string]interface{}{
			"region": "eu-west-1",
			"tags": map[string]string{
				"Environment": "test",
				"Application": "wrongsecrets",
				"CreatedBy":   "Terratest",
			},
		},
	})

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…