Skip to content
This repository has been archived by the owner on Aug 28, 2023. It is now read-only.

feat: Self-Hosted GoTrue infrastructure #12

Merged
merged 11 commits into from
Jul 13, 2022
Merged

feat: Self-Hosted GoTrue infrastructure #12

merged 11 commits into from
Jul 13, 2022

Conversation

HarryET
Copy link
Contributor

@HarryET HarryET commented Jul 6, 2022

Changes

Changes Tested

@HarryET HarryET added enhancement New feature or request ops Terraform gotrue Related to GoTrue labels Jul 6, 2022
@HarryET HarryET requested review from bazaah and a team July 6, 2022 10:32
@arein
Copy link
Member

arein commented Jul 7, 2022

Nitpick: the PR is too large and should have been split up into multiple PRs

Copy link
Member

@arein arein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good stuff! a few comments

terraform/ecs/gotrue.tf Outdated Show resolved Hide resolved
terraform/ecs/gotrue.tf Outdated Show resolved Hide resolved
terraform/ecs/main.tf Show resolved Hide resolved
terraform/ecs/main.tf Outdated Show resolved Hide resolved
terraform/main.tf Show resolved Hide resolved
terraform/ecs/gotrue.tf Outdated Show resolved Hide resolved
terraform/ecs/main.tf Outdated Show resolved Hide resolved
region = "eu-central-1"
azs = ["eu-central-1a", "eu-central-1b", "eu-central-1c"]
fqdn = "login.walletconnect.com"
fqdn_subdomain = "dev"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

curious: how do we do this in prod where we don't want to have prod.login.walletconnect.com but simply login.walletconnect.com?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fqdn_subdomain is nullable, on line 180 in ecs/gotrue.tf we do a check and assign to root if null

@HarryET HarryET requested a review from arein July 11, 2022 10:53
Comment on lines +72 to +73
cpu = var.cpu - 128,
memory = var.cpu - 256,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why - 128?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Those are the values that AWS say that the OTEL Collector need, so I minus them so that everything adds up to the fully CPU amount

@HarryET HarryET merged commit 430b7ef into main Jul 13, 2022
@HarryET HarryET deleted the harry/feat/ecs branch July 13, 2022 08:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request gotrue Related to GoTrue ops Terraform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat(ops): Create DNS Records feat(ops): Create ECS Cluster/Task/Service
2 participants