You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: terraform/account-wide-infrastructure/README.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,9 +69,9 @@ If that has worked, you should see: "Your account is successfully connected thro
69
69
70
70
### Build and publish the container image for CI build
71
71
72
-
Once all the mgmt infra has been deployed, you need to build and publish the CI image to the ECR repo.
72
+
Once all the mgmt infra has been deployed, you need to build and publish the CI image to the ECR repo. Also follow these steps to update the CI build image.
73
73
74
-
To do this, first build the image as follows:
74
+
To do this, from the top-level of the repo, build the image as follows:
75
75
76
76
```
77
77
make build-ci-image
@@ -89,6 +89,8 @@ and push the image:
89
89
make publish-ci-image
90
90
```
91
91
92
+
This will create an image with a YYYY-MM-DD tag. You can then update the CI_IMAGE_TAG variable in `mgmt/vars.tf" and redeploy the mgmt resources to update codebuild to use the tagged image.
93
+
92
94
## Deploy account wide resources
93
95
94
96
> Run the [Deploy Account-wide infrastructure](https://github.com/NHSDigital/NRLF/actions/workflows/deploy-account-wide-infra.yml) github workflow to deploy account wide infrastructure. Select your branch/tag and `account-dev`, `account-test`, or `account-prod` to deploy infra to the corresponding account.
0 commit comments