CloudSpec is still in its early days. If you find any inconsistency, typo or bug, please report it to us through Github’s issues. Sorry for any inconvenience.
Examples
Some CloudSpec examples.
set aws:regions = ["us-east-1", "eu-west-1"]
use "my_module.cs" as my_mod
rule "Buckets must have access logs enabled"
on aws:s3:bucket
assert access_logs is enabled
end
rule "Instances must use 'gp2' volumes and be at least 50GiBs large."
on aws:ec2:instance
with tags["environment"] equal to "production"
assert devices (
> volume (
type equal to "gp2" and
size gte 50
)
)
end
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified January 1, 0001