@@ -2,32 +2,37 @@ package tests
22
33import (
44 "github.com/stretchr/testify/assert"
5+ "github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper/common"
56 "github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper/testprojects"
67 "testing"
78)
89
910func TestProjectsFullTest (t * testing.T ) {
10- t .Skip ("Skipping TestProjectsFullTest enabled after all issues are resolved" )
1111 options := testprojects .TestProjectOptionsDefault (& testprojects.TestProjectsOptions {
12- Testing : t ,
13- Prefix : "rag-stack" ,
14- ResourceGroup : "" ,
12+ Testing : t ,
13+ Prefix : "rag-stack" ,
1514 StackConfigurationOrder : []string {
1615 "1 - Account Infrastructure Base" ,
1716 "2a - Security Service - Key Management" ,
1817 "2b - Security Service - Secret Manager" ,
1918 "2c - Security Service - Security Compliance Center" ,
2019 "3 - Observability - Logging Monitoring Activity Tracker" ,
2120 "4 - WatsonX SaaS services" ,
22- "5 - RAG Sample App - Code Engine Toolchain Config " ,
21+ "5 - Sample RAG app - Application Lifecycle Management " ,
2322 "6 - Sample RAG app configuration" ,
2423 },
2524 })
2625
26+ privateKey , _ , kerr := common .GenerateTempGPGKeyPairBase64 ()
27+ if kerr != nil {
28+ t .Fatal (kerr )
29+ }
2730 options .StackInputs = map [string ]interface {}{
28- "resource_group_name" : options .ResourceGroup ,
29- "ibmcloud_api_key" : options .RequiredEnvironmentVars ["TF_VAR_ibmcloud_api_key" ],
30- "prefix" : options .Prefix ,
31+ "resource_group_name" : options .ResourceGroup ,
32+ "ibmcloud_api_key" : options .RequiredEnvironmentVars ["TF_VAR_ibmcloud_api_key" ],
33+ "prefix" : options .Prefix ,
34+ "signing_key" : privateKey ,
35+ "secret_manager_service_plan" : "standard" ,
3136 }
3237
3338 err := options .RunProjectsTest ()
0 commit comments