Skip to content

Commit

Permalink
fix: scoped to @znemz/cfn-include to publish 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nmccready committed Nov 6, 2024
1 parent f7a3bc7 commit 492e479
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
github: monken
github: nmccready
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Tag-based syntax is available in YAML templates. For example,`Fn::Include` becom
You can either install `cfn-include` or use a web service to compile templates.

```
npm install --global cfn-include
npm install --global @znemz/cfn-include
```

The web service can be called with your favorite CLI tool such as `curl`.
Expand Down Expand Up @@ -123,7 +123,7 @@ This is what the `userdata.sh` looks like:
```bash
cfn-include synopsis.json > output.template
# you can also compile remote files
cfn-include https://raw.githubusercontent.com/monken/cfn-include/master/examples/synopsis.json > output.template
cfn-include https://raw.githubusercontent.com/nmccready/cfn-include/master/examples/synopsis.json > output.template
```

The output will be something like this:
Expand Down Expand Up @@ -1133,7 +1133,7 @@ Outputs:

## More Examples

See [/examples](https://github.com/monken/cfn-include/tree/master/examples) for templates that call an API Gateway endpoint to collect AMI IDs for all regions. There is also a good amount of [tests](https://github.com/monken/cfn-include/tree/master/t) that might be helpful.
See [/examples](https://github.com/nmccready/cfn-include/tree/master/examples) for templates that call an API Gateway endpoint to collect AMI IDs for all regions. There is also a good amount of [tests](https://github.com/nmccready/cfn-include/tree/master/t) that might be helpful.

A common pattern is to process a template, validate it against the AWS [validate-template](https://docs.aws.amazon.com/cli/latest/reference/cloudformation/validate-template.html) API, minimize it and upload the result to S3. You can do this with a single line of code:

Expand Down Expand Up @@ -1166,5 +1166,5 @@ Options are query parameters.
To compile the synopsis run the following command.

```
curl -Ssf -XPOST https://api.netcubed.de/latest/template -d '{"Fn::Include":"https://raw.githubusercontent.com/monken/cfn-include/master/examples/synopsis.json"}' > output.template
curl -Ssf -XPOST https://api.netcubed.de/latest/template -d '{"Fn::Include":"https://raw.githubusercontent.com/nmccready/cfn-include/master/examples/synopsis.json"}' > output.template
```
12 changes: 8 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "cfn-include",
"name": "@znemz/cfn-include",
"version": "2.0.0",
"description": "Preprocessor for CloudFormation templates with support for loops and flexible include statements",
"keywords": [
Expand All @@ -8,16 +8,20 @@
"cloudformation",
"include"
],
"homepage": "https://github.com/monken/cfn-include#readme",
"homepage": "https://github.com/nmccready/cfn-include#readme",
"bugs": {
"url": "https://github.com/monken/cfn-include/issues"
"url": "https://github.com/nmccready/cfn-include/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/monken/cfn-include.git"
"url": "git+https://github.com/nmccready/cfn-include.git"
},
"license": "MIT",
"author": {
"name": "Nicholas McCready",
"email": "nemtcan@gmail.com"
},
"originalAuthor": {
"name": "Moritz Onken",
"email": "onken@netcubed.de"
},
Expand Down

0 comments on commit 492e479

Please sign in to comment.