Skip to content
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

Azure-native error when deploying SRE with DSH Pulumi #2066

Closed
4 of 5 tasks
dsj976 opened this issue Jul 31, 2024 · 1 comment · Fixed by #2068
Closed
4 of 5 tasks

Azure-native error when deploying SRE with DSH Pulumi #2066

dsj976 opened this issue Jul 31, 2024 · 1 comment · Fixed by #2068
Labels
bug Problem when deploying a Data Safe Haven.
Milestone

Comments

@dsj976
Copy link
Contributor

dsj976 commented Jul 31, 2024

✅ Checklist

  • I have searched open and closed issues for duplicates.
  • This is a problem observed when deploying a Data Safe Haven.
  • I can reproduce this with the latest version.
  • I have read through the documentation.
  • This isn't an open-ended question (open a discussion if it is).

💻 System information

  • Operating System:
  • Data Safe Haven version: branch tresa-testing

📦 Packages

List of packages
Paste list of packages here

🚫 Describe the problem

I get the following error when running dsh sre deploy sandbox_sre:

Diagnostics:                                                                                                                        
  azure-native:operationalinsights:Workspace (sre_monitoring_log_analytics):                                                        
    error: azure-native:operationalinsights:Workspace resource 'sre_monitoring_log_analytics' has a problem: 'workspaceName' does   
not match expression '^[A-Za-z0-9][A-Za-z0-9-]+[A-Za-z0-9]$' 

🌳 Log messages

Relevant log messages
Your log details here

♻️ To reproduce

@dsj976 dsj976 added the bug Problem when deploying a Data Safe Haven. label Jul 31, 2024
@jemrobinson jemrobinson changed the title Azure-native error when deploying SRE with DSH Palumi Azure-native error when deploying SRE with DSH Pulumi Jul 31, 2024
@jemrobinson jemrobinson added this to the Release 5.0.0-rc3 milestone Jul 31, 2024
@jemrobinson
Copy link
Member

This is caused by the use of underscores in the SRE name which need to be converted to - before they can be used as Azure resource names.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Problem when deploying a Data Safe Haven.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants