Skip to content

Commit 0d319b8

Browse files
author
chadkluck
committed
updated documentation for setting up sam-config repo
1 parent 3459923 commit 0d319b8

File tree

1 file changed

+24
-2
lines changed

1 file changed

+24
-2
lines changed

docs/01-Set-Up-AWS-Account-and-Config-Repo.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,10 +218,10 @@ Developers will need an ARN of the service role to use for deploying application
218218
Be sure to replace `acme` with your Prefix and `ADMIN_PROFILE` with a profile that has permissions to create service roles.
219219

220220
```bash
221-
./cli/configure.py service-role acme pipeline --profile ADMIN_PROFILE
221+
./cli/config.py service-role acme pipeline --profile ADMIN_PROFILE
222222
```
223223

224-
After configuring the role, deploy using the `deploy.py` script.
224+
After configuring the role, deploy using the `deploy.py` script (or choose Deploy Now at the end of the config.py script).
225225

226226
```bash
227227
./cli/deploy.py service-role acme pipeline --profile ADMIN_PROFILE
@@ -233,6 +233,28 @@ For example, for the prefix `acme`, update `defaults/acme-defaults.json` and set
233233

234234
Be sure to commit your changes to the SAM config repository for others to use.
235235

236+
## 5. Create Storage Service Role
237+
238+
Developers will need an ARN of the service role to use for deploying storage stacks from the script CLI.
239+
240+
Be sure to replace `acme` with your Prefix and `ADMIN_PROFILE` with a profile that has permissions to create service roles.
241+
242+
```bash
243+
./cli/config.py service-role acme storage --profile ADMIN_PROFILE
244+
```
245+
246+
After configuring the role, deploy using the `deploy.py` script (or choose Deploy Now at the end of the config.py script).
247+
248+
```bash
249+
./cli/deploy.py service-role acme storage --profile ADMIN_PROFILE
250+
```
251+
252+
Get the ARN of the service role from the output and add to the `*-defaults.json` file for the prefix.
253+
254+
For example, for the prefix `acme`, update `defaults/acme-defaults.json` and set `atlantis.StorageServiceRoleArn`.
255+
256+
Be sure to commit your changes to the SAM config repository for others to use.
257+
236258
## Set-Up Complete
237259

238260
Do a run through of using the `create_repo.py`, `config.py`, and `deploy.py` scripts to ensure everything is working.

0 commit comments

Comments
 (0)