Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: small messaging clarifications #91

Merged
merged 2 commits into from
Aug 27, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion integ/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ To run all test suites:
* DEADLINE_STAGING_PATH - Complete path to local staging folder for Deadline assets (see `packages/aws-rfdk/docs/DockerImageRecipes.md` for more information)
* Options required for the Deadline repository test component:
* USER_ACCEPTS_SSPL_FOR_RFDK_TESTS - should be set to true. Setting this variable is considered acceptance of the terms of the SSPL license. Follow [this link](https://www.mongodb.com/licensing/server-side-public-license) to read the terms of the SSPL license.
* Options required for the Deadline worker fleet test component:
* Options required for the Deadline worker fleet test component (use `aws --region <region> ec2 describe-images --owners 357466774442 --filters "Name=name,Values=*Worker*" "Name=name,Values=*<version>*" --query 'Images[*].[ImageId, Name]' --output text` to discover AMI's):
* LINUX_DEADLINE_AMI_ID - set to the ID of an available Linux worker fleet AMI with Deadline installed.
* WINDOWS_DEADLINE_AMI_ID - set to the ID of an available Windows worker fleet AMI with Deadline installed.

Expand Down
2 changes: 1 addition & 1 deletion packages/aws-rfdk/bin/stage-deadline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ function getFile(props: GetFileProps) {
const success = spawnCommand('aws', props.verbose, cmdArgs);

if (!success) {
throw new Error(`Could not fetch ${props.uri.href}`);
throw new Error(`Could not fetch ${props.uri.href} (Are you authenticated?)`);
Copy link
Contributor

@ddneilson ddneilson Aug 27, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe "Are you authenticated with the AWS CLI?" to be a hair clearer/explicit?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

}

return path.join(props.targetFolder, uriFilename(props.uri));
Expand Down