Skip to main content

No project description provided

Project description

CFN-TRANSFORM

Installation and Quick Start

Pre-Requisites

  • cfn-transform requires python 3.7 or greater
  • cfn-transform is installed via pip

Installation

The recommended and tested way fo installing cfn-transform is via pip.

cfn-transform can be installed using the following command:

pip install cfn-transform

Quick Usage

Once you have your cfn-transform installed, you are now free to utilize our PyPi.

Run either of the following commands to view our current supported options for cfn-transform.

cfn-transform --help

Overview

What is cfn-transform

Cfn-transform is a command-line utility used to return transformed SAM templates.

With cfn-transform , you are able to return a fully transformed SAM template either to the command line or directly to a file. Unlike other tools for returning transformed files, cfn-transform does not require any AWS credentials and can be ran locally on your machine.

How does it work?

Cfn-transform works by utilizing the functionality of the decode command within cfn-lint. The current linter creates the transformed template using aws-sam-cli.samtranslator and checks it to make sure that it is a valid template. Cfn-transform uses the same translator, and returns it to be displayed for the user. Similarly to the process used in cfn-lint, the current library returns a default transformation for the region us-east-1.

Features

Commands currently supported :

cfn-transform [example.json]
cfn-transform [example.yaml]

Base command to return transformed to command line

Command Options currently supported :

cfn-transform [example.json] -f [text.txt]
cfn-transform [example.yaml] --file [text.txt]

Option to attach to return transformed to a specified text file

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cfn-transform-0.1.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

cfn_transform-0.1-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file cfn-transform-0.1.tar.gz.

File metadata

  • Download URL: cfn-transform-0.1.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for cfn-transform-0.1.tar.gz
Algorithm Hash digest
SHA256 7024ba00481c987b09a6e69ba9a6e2018d1ac910ec9651533ee176b6e72204eb
MD5 0410ed648b7087e13214cc3015c42678
BLAKE2b-256 e7767d13b0b7c6b2ad4a1472599c6d375b4fa1a03413021011aa74a7affbffbf

See more details on using hashes here.

File details

Details for the file cfn_transform-0.1-py3-none-any.whl.

File metadata

  • Download URL: cfn_transform-0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for cfn_transform-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2afb1fcad07829d734cb4cf21e71c61170833d98aeaabf829fd5cb04645a2119
MD5 65fd21fa05ae037f7af2514173ae0265
BLAKE2b-256 79ea430da8680608aacd23ede8cd95151a44f92a404b45303402bc9d7d4eceef

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page