Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/food-x-technologies/puff
Converts YAML to Azure ARM Template Parameters files, helping you control deployments into multiple environments, globally.
https://github.com/food-x-technologies/puff
azure azure-arm azure-arm-template azure-arm-templates azure-devops code-generation iaac infrastructure-as-code json json-gen yaml
Last synced: 11 days ago
JSON representation
Converts YAML to Azure ARM Template Parameters files, helping you control deployments into multiple environments, globally.
- Host: GitHub
- URL: https://github.com/food-x-technologies/puff
- Owner: Food-X-Technologies
- License: mit
- Created: 2020-09-05T05:29:07.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-10-14T07:54:49.000Z (about 3 years ago)
- Last Synced: 2024-12-15T22:33:43.058Z (14 days ago)
- Topics: azure, azure-arm, azure-arm-template, azure-arm-templates, azure-devops, code-generation, iaac, infrastructure-as-code, json, json-gen, yaml
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/@foodx/puff
- Size: 113 KB
- Stars: 1
- Watchers: 2
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Introduction
Convert yaml into Azure ARM parameters templates (json). Checkout the [examples](https://github.com/Food-X-Technologies/puff-example).## Node
```
node ./index.js
```## NPM
```
"scripts": {
"puff": "puff",
"puffin": "puff -d"
}
```
### Generate
```
$ npm run puff
```#### Delete
```
$ npm run puffin
```## .puffignore
A file named .puffignore on the execution folder can provide a list of patterns to be ignored.```
# ignore all files inside the ignore folder (including nested folders)
ignore/**/*# ignore all files that matches the pattern (including nested folders)
**/*-old# ignore specic file
folder/file.yml
```Comments must always start at the beggining of the line `ignore.yml # won't work`
Negative pattern are not allowed `!(ignore/**/dont-ignore.yml)` won't create an exeption to a previous ignore rule like .gitignore does.
# Examples
## [Input (yaml)](https://github.com/Food-X-Technologies/puff-example/blob/main/example-simple/example.yml)
## Outputs (json)
### 1. [ex-service1.one.abc.json](https://github.com/Food-X-Technologies/puff-example/blob/main/example-simple/ex-service1.one.abc.json)
### 2. [ex-service1.two.xyz.json](https://github.com/Food-X-Technologies/puff-example/blob/main/example-simple/ex-service1.two.xyz.json)