To maintain control over your data and ensure high performance, utilize different storage providers to store router artifacts on Amazon S3, while still using our Cosmo Managed offering.
storage_providers
section of your config.yaml
file.
true
when you point to an S3 that uses https://node IAM roles
you don’t need to provide an access_key
or secret_key
and the S3 client will handle this on your behalf.
provider_id
field.
object_path
field points to the file in your bucket that is updated after each schema deployment in your CI/CD pipeline. The following snippet illustrates how it could look like:
provider_id
field.
object_prefix
field points to the location in the bucket where the persisted operations are uploaded. Each persisted operation needs to follow the naming convention: SHA256 of the file + .json
as filename extension. A persisted operation is a JSON document and must follow the following structure:
version
: The version of the persisted operation format.
body
: The actual content of the persistent operation.