I’ve created the keys bucket for each object as they didn’t appear in the great_expectations.yml file, and when I’ve tested it (great_expectations store list), I’ve got the error TupleFilesystemStoreBackend.init() got an unexpected keyword argument ‘bucket’.
LabID - mvpevjqzuzyy
Did the assignment instructions ask you to do that?
A mentor for this course will answer that.
To reset your files and start fresh:
- Open the Jupyter file browser, select
great_expectations.yml, and rename or delete it. - Click the Lab Help button in the top-right corner of the workspace.
- Click Get Latest Version to restore the original files.
@arman101 I’ve done it, and after initiating great_expectations(great_expectations init) it created the file, but without the buckets and prefix Keys are as shown in the notebook, so how should I continue, and what should I insert into the yml file?
That’s expected. great_expectations init generates a default config for local filesystem storage. The lab instructions tell you to modify it for S3.
The notebook gives you the exact YAML blocks to copy in. Re-read step 1.3 and step 1.4 carefully:
- Step 1.3 has three code blocks you need to copy into
gx/great_expectations.yml, replacing the existingexpectations_store,validations_store, andcheckpoint_storesections under thestoreskey. Each one changes theclass_namefromTupleFilesystemStoreBackendtoTupleS3StoreBackendand usesbucket+prefixinstead ofbase_directory. - Step 1.4 has a code block that replaces the
local_siteblock underdata_docs_siteswith anS3_siteblock.
For the bucket value, go to your AWS Console → CloudFormation → click the stack → Outputs tab. Copy the bucket name from the GXArtifactsS3Bucket row for step 1.3, and GXDocsS3Bucket for step 1.4. Or run aws s3 ls in the terminal.
Two things to watch for:
- Indentation: YAML breaks silently if it’s off by even one space. Match the indentation shown in the notebook exactly.
- Replace, don’t append: remove the old
TupleFilesystemStoreBackendblocks before pasting the new ones. Don’t leave both in the file.
After saving, run great_expectations store list in the terminal (step 1.5) to verify the stores are pointing to S3.
To get a fresh copy of the yml file: use Lab Help → Get Latest Version in the top-right of the workspace.
@arielgal There is no update for around 20 days from you. Can you please confirm if we can proceed to close this topic?
YES you can close it ![]()
Thanks! I am closing this topic

