awslabs / aws-config-rdk

The AWS Config Rules Development Kit helps developers set up, author and test custom Config rules. It contains scripts to enable AWS Config, create a Config rule and test it with sample ConfigurationItems.
https://aws-config-rdk.readthedocs.io
Apache License 2.0
461 stars 172 forks source link

Allow `rdk deploy` inside of rule repositories #335

Open jarrettandrulis opened 2 years ago

bmorrissirromb commented 1 year ago

Let me know if I'm understanding this right.

If I am in the rule folder bucket_not_public, then you would like rdk deploy to deploy the contents of bucket_not_public instead of having to change directory to the parent and then specifying rdk deploy bucket_not_public?

bmorrissirromb commented 1 year ago

Marking this as low priority. I'm hesitant to implement this because it loses some of the explicitness that rdk deploy currently has. If you're in the wrong directory by accident and run rdk deploy, you could make unintended changes. Requiring additional context at the command line may be helpful at preventing misconfiguration.