Skip to content

About

Platform-owned Stacksmith configuration and reusable modules

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

Stacksmith platform example

This repository owns a private_bucket component and its AWS implementation. The application repository selects the component without authoring Terraform resources. Public access is blocked by the module, rather than an optional application input.

Use this with the application example. The application pins this configuration to a commit. Review a configuration change here, then deliberately update that pin in the application repository.

The module creates an empty S3 bucket in us-east-1. It does not force-delete objects. Empty the bucket before destroying it. Remote state belongs in a separate bootstrap bucket and must outlive the application resources.

Validate without AWS

From modules/bucket, run tofu init -backend=false, tofu validate, and tofu test. The test uses a mock AWS provider, verifies public-access blocking, and checks that destroy cannot silently delete objects. No AWS credentials or resources are used.

About

Platform-owned Stacksmith configuration and reusable modules

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages