We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 800bed6 commit b58379aCopy full SHA for b58379a
lib/deploy.js
@@ -106,18 +106,17 @@ module.exports = {
106
PolicyName: this.iamPolicyName,
107
},
108
this.options.stage,
109
- this.options.region)
110
- })
111
- .then((result) => {
112
- return this.provider.request('IAM',
113
- 'attachRolePolicy',
114
- {
115
- PolicyArn: result.Policy.Arn,
116
- RoleName: this.iamRoleName,
117
- },
118
- this.options.stage,
119
+ this.options.region);
120
})
+ .then((result) => this.provider.request('IAM',
+ 'attachRolePolicy',
+ {
+ PolicyArn: result.Policy.Arn,
+ RoleName: this.iamRoleName,
+ },
+ this.options.stage,
+ this.options.region)
+ )
121
.then(() => BbPromise.resolve());
122
123
0 commit comments