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: README.md
+30Lines changed: 30 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,6 +42,36 @@ This will ensure that your VSCode bash terminal prompts you for your GPG key pas
42
42
43
43
You can cache the gpg key passphrase by following instructions at https://superuser.com/questions/624343/keep-gnupg-credentials-cached-for-entire-user-session
44
44
45
+
### Setup
46
+
47
+
Ensure you have the following lines in the file .envrc
48
+
49
+
```bash
50
+
export AWS_DEFAULT_PROFILE=prescription-dev
51
+
```
52
+
53
+
Once you have saved .envrc, start a new terminal in vscode and run this command to authenticate against AWS
54
+
55
+
```bash
56
+
make aws-configure
57
+
```
58
+
59
+
Put the following values in:
60
+
61
+
```text
62
+
SSO session name (Recommended): sso-session
63
+
SSO start URL [None]: <USE VALUE OF SSO START URL FROM AWS LOGIN COMMAND LINE ACCESS INSTRUCTIONS ACCESSED FROM https://myapps.microsoft.com>
64
+
SSO region [None]: eu-west-2
65
+
SSO registration scopes [sso:account:access]:
66
+
```
67
+
68
+
This will then open a browser window and you should authenticate with your hscic credentials
69
+
You should then select the development account and set default region to be eu-west-2.
70
+
71
+
You will now be able to use AWS and SAM CLI commands to access the dev account. You can also use the AWS extension to view resources.
72
+
73
+
When the token expires, you may need to reauthorise using `make aws-login`
74
+
45
75
### CI Setup
46
76
47
77
The GitHub Actions require a secret to exist on the repo called "SONAR_TOKEN".
0 commit comments