terraform-ibm-modules / stack-retrieval-augmented-generation

Apache License 2.0
1 stars 8 forks source link

Failure when skipping WML project creation by Watson SaaS DA #133

Open in-1911 opened 2 weeks ago

in-1911 commented 2 weeks ago

Description

In a scenario where the stack is deployed while re-using most of the resources (security services, Watson SaaS), I would like to be able to configure the stack variables to skip creating a new project (-demo by default).

The Watson SaaS rel.1.1.2 allows passing __NULL__ as project name and will skip the project creation.

With the current stack available in the catalog (rel.1.0.0) changing the watsonx_project_name from demo to __NULL__ results in terraform error when it tries to destroy the project resource (due to https://github.com/terraform-ibm-modules/terraform-ibm-watsonx-saas-da/blob/03ac1a86afd1cdaad37aacb042a070505fc3b4ab/configure_project/main.tf#L59 )

Upgrading Watson SaaS DA to release 1.1.4+ in the stack definitioin should resolve the error.

New or affected modules


By submitting this issue, you agree to follow our Code of Conduct

in-1911 commented 2 weeks ago

Seems like Watson SaaS needs some fixes as well - https://github.com/terraform-ibm-modules/terraform-ibm-watsonx-saas-da/issues/97

in-1911 commented 1 week ago

Upgrade to Watson SaaS 1.1.4+ should fix that.