Application should be provisioned using Terraform. For each application that requires resources in AWS, create a Terraform root module for each account in which it will be deployed.
Code Block |
---|
infra/
applications/
example/
sandbox/
production/ |
To ensure that staging and production match, you can encapsulate stateful resources into a module:
Code Block |
---|
infra/
applications/
example/
modules/
state/ |
You can then this module to provision resources in each account. You can also use the Flightdeck application-config module to set up the namespace, service account, secrets, and role bindings in your cluster:
Code Block |
---|
Info |
The AWS Platform Guide now lives at thoughtbot.com Visit Application Terraform Modules to access this page's content |