# Complex static-assets deployment (S3 + CloudFront + WAF)
# Modify variant: same bucket_name as simple (in-place modify, tunes CDN
# TTLs + price class + viewer protocol policy). The simple example uses
# the cloudfront interface defaults (default_ttl=3600, max_ttl=86400,
# PriceClass_100, redirect-to-https); this complex example sets explicit
# non-default values so the lifecycle "modify" step exercises a real
# terraform diff on the cloudfront distribution, not an idempotent
# re-apply.
environment: dev
id: assets
infrastructure:
  static-assets:
    inputs:
      bucket_name: my-static-site
      default_ttl: 7200
      max_ttl: 172800
      price_class: PriceClass_200
      region: us-east-1
      viewer_protocol_policy: https-only
    version: 1.0.0
name: static assets