Skip to content

Commit

Permalink
Fix failing AWS CLI calls when no region is used
Browse files Browse the repository at this point in the history
  • Loading branch information
rquadling committed Dec 15, 2023
1 parent 30232d6 commit a6dc586
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/script_removes_all_files/expected_variables.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"aws_cli_query": "max_by(Contents, &Size)",
"external_id": "",
"profile": "",
"region": "",
"region": "eu-west-1",
"role_session_name": ""
}
1 change: 1 addition & 0 deletions tests/script_removes_all_files/terraform.tfvars
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
aws_cli_commands = ["s3api", "list-objects", "--bucket=ryft-public-sample-data", "--no-sign-request"]
aws_cli_query = "max_by(Contents, &Size)"
region = "eu-west-1"

alternative_path = "test-reports/script_removes_all_files/aws"
2 changes: 1 addition & 1 deletion tests/script_retains_all_files/expected_variables.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"aws_cli_query": "max_by(Contents, &Size)",
"external_id": "",
"profile": "",
"region": "",
"region": "eu-west-1",
"role_session_name": ""
}
1 change: 1 addition & 0 deletions tests/script_retains_all_files/terraform.tfvars
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
aws_cli_commands = ["s3api", "list-objects", "--bucket=ryft-public-sample-data", "--no-sign-request"]
aws_cli_query = "max_by(Contents, &Size)"
region = "eu-west-1"

alternative_path = "test-reports/script_retains_all_files/aws"
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"aws_cli_query": "max_by(Contents, &Size)",
"external_id": "",
"profile": "",
"region": "",
"region": "eu-west-1",
"role_session_name": ""
}
1 change: 1 addition & 0 deletions tests/test_data_retrieval_with_no_arn/terraform.tfvars
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
aws_cli_commands = ["s3api", "list-objects", "--bucket=ryft-public-sample-data", "--no-sign-request"]
aws_cli_query = "max_by(Contents, &Size)"
region = "eu-west-1"

alternative_path = "test-reports/test_data_retrieval_with_no_arn/aws"

0 comments on commit a6dc586

Please sign in to comment.