Skip to content

Commit

Permalink
update template path
Browse files Browse the repository at this point in the history
Signed-off-by: sk593 <[email protected]>
  • Loading branch information
sk593 committed Jan 24, 2024
1 parent 676bb5d commit d43056b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/functional/shared/resources/recipe_terraform_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func Test_TerraformRecipe_KubernetesRedis(t *testing.T) {
status := redis.Properties["status"].(map[string]any)
recipe := status["recipe"].(map[string]interface{})
require.Equal(t, "terraform", recipe["templateKind"].(string))
expectedTemplatePath := strings.Replace(functional.GetTerraformRecipeModuleServerURL()+"/kubernetes-redis.zip", "moduleServer=", "", 1)
expectedTemplatePath := strings.Replace(functional.GetTerraformRecipeModuleServerURL()+"/kubernetes-redis.zip//modules", "moduleServer=", "", 1)
require.Equal(t, expectedTemplatePath, recipe["templatePath"].(string))
// At present, it is not possible to verify the template version in functional tests
// This is verified by UTs though
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ resource env 'Applications.Core/environments@2023-10-01-preview' = {
'Applications.Core/extenders': {
default: {
templateKind: 'terraform'
templatePath: '${moduleServer}/kubernetes-redis.zip//kubernetes-redis/modules'
templatePath: '${moduleServer}/kubernetes-redis.zip//modules'
}
}
}
Expand Down

0 comments on commit d43056b

Please sign in to comment.