cloudformation

module
v0.0.0-...-93f0f26 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2025 License: Apache-2.0

README

Cloud Formation Kilt Runtime

This kilt runtime alters cloud formation templates to apply kilt definitions. It installs a Cloud Formation Macro that will alter the incoming template.

Components

Commands
  • cmd/handler - the golang lambda functions powering the Macro
  • cmd/cfn-apply-kilt - test application that applies kilt transformation to a CFN template
  • cmd/cfn-image-info - test application that gets configuration for an image from repository

The handler is the main deliverable and the other applications exist to test and demo the functionality.

Patcher

The cfnpatcher is a general library to apply migrations to a template.

Usage

The installer will create a CFN macro that you can use to apply automatically instrumentation to task definitions. To use it with a macro called MyMacro add Transform: MyMacro or Transform: ["MyMacro"] to the root of your CFN Template.

There are 2 modes of operation for the macro, both selected during install. opt-in and opt-out. You can use the following tags to include or exclude pieces of your task definition:

  • "kilt-include": "<any-value>" - will apply instrumentation in opt-in mode of operation
  • "kilt-ignore": "<any_value>" - will not apply instrumentation in opt-out mode of operation
  • "kilt-include-containers": "containerA:ContainerB" - value is a colon separated list of container names. Will include only some contaiers in opt-in mode
  • "kilt-ignore-containers": "containerA:containerB" - will exclude some containers in opt-out mode

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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