remove AWS_REGION from kiosk-training definition #92
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The tensorflow file-system can natively use the cloud bucket filesystems with the protocol prefix (e.g.
s3://bucket/key
). For AWS, the S3 buckets are globally accessible (names must be unique across all regions).The kiosk is deployed in
AWS_REGION=us-west-2
. This environment variable is accessible for the training jobs to use. However, this value ofAWS_REGION
causes the following error:This error is resolved by changing
AWS_REGION=us-east-1
, the default region value. Usingus-east-1
, training works as expected. I expect this is caused by the global nature of buckets, and using the "global" protocol value ofs3://bucket/key
clashes with the non-defaultAWS_REGION
value.I'm unsure of the ultimate root cause, but setting the AWS_REGION for the kiosk-training to the default region resolves the AWS 301 error seen
kiosk-training
: fixes vanvalenlab/kiosk-training#5.