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/backup/README.md
+13-3Lines changed: 13 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ provided by NHSDigital in https://github.com/NHSDigital/terraform-aws-backup.
6
6
## Usage
7
7
8
8
The `source` directory contains the configuration to be applied in the main AWS account where the app is running.
9
-
It is set up with the `terraform-backup-module.yml` GitHub Action workflow.
9
+
It is set up with the `deploy-backup-infrastructure.yml` GitHub Action workflow.
10
10
11
11
The `destination` directory contains the configuration to be applied in a different AWS account that stores the backup of the backup.
12
12
It will rarely change. In case of changes, terraform needs to be run manually.
@@ -18,8 +18,18 @@ To set up the backup infrastructure from scratch, follow these steps:
18
18
It returns the ARN of the destination vault that is created.
19
19
3. Put the ARN of the destination vault in the \*.tfvars file in the `source` directory.
20
20
4. Create an AWS policy based on the `aws-backup-policy.json` file.
21
-
This policy should be attached to the IAM role that is used by the `terraform-backup-module.yml` GitHub Action workflow.
22
-
5. Set up the **source** account by running the `terraform-backup-module.yml` GitHub Action workflow.
21
+
This policy should be attached to the IAM role that is used by the `deploy-backup-infrastructure.yml` GitHub Action workflow.
22
+
5. Set up the **source** account by running the `deploy-backup-infrastructure.yml` GitHub Action workflow.
23
+
24
+
### Personal Access Token
25
+
26
+
The `deploy-backup-infrastructure.yml` GitHub Action workflow requires a personal access token to be set in the repository secrets to be able to fetch the terraform module.
27
+
This token has a limited lifetime. If it has expired, create a new fine-grained personal access token as described in the [GitHub documentation](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-fine-grained-personal-access-token)
0 commit comments