Skip to content

Commit

Permalink
Merge pull request #36 from NHSDigital/feature/CCM-6250_shared_modules
Browse files Browse the repository at this point in the history
CCM-6250: shared modules
  • Loading branch information
aidenvaines-bjss authored Aug 28, 2024
2 parents 059188b + 0ea3f4e commit f0e73c7
Show file tree
Hide file tree
Showing 11 changed files with 850 additions and 204 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,6 @@ tests/test-team/test-results/
tests/test-team/playwright-report/
tests/test-team/blob-report/
tests/test-team/playwright/.cache/

#plugin-cache
plugin-cache/
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is for you! Please, updated to the versions agreed by your team.

terraform 1.7.0
terraform 1.9.2
pre-commit 3.6.0
nodejs 20.13.1
direnv 2.32.1
Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,3 +116,13 @@ Provide a way to contact the owners of this project. It can be a team, an indivi
Unless stated otherwise, the codebase is released under the MIT License. This covers both the codebase and any sample code in the documentation.

Any HTML or Markdown documentation is [© Crown Copyright](https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/uk-government-licensing-framework/crown-copyright/) and available under the terms of the [Open Government Licence v3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).

### Shared Terraform Modules

Before you setup modules for this repository and find that there might be modules that can be reused elsewhere, please do check out `https://github.com/NHSDigital/nhs-notify-shared-modules/`. If you find that the modules are shareable, you should set them up there as a separate PR and get that merged in and potentially tag the commit after testing it, so that it can be a stable release that can be used across all repos on Notify should others find the need to re-use that new module. You can simply point to the reference in your module call as below:

```hcl
module "amp_branch" {
source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/modules/amp_branch?ref=v1.0.0"
...
}
Loading

0 comments on commit f0e73c7

Please sign in to comment.