infra/

directory
v0.0.0-...-5957262 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2022 License: Apache-2.0

README

Cobalt Templates

Templates are the implementation of Advocated Patterns. The scope of a template typically covers most of if not all of the infrastructure required to host an application and may provision resources in multiple cloud provider. Templates compose modules to create an advocated pattern. They are implemented as Terraform Modules so that they can be composed if needed, though it is more commonly the case that they need not be composed.

Cobalt Modules

Modules are the building blocks of templates. A module is a thin wrapper that enable simple common-sense configuration of related resources (typically 1-3 but sometimes more) within a cloud provider. These modules are implemented as Terraform Modules.

Directory Structure

The directory structure of Cobalt enalbes contributions for a variety of cloud providers.

$ tree -d
.
├── modules
│   └── providers
│       └── azure
│           ├── api-mgmt
│           ├── app-gateway
│           ├── app-insights
│           ├── app-monitoring
│           ├── app-service
│           ├── container-registry
│           ├── cosmosdb
│           ├── keyvault
│           ├── keyvault-cert
│           ├── keyvault-policy
│           ├── provider
│           ├── service-plan
│           ├── service-principal
│           ├── storage-account
│           └── traffic-manager
└── templates
    ├── az-hello-world
    │   └── tests
    │       ├── integration
    │       └── unit
    ├── az-isolated-service-single-region
    │   ├── docs
    │   └── tests
    │       ├── integration
    │       └── unit
    ├── az-service-single-region
    │   └── tests
    │       ├── integration
    │       └── unit
    └── backend-state-setup

License

Copyright © Microsoft Corporation

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL