Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Before / After Execution Hooks for CDK Operations #11344

Closed
sherl0cks opened this issue Nov 6, 2020 · 2 comments
Closed

Support Before / After Execution Hooks for CDK Operations #11344

sherl0cks opened this issue Nov 6, 2020 · 2 comments
Assignees
Labels
feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged.

Comments

@sherl0cks
Copy link

I'm interested in some sort of hooks framework added to the CDK so that one can declare logic to execute after / before a cdk command. This would leave the use experience tied to the CDK user experience, instead of wrapping it in shell scripts etc.

Use Case

  1. Authentication workflows, especially until SSO works correctly.
  2. Creating .env files for local testing to know which resources to use after cdk deploy (e.g. a lambda or dynamo table to invoke)
  3. Emptying s3 buckets before cdk destroy

Proposed Solution

I don't have one, but ansible does this and its really useful https://github.com/openshift/openshift-ansible/blob/master/HOOKS.md

This is a 🚀 Feature Request

@sherl0cks sherl0cks added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Nov 6, 2020
@SomayaB SomayaB assigned rix0rrr and eladb and unassigned rix0rrr Nov 6, 2020
@eladb
Copy link
Contributor

eladb commented Nov 29, 2020

Duplicate aws/aws-cdk-rfcs#71

@eladb eladb closed this as completed Nov 29, 2020
@github-actions
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged.
Projects
None yet
Development

No branches or pull requests

3 participants