@rlyle1179/serverless-aws-batch 1.1.6 → 1.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -31,13 +31,21 @@ const lifeCyclePolicies = {
31
31
  */
32
32
  function generateCoreTemplate() {
33
33
  // Setup our ECR Repository to delete untagged images after 1 day
34
+ // const ecrTemplate = `
35
+ // {
36
+ // "Type" : "AWS::ECR::Repository",
37
+ // "Properties" : {
38
+ // "LifecyclePolicy" : {
39
+ // "LifecyclePolicyText" : ${JSON.stringify(JSON.stringify(lifeCyclePolicies))}
40
+ // },
41
+ // "RepositoryName" : "${this.provider.naming.getECRRepositoryName()}"
42
+ // }
43
+ // }
44
+ // `;
34
45
  const ecrTemplate = `
35
46
  {
36
47
  "Type" : "AWS::ECR::Repository",
37
48
  "Properties" : {
38
- "LifecyclePolicy" : {
39
- "LifecyclePolicyText" : ${JSON.stringify(JSON.stringify(lifeCyclePolicies))}
40
- },
41
49
  "RepositoryName" : "${this.provider.naming.getECRRepositoryName()}"
42
50
  }
43
51
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rlyle1179/serverless-aws-batch",
3
- "version": "1.1.6",
3
+ "version": "1.1.7",
4
4
  "description": "Serverless Framework Plugin for interacting with AWS Batch",
5
5
  "main": "index.js",
6
6
  "scripts": {