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

Reorganise Pulumi folder #1599

Conversation

jemrobinson
Copy link
Member

@jemrobinson jemrobinson commented Sep 11, 2023

✅ Checklist

  • You have given your pull request a meaningful title (e.g. Enable foobar integration rather than 515 foobar).
  • You are targeting the appropriate branch. If you're not certain which one this is, it should be develop.
  • Your branch is up-to-date with the target branch (it probably was when you started, but it may have changed since then).
  • You have marked this pull request as a draft and added '[WIP]' to the title if needed (if you're not yet ready to merge).
  • You have formatted your code using appropriate automated tools (for example ./tests/AutoFormat_Powershell.ps1 -TargetPath <path to file or directory> for Powershell).

⤴️ Summary

New directory structure

data_safe_haven/infrastructure
├── __init__.py
├── common
│   ├── __init__.py
│   ├── enums.py
│   ├── ip_ranges.py
│   └── transformations.py
├── components
│   ├── __init__.py
│   ├── composite
│   │   ├── __init__.py
│   │   ├── automation_dsc_node.py
│   │   ├── local_dns_record.py
│   │   ├── microsoft_sql_database.py
│   │   ├── postgresql_database.py
│   │   └── virtual_machine.py
│   ├── dynamic
│   │   ├── __init__.py
│   │   ├── azuread_application.py
│   │   ├── blob_container_acl.py
│   │   ├── compiled_dsc.py
│   │   ├── dsh_resource_provider.py
│   │   ├── file_share_file.py
│   │   ├── remote_powershell.py
│   │   └── ssl_certificate.py
│   └── wrapped
│       ├── __init__.py
│       ├── automation_account.py
│       └── log_analytics_workspace.py
├── stack_manager.py
└── stacks
    ├── __init__.py
    ├── declarative_shm.py
    ├── declarative_sre.py
    ├── shm
    │   ├── __init__.py
    │   ├── bastion.py
    │   ├── data.py
    │   ├── domain_controllers.py
    │   ├── firewall.py
    │   ├── monitoring.py
    │   ├── networking.py
    │   └── update_servers.py
    └── sre
        ├── __init__.py
        ├── application_gateway.py
        ├── backup.py
        ├── data.py
        ├── database_servers.py
        ├── dns_server.py
        ├── gitea_server.py
        ├── hedgedoc_server.py
        ├── monitoring.py
        ├── networking.py
        ├── remote_desktop.py
        ├── software_repositories.py
        ├── user_services.py
        └── workspaces.py

🌂 Related issues

Closes #1561. Closes #1575. Closes #1591.

🔬 Tests

Tested on a fresh deployment:

  • SHM deployment: 15 minutes + 5 minutes for DNS to propagate
  • SHM configuration (Entra setup): 15 minutes
  • SRE deployment: 15 minutes

@jemrobinson jemrobinson changed the title Reorganise Pulumi folder [WIP] Reorganise Pulumi folder Sep 11, 2023
@jemrobinson jemrobinson changed the title [WIP] Reorganise Pulumi folder Reorganise Pulumi folder Sep 14, 2023
@jemrobinson jemrobinson marked this pull request as ready for review September 14, 2023 08:19
@jemrobinson jemrobinson force-pushed the 1561-refactor-pulumi-folder branch from 770d32f to 1cfebf1 Compare September 14, 2023 08:35
@jemrobinson jemrobinson merged commit 432ad39 into alan-turing-institute:python-migration Sep 14, 2023
6 checks passed
@jemrobinson jemrobinson deleted the 1561-refactor-pulumi-folder branch April 19, 2024 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant