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

Enable "Ejection" #154

Open
imaustink opened this issue Mar 12, 2024 · 4 comments
Open

Enable "Ejection" #154

imaustink opened this issue Mar 12, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@imaustink
Copy link

This action is focused on users who don't want to know much about the details of how their application is deployed, which is great! But this does present a potential issue down the road for some projects as they mature. Users may find themselves outgrowing the opinionated "black box" approach that this action provides.

I think a possible solution is to provide a guide or perhaps even a feature that helps transition to a more flexible and managed approach. I like to think of this as "Ejecting" the plugin, which is terminology borrowed from Create React App.

At minimum, a guide explaining how to transition to managing your own TF stacks by hand would be great. But In an ideal world, a feature could be implemented to help by opening a PR to scaffold the pieces necessary for such a transition.

@imaustink imaustink added the enhancement New feature or request label Mar 12, 2024
@LeoDiazL
Copy link
Contributor

I don't think we have something written for it, but one could easily create an EC2 instance using this action, and plug-in an Aurora, RDS, ElasticCache Redis DB, an EFS volume .... (Maybe sth else that I might be missing) by using some of our other actions and tying them up together.
That is a modularized approach to reach the same goal.
You can then have a workflow for each, making for example, the DB and the EFS volume more static, while the EC2 instance comes and goes.

If that's what you are thinking of, it's just a matter of showing an example in a blog (maybe here or there?)

@imaustink
Copy link
Author

I was thinking more along the lines of moving the TF stacks into source control so that it can be managed more directly by a DevOps professional.

@LeoDiazL
Copy link
Contributor

There is a way to get all of the generated Terraform code as an artifact in GitHub.

@imaustink
Copy link
Author

Gotcha. I think it would be cool if we had a guide on how to do that :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants