Skip to content

Commit c9fbc9d

Browse files
authored
Correct AWS Bedrock commands in README (#4)
The AWS Bedrock commands in the README had incorrect syntax for setting the `AllowedModels` parameter.
1 parent 13595b3 commit c9fbc9d

1 file changed

Lines changed: 5 additions & 8 deletions

File tree

README.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,16 @@ aws <command> --profile <profile-name> --region <aws-region>
2525
- A name for your cloud formation stack that is unique and in all caps
2626
- A name for your s3 bucket
2727

28-
Things to consider:
28+
Things to consider:
2929

3030
- If you have multiple aws accounts you will need to pass in your profile --profile <name> to the args
3131
- If you do not have a default region set up you will also need to pass that in
3232

33-
3433
### CLI Command Using the YAML File
3534

3635
For this to work, you will need to download the YAML file or clone this repository.
3736

38-
If you are setting this up on an aws account that does not have the file stored in its own S3 you will need to use the local file.
39-
40-
37+
If you are setting this up on an aws account that does not have the file stored in its own S3 you will need to use the local file.
4138

4239
```term
4340
aws cloudformation create-stack --stack-name <STACK-NAME> --template-body file://<FILE-PATH> --region us-east-1 --parameters ParameterKey=BucketNameParameter,ParameterValue=<BUCKET-NAME> --capabilities CAPABILITY_NAMED_IAM
@@ -95,18 +92,18 @@ Our apps use AWS Bedrock for fast and low-cost LLM features. An IAM User with th
9592

9693
## Setup
9794

98-
First, an AWS Administrator will need to enable Amazon Bedrock organization-wide. They will have to request access to the models we want to use. To do this: Go to AWS Bedrock in the console and follow the instructions there. I've done this for our TN Staging and Production AWS orgs
95+
First, an AWS Administrator will need to enable Amazon Bedrock organization-wide. They will have to request access to the models we want to use. To do this: Go to AWS Bedrock in the console and follow the instructions there. We have already done this for ThinkNimble's AWS accounts in us-east-1.
9996

10097
### With File
10198

10299
```term
103-
aws cloudformation create-stack --stack-name <STACK-NAME> --template-body file://bedrock-user-permissions.yaml --region us-east-1 --parameters ParameterKey=ProjectName,ParameterValue=<PROJECTNAME> ParameterKey=<SOME_MODEL_ARN_OR_*_FOR_DEFAULT_ALL> --capabilities CAPABILITY_NAMED_IAM
100+
aws cloudformation create-stack --stack-name <STACK-NAME> --template-body file://bedrock-user-permissions.yaml --region us-east-1 --parameters ParameterKey=ProjectName,ParameterValue=<PROJECTNAME> ParameterKey=AllowedModels,ParameterValue=<SOME_MODEL_ARN_OR_*_FOR_DEFAULT_ALL> --capabilities CAPABILITY_NAMED_IAM
104101
```
105102

106103
### With URL
107104

108105
```term
109-
aws cloudformation create-stack --stack-name <STACK-NAME> --template-url 'https://tn-s3-cloud-formation.s3.amazonaws.com/bedrock-user-permissions.yaml' --region us-east-1 --parameters ParameterKey=ProjectName,ParameterValue=<PROJECTNAME> ParameterKey=<SOME_MODEL_ARN_OR_*_FOR_DEFAULT_ALL> --capabilities CAPABILITY_NAMED_IAM
106+
aws cloudformation create-stack --stack-name <STACK-NAME> --template-url 'https://tn-s3-cloud-formation.s3.amazonaws.com/bedrock-user-permissions.yaml' --region us-east-1 --parameters ParameterKey=ProjectName,ParameterValue=<PROJECTNAME> ParameterKey=AllowedModels,ParameterValue=<SOME_MODEL_ARN_OR_*_FOR_DEFAULT_ALL> --capabilities CAPABILITY_NAMED_IAM
110107
```
111108

112109
### Check Status & Outputs with File

0 commit comments

Comments
 (0)