Skip to main content

S3

Static Units with the type of s3, will have all of its contained files, uploaded to an s3 bucket. The static unit can be further configured through the pulumi_params field.

note

There is currently no specific configuration for the type of s3

Examples

static_unit:
MyStaticunit:
type: s3

Notes

  • If the static unit sets the index_document and does not have content_delivery_network:id set, then the static units structure must adhere to the guidlines in the AWS documentation.
  • If the static unit sets content_delivery_network:id, klotho will put the s3 bucket behind a cloudfront distribution.