This repository contains templates that are used to provide shared infrastructure components for atlassian quickstart templates
Additionally, this repository uses git submodules
to reference other shared infrastructure templates.
Most templates within the templates
directory (except for quickstart-cloudwatch-dashboard.yaml
), can be directly edited, tested (using cfn-lint
) and deployed to AWS.
The CloudWatch template (templates/quickstart-cloudwatch-dashboard.yaml
) creates a simple CloudWatch dashboard to visualize a few common metrics and logs. The purpose of this template is to provide a starting point for customers to view necessary metrics and logs that are relevant to their deployment. When a developer wants to update the CloudWatch
dashboard, the following steps have to be executed in this order -
- The Dashboard config (
config/dashboard_config.json
) is a JSON file describing the CloudWatch dashboard configuration. This file has to be updated with a valid dashboard configuration JSON document. See this page for the correct structure and syntax. - If desired, the template definition
quickstart-cloudwatch-dashboard.yaml.template
may be updated to define/edit/remove resources, conditions, parameters, outputs and other cloudformation primitives.Note: The template defines a marker string called DASHBOARD_CONFIG which will be replaced by the contents of the dashboard configuration JSON in the next step
- Run
make create_dashboard_template
from the project root directory. This command updates the template (templates/quickstart-cloudwatch-dashboard.yaml
) using the dashboard configuration and the template definition. - Lint & test the generated template with
cfn-lint templates/<template_name>
- If successful, commit all 3 files - the config, template definition and the generated template.