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

test: Multiple deployment: Multiple deployment of the stack in same account (using different input prefix)

Closed this issue · 3 comments

Description

Context: #17

when I created multiple deployments (stacks) in the same project with different prefixes, it started to deploy the already deployed stack again.

Steps I followed:

  • Created a stack in the project deployment1
  • Deployed deployment1 successfully.
  • Created another stack in the project deployment2
  • Ran the script to deploy the deployment2 stack

Observations -

  • Changed status of deployment1 stack from "deployed" to "waiting"
  • deployment2 stack looks paused. I assume it will deploy after the deployment1 stack re-deployed. The execution is currently going on, I will confirm this hypothesis once the execution is completed.

image

@rajatagarwal-ibm Trusted profile needs a prefix, I got the error when running the stack twice on an account:

"The name 'deploy-trusted-profile' must be unique within Account '0ac6c451c87b4daf958a7052ebef6dfa'."

I attempted in UI and able to deploy 2 stacks in the project.

image