Example 7. Load rule sets from AWS S3 buckets and watch for changes.
cloud_blob:
watch_interval: 2m
buckets:
- url: gs://my-bucket
prefix: service1
- url: gs://my-bucket
prefix: service2
- url: s3://my-bucket/my-rule-set?region=us-west-1
Here, the provider is configured to poll multiple buckets with rule sets for changes every 2 minutes.
The first two bucket reference configurations reference actually the same bucket on Google Cloud Storage, but different blobs based on the configured blob prefix. The first one will let heimdall loading only those blobs, which start with service1
, the second only those, which start with service2
.
The last one instructs heimdall to load rule set from a specific blob, namely a blob named my-rule-set
, which resides on the my-bucket
AWS S3 bucket, which is located in the us-west-1
AWS region.