Skip to content

Commit

Permalink
fix AWS bug
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwittig committed Nov 13, 2019
1 parent 57332dd commit 0194e26
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion jenkins/jenkins2-ha-agents.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2205,7 +2205,7 @@ Resources:
Code:
ZipFile: |
'use strict';
const response = require('cfn-response');
const response = require('./cfn-response');
exports.handler = (event, context, cb) => {
const throughput = parseInt(event.ResourceProperties.ThroughputInMibps, 10);
const threshold = Math.round(throughput * 1048576 * 600 * 0.9);
Expand Down
2 changes: 1 addition & 1 deletion jenkins/jenkins2-ha.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1019,7 +1019,7 @@ Resources:
Code:
ZipFile: |
'use strict';
const response = require('cfn-response');
const response = require('./cfn-response');
exports.handler = (event, context, cb) => {
const throughput = parseInt(event.ResourceProperties.ThroughputInMibps, 10);
const threshold = Math.round(throughput * 1048576 * 600 * 0.9);
Expand Down
2 changes: 1 addition & 1 deletion security/account-password-policy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ Resources:
ZipFile: |
'use strict';
const AWS = require('aws-sdk');
const response = require('cfn-response');
const response = require('./cfn-response');
const iam = new AWS.IAM({apiVersion: '2010-05-08'});
exports.handler = (event, context, cb) => {
console.log(`Invoke: ${JSON.stringify(event)}`);
Expand Down
2 changes: 1 addition & 1 deletion state/elasticache-memcached.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ Resources:
Code:
ZipFile: |
'use strict';
const response = require('cfn-response');
const response = require('./cfn-response');
exports.handler = (event, context, cb) => {
const nodes = parseInt(event.ResourceProperties.NumCacheNodes, 10);
const azs = event.ResourceProperties.AvailabilityZones.split(',');
Expand Down
2 changes: 1 addition & 1 deletion vpc/vpc-vpn-bastion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,7 @@ Resources:
Code:
ZipFile: |
'use strict';
const response = require('cfn-response');
const response = require('./cfn-response');
exports.handler = (event, context, cb) => {
const throughput = parseInt(event.ResourceProperties.ThroughputInMibps, 10);
const threshold = Math.round(throughput * 1048576 * 600 * 0.9);
Expand Down
2 changes: 1 addition & 1 deletion wordpress/wordpress-ha-aurora.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1191,7 +1191,7 @@ Resources:
Code:
ZipFile: |
'use strict';
const response = require('cfn-response');
const response = require('./cfn-response');
exports.handler = (event, context, cb) => {
const throughput = parseInt(event.ResourceProperties.ThroughputInMibps, 10);
const threshold = Math.round(throughput * 1048576 * 600 * 0.9);
Expand Down
2 changes: 1 addition & 1 deletion wordpress/wordpress-ha.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1163,7 +1163,7 @@ Resources:
Code:
ZipFile: |
'use strict';
const response = require('cfn-response');
const response = require('./cfn-response');
exports.handler = (event, context, cb) => {
const throughput = parseInt(event.ResourceProperties.ThroughputInMibps, 10);
const threshold = Math.round(throughput * 1048576 * 600 * 0.9);
Expand Down

0 comments on commit 0194e26

Please sign in to comment.