Comparing version 0.0.2 to 0.0.3
@@ -19,3 +19,3 @@ "use strict"; | ||
this.addParameter = function (name, parameter) { | ||
_this._cloudformation.Resources[name] = parameter; | ||
_this._cloudformation.Parameters[name] = parameter; | ||
}; | ||
@@ -22,0 +22,0 @@ this.addOutput = function (name, output) { |
@@ -20,3 +20,3 @@ import { AWSTemplateFormatVersion } from "../types/AWSTemplateFormatVersion"; | ||
addParameter = (name: string, parameter: Record<string, any>) => { | ||
this._cloudformation.Resources![name] = parameter; | ||
this._cloudformation.Parameters![name] = parameter; | ||
} | ||
@@ -23,0 +23,0 @@ |
{ | ||
"name": "cf-kit", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "cf-kit is a utility helper to build dynamic AWS cloudformation typescript templates", | ||
@@ -5,0 +5,0 @@ "author": "Victória Rose", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5931