# aws-parameter-file-to-string

> A CLI to transform a JSON file with parameters to a string with parameters for AWS CloudFormation

Latest version **0.1.1** (published 2018-08-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install aws-parameter-file-to-string
pnpm add aws-parameter-file-to-string
yarn add aws-parameter-file-to-string
bun add aws-parameter-file-to-string
```

Provides the command `aws-parameter-file-to-string`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2018-08-27 |
| First published | 2018-08-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=8.11.4 |
| Dependencies | 1 |
| Unpacked size | 3.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Carl Bergman, |
| Maintainers | carlbergman |
| Keywords | aws, cloudformation |

## Links

- npm: https://www.npmjs.com/package/aws-parameter-file-to-string
- Repository: https://github.com/carlbergman/aws-parameter-file-to-string
- Homepage: https://github.com/carlbergman/aws-parameter-file-to-string#readme
- Issues: https://github.com/carlbergman/aws-parameter-file-to-string/issues
- npm.io page: https://npm.io/package/aws-parameter-file-to-string

## Dependencies (1)

- [stdio](https://npm.io/package/stdio.md) ^0.2.7

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 0.1.1 (latest) — 2018-08-27
- 0.1.0 — 2018-08-27
- 0.0.1 — 2018-08-27

## README

# aws-parameter-file-to-string

A CLI to transform a JSON file with parameters to a string with parameters for AWS CloudFormation.

The reason is that `aws cloudformation create-stack` and `aws cloudformation update-stack` takes a path to a file as parameters, but `aws cloudformation deploy` takes an option named `--parameter-overrides` that is a string with parameters.

```
[
  {
    "ParameterKey": "Foo",
    "ParameterValue": "someValue"
  }
]
```

Will get transformed into

```
"Foo=someValue"
```

When https://github.com/aws/aws-cli/issues/3445 is resolved, this package won't be needed.

## Installation

```
npm install aws-parameter-file-to-string
```

## Usage

```
USAGE: aws-parameter-file-to-string -i path/to/param-file.json
The following options are supported:
  -i, --input <ARG1> 	The path to an AWS parameter file in JSON format (mandatory)
```

## Testing

```
npm run test
```

---
_Source: https://npm.io/package/aws-parameter-file-to-string · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
