Skip to content

Commit

Permalink
ci: correct gcp private key env var name (#457)
Browse files Browse the repository at this point in the history
Signed-off-by: Darren Murray <darren.murray@lacework.net>
  • Loading branch information
dmurray-lacework authored Mar 10, 2023
1 parent 6a4b8d3 commit 1859efb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions integration/resource_lacework_integration_gcp_al_pub_sub_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ func TestIntegrationGcpAlPubSub(t *testing.T) {
terraformOptions := terraform.WithDefaultRetryableErrors(t, &terraform.Options{
TerraformDir: "../examples/resource_lacework_integration_gcp_al_pub_sub",
EnvVars: map[string]string{
"LW_API_TOKEN": LwApiToken,
"private_key": gcreds.PrivateKey,
"LW_API_TOKEN": LwApiToken,
"TF_VAR_private_key": gcreds.PrivateKey,
},
Vars: map[string]interface{}{
"name": "GCP pub sub audit log integration example",
Expand Down Expand Up @@ -74,8 +74,8 @@ func TestIntegrationGcpAlPubSub(t *testing.T) {
}

terraformOptions.EnvVars = map[string]string{
"LW_API_TOKEN": LwApiToken,
"private_key": gcreds.PrivateKey,
"LW_API_TOKEN": LwApiToken,
"TF_VAR_private_key": gcreds.PrivateKey,
}

update := terraform.ApplyAndIdempotent(t, terraformOptions)
Expand Down Expand Up @@ -112,8 +112,8 @@ func TestIntegrationGcpAlPubSub(t *testing.T) {
}

terraformOptions.EnvVars = map[string]string{
"LW_API_TOKEN": LwApiToken,
"private_key": gcreds.PrivateKey,
"LW_API_TOKEN": LwApiToken,
"TF_VAR_private_key": gcreds.PrivateKey,
}

_, err = terraform.ApplyAndIdempotentE(t, terraformOptions)
Expand Down

0 comments on commit 1859efb

Please sign in to comment.