Skip to content

Commit

Permalink
fix tests after api change
Browse files Browse the repository at this point in the history
  • Loading branch information
pmenglund committed May 20, 2024
1 parent 3a81229 commit c730d71
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions testdata/scheduled_lambda_basic.tf
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
resource rockset_query_lambda "test_query_lambda" {
workspace = "acc"
name = "{{ .QueryLambdaName}}"
name = "{{ .QueryLambdaName }}"
sql {
query = "select 1"
}
}

resource "rockset_api_key" "test" {
name = "{{ .QueryLambdaName }}"
}

resource "rockset_scheduled_lambda" "test_scheduled_lambda" {
workspace = "acc"
apikey = "var.ROCKSET_APIKEY"
apikey = rockset_api_key.test.key
cron_string = "{{ .CronString }}"
query_lambda_name = rockset_query_lambda.test_query_lambda.name
tag = "latest"
total_times_to_execute = {{ .TotalTimesToExecute }}
}
}

0 comments on commit c730d71

Please sign in to comment.