Cloud Operations Sandbox is an open source collection of tools that helps practitioners to learn O11y and R9y practices from Google and apply them using Cloud Operations suite of tools.
Apache License 2.0
406
stars
148
forks
source link
feat: Support configuration-based provisioning of Cloud Ops artifacts (part 1) #1036
Change the provisioning of the Cloud Ops Sandbox artifacts from being hardcoded in Terraform to the configured using external YAML files. Terraform will process the configuration's files to provision the same set of artifacts from the configuration. The specific configuration is determined based on the configuration's ID and the constant root path within the repository (i.e. configurations/{ID}).
This PR includes:
Adding a new workflow to applying lint and schema validations to configuration files on any change to configuration or schema files
Adding test configurations for basic validation of the schema and further support of the unit testing of Terraform scripts (vs. known execution plan)
Changing repo's folder structure to add /configurations folder for configurations and /provisioning/schemas/configuration for configuration's schemas
What this PR does / why we need it:
Change the provisioning of the Cloud Ops Sandbox artifacts from being hardcoded in Terraform to the configured using external YAML files. Terraform will process the configuration's files to provision the same set of artifacts from the configuration. The specific configuration is determined based on the configuration's ID and the constant root path within the repository (i.e.
configurations/{ID}
).This PR includes:
/configurations
folder for configurations and/provisioning/schemas/configuration
for configuration's schemasWhich issue(s) this PR fixes:
Partially fixes #1020 Partially fixes #1026 Fixes #1037
Special notes for a reviewer:
See for feat: Support configuration-based provisioning of Cloud Ops artifacts (part 2) PR #1038