Error deploying ruleconfig in directory mode
See original GitHub issueDescription
As of v7.7.0 released earlier today, attempting to deploy ruleconfig assets fails with an error. This issue was not present in 7.6.0.
Reproduction
- Create a directory mode setup with ruleconfig assets defined
- Deploy
- Observe error:
2022-04-06T17:55:25.326Z - debug: Start command deploy
2022-04-06T17:55:25.655Z - info: Processing directory .
2022-04-06T17:55:26.770Z - debug: Start processChanges for rulesConfigs [delete:0] [update:2], [create:0], [conflicts:0]
2022-04-06T17:55:26.771Z - error: Problem running command deploy during stage processChanges when processing type rulesConfigs
2022-04-06T17:55:26.772Z - error: Cannot read property 'bind' of undefined
2022-04-06T17:55:26.772Z - debug: TypeError: Cannot read property 'bind' of undefined
at RulesConfigsHandler.getClientFN (<redacted>/.config/yarn/global/node_modules/auth0-deploy-cli/lib/tools/auth0/handlers/default.js:45:31)
at Proxy.generator (<redacted>/.config/yarn/global/node_modules/auth0-deploy-cli/lib/tools/auth0/handlers/default.js:200:43)
at Proxy.generator (<redacted>/.config/yarn/global/node_modules/promise-pool-executor/public/pool.js:200:42)
at Proxy._run (<redacted>/.config/yarn/global/node_modules/promise-pool-executor/private/task.js:212:39)
at Proxy._triggerNow (<redacted>/.config/yarn/global/node_modules/promise-pool-executor/public/pool.js:267:22)
at Proxy.addGenericTask (<redacted>/.config/yarn/global/node_modules/promise-pool-executor/public/pool.js:102:14)
at Proxy.addEachTask (<redacted>/.config/yarn/global/node_modules/promise-pool-executor/public/pool.js:186:21)
at RulesConfigsHandler.<anonymous> (<redacted>/.config/yarn/global/node_modules/auth0-deploy-cli/lib/tools/auth0/handlers/default.js:197:18)
at Generator.next (<anonymous>)
at fulfilled (<redacted>/.config/yarn/global/node_modules/auth0-deploy-cli/lib/tools/auth0/handlers/default.js:5:58)
Environment
- auth0-deploy-cli: v7.7.0
- node: lts/fermium (v14.18.2)
- OS: macOS 12.3.1
Issue Analytics
- State:
- Created a year ago
- Reactions:2
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Can't deploy a config rule through the CDK - Stack Overflow
AWS_CONFIG_PROCESS_CHECK should be deployed only through the conformance pack object (CfnConformancePack). So I took the class with the list of ...
Read more >Numerous kubeflow manifests can't deploy on Kubernetes 1.16
CRD definition just started to use v1 in K8s. To ensure they still works => Unchanged. K8s 1.16 rejects Deployment for which the...
Read more >AWS managed policies for AWS Config - AWS Documentation
When a service launches a new feature, AWS adds read-only permissions for new operations and resources. For a list and descriptions of job...
Read more >Deploying and managing Red Hat Process Automation ...
In your Red Hat Process Automation Manager installation directory, ... Development mode provides a flexible deployment policy that enables you to update ...
Read more >ConfigService — Boto3 Docs 1.26.38 documentation - AWS
Each object in the batch consists of a list of failed items and failure messages. ... configuration recorder includes the config:PutEvaluations permission.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Just released a fix for this with a v7.7.1 release. My explanation in #482:
Apologies for the inconvenience and thanks for the patience!
Same problem for us since 7.7.0. Worked fine in 7.6.0.