serverless-plugin-module-registry 1.0.11-alpha.0 → 1.0.11-alpha.2
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.
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/service.js +1 -1
- package/package.json +2 -2
- package/src/service.js +1 -1
package/dist/index.js
CHANGED
|
@@ -18999,12 +18999,13 @@ var ServerlessModuleRegistryPlugin = class {
|
|
|
18999
18999
|
};
|
|
19000
19000
|
});
|
|
19001
19001
|
const policyResourceName = `${this.toPascalCase(moduleName)}AbacPolicy`;
|
|
19002
|
-
const
|
|
19002
|
+
const policyPrefix = `${this.configManager.config.policyPrefix}`;
|
|
19003
|
+
const policyName = `${policyPrefix}-${region}-abac`;
|
|
19003
19004
|
policyResources[policyResourceName] = {
|
|
19004
19005
|
Type: "AWS::IAM::ManagedPolicy",
|
|
19005
19006
|
Properties: {
|
|
19006
19007
|
ManagedPolicyName: policyName,
|
|
19007
|
-
Description: `${
|
|
19008
|
+
Description: `${policyPrefix}-${region}-abac`,
|
|
19008
19009
|
PolicyDocument: {
|
|
19009
19010
|
Version: "2012-10-17",
|
|
19010
19011
|
Statement: statements.map((statement) => ({
|