-
Notifications
You must be signed in to change notification settings - Fork 38
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
AWS MageAI template meant for adding MageAI to existing AWS infrastructure #37
base: master
Are you sure you want to change the base?
Conversation
Thank you @Ladvien for the PR! Will review it today. |
variable "allowed_cidr_blocks" { | ||
type = list(string) | ||
description = "List of CIDR blocks to allow access to the ECS service" | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: add empty line at the end of the file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added
@@ -0,0 +1,3 @@ | |||
output "mage_ai_lb_dns_name" { | |||
value = "MageAI URL: ${aws_alb.application_load_balancer.dns_name}" | |||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: same. empty line.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added.
} | ||
|
||
|
||
locals { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I saw you removed the use of "env_vars.json" file. Do you have any particular reason for that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did. But none I'm attached to. Adding it back.
|
||
## Pre-Deployment | ||
Before deployment, you must have the following installed: | ||
* [Terragrunt](https://terragrunt.gruntwork.io/) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It can also be run without Terragrunt, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It can now I've added back the env_vars.json
.
Hi @Ladvien , just want to make sure you didn't miss my comments. Would you like to address the comments so that we can get the PR merged? |
Hey @wangxiaoyou1993, it’s on my list. But no time yet. |
…sk_memory, and docker_image.
Hey @wangxiaoyou1993, sincere apologies for taking a bit of time to respond. Work got busy. Just let me know what else you'd like done and I'll try not to take another month to get to it. 😅 |
Summary
I've modified the
mage-ai-terraform-templates/aws
module to do the following:postgres
control DBterragrunt.hcl
(inputs) fileTests
It works on my AWS? 😬
cc:
@wangxiaoyou1993, here's the PR I mentioned. Feel free to tell me what you'd like to see different.