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

Does Adhoc environment work? #39

Open
pdang29 opened this issue Apr 17, 2023 · 2 comments
Open

Does Adhoc environment work? #39

pdang29 opened this issue Apr 17, 2023 · 2 comments
Assignees

Comments

@pdang29
Copy link

pdang29 commented Apr 17, 2023

Hi @briancaffey,

Were you able to get the adhoc environment work? I didn't see the adhoc pipeline run on this project.

When I look at your github action workflow, the adhoc base create/update (spinning up new bastion host and new RDS) looks almost identical with the the prod base create/update, that means it doesn't seem to use shared resources. Can you help me understand this?
I was reading this documentation: https://hackernoon.com/ad-hoc-environments-for-django-applications-with-ecs-terraform-and-github-actions
Btw loved the detailed explanations!
Looking forward to hearing from you!

@briancaffey briancaffey self-assigned this Apr 18, 2023
@briancaffey
Copy link
Owner

@pdang29 I have been able to get the ad hoc environments to work, yes. Which IaC tool are you using? Most recently I have been focusing my efforts on Pulumi, but I have used CDK and Terraform to create the same type of library (for both ad hoc and production environments). And that is correct, the GitHub Actions jobs for ad hoc and production environments are very similar. Both ad hoc environments and production environments use "shared resources" but for production environments, the base resources are only "shared" by one environment, rather than multiple ad hoc environments.

@pddang
Copy link

pddang commented Apr 24, 2023

@briancaffey I used Terraform. I will check it again and see if I can make it works. Thanks!

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

No branches or pull requests

3 participants