New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SHM and SRE should not be allowed to share a name #1850
Comments
Does it let you do that? I thought I had prevented that from happening, data-safe-haven/data_safe_haven/config/pulumi.py Lines 41 to 54 in c1d0adc
Do we want to allow different components to have identical names? |
It's possible that writing Alternatively, we could add an |
Hmm, In that case I would guess 'create_or_select_project` would fetch the existing Pulumi configuration and stack state. Deploying would presumably then delete the SHM as it isn't defined in the SRE program. I think adding an enum to |
@jemrobinson Does this still need to be done, or are we expecting to remove the SHM entirely for rc2? |
Let's leave it until we've worked out whether that's possible. |
Related to #1900. Will not be necessary if that is closed. |
✅ Checklist
💻 System information
🚫 Describe the problem
If an SHM and SRE share a name then the keys in
pulumi.yaml
will be clobbered.This happens because the YAML file does not distinguish between SHM and SRE projects, e.g.
🌳 Log messages
Relevant log messages
♻️ To reproduce
The text was updated successfully, but these errors were encountered: