aws-cloudformation / cloudformation-cli

The CloudFormation Provider Development Toolkit allows you to author your own resource providers and modules that can be used by CloudFormation.
Apache License 2.0
318 stars 161 forks source link

Update hook project init to use only plugins that support hooks and fixing issue with init when no creds are specified #995

Closed Brianwithay21 closed 1 year ago

Brianwithay21 commented 1 year ago

Issue #, if available:

Description of changes: Updated the cfn init command for HOOK type projects to only allow projects to be initialized with language plugins that support HOOK types.

This PR also fixes an issue with error being thrown when project was initialized with no AWS credentials set

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.