fireflycons / PSCloudFormation

Easy CloudFormation deployments from PowerShell command line. Exports CloudFormation Stacks to Terraform
MIT License
6 stars 0 forks source link
aws cloudformation

PSCloudFormation

Build status

A set of PowerShell cmdlets for manipulating AWS CloudFormation stacks, and generating Terraform configuration from existing CloudFormation stacks.

Features

Experimental Features

Dependencies

This module depends on AWS.Tools version 4.1.16.0 or higher which you should install/upgrade to first

Required AWS.Tools modules:

New Documentation Site

Head over here for further reading and more in-depth discussion on the featues of this module.

How to Install

The module is published on the PowerShell Gallery and can be installed by following the instructions there.

Up until v3.x, there were two versions of this module published, one for Windows PowerShell and another for PowerShell Core for Linux/Mac. From now on, there is only the one module which works on all platforms.

The last version to support monolithic AWSPowerShell is v2.2.2 which can still be pulled from PSGallery.

PowerShell (Windows/Mac/Linux)

PowerShell Gallery

For non-Windows users

Module Cmdlets

All the cmdlets support the standard AWSPowerShell Common Credential and Region Parameters.

For full syntax and some examples, use Get-Help on the module's cmdlets.

Stack Modification Cmdlets

This module provides the following stack modification cmdlets

Other Cmdlets

Oversize templates in your local file system (file size >= 51,200 bytes) are directly supported. They will be silently uploaded to an S3 bucket which is created as necessary prior to processing with a delete after 7 days lifecycle policy to prevent buildup of rubbish. The bucket is named ps-templates-pscloudformation-region-accountid where

Dynamic Template Parameter Arguments

Once the CloudFormation template location is known, it is parsed in the background and everything in the Parameters block of the template is extracted and turned into cmdlet arguments. Read more here.

Notes

Thanks to