Skip to content

Commit

Permalink
Merge branch 'master' of github.com:aztecprotocol/aztec-connect
Browse files Browse the repository at this point in the history
  • Loading branch information
charlielye committed Mar 10, 2023
2 parents db7ac61 + 6dc4f2a commit 79cfff5
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 4 deletions.
1 change: 1 addition & 0 deletions yarn-project/aztec-dev-cli/src/key_derivation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ export function deriveDeploymentKeys(mnemonic: string) {
{ name: 'ROLLUP_PROVIDER', type: 'eth_keypair' },
],
},
{ name: 'SERVER_AUTH_TOKEN', type: 'base64', length: 16 },
],
},
{
Expand Down
2 changes: 1 addition & 1 deletion yarn-project/falafel/terraform/dev/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ resource "aws_ecs_task_definition" "falafel" {
},
{
"name": "SERVER_AUTH_TOKEN",
"value": "!devnet#"
"value": "${var.DEV_SERVER_AUTH_TOKEN}"
},
{
"name": "API_PREFIX",
Expand Down
3 changes: 3 additions & 0 deletions yarn-project/falafel/terraform/dev/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ variable "DEPLOY_TAG" {
variable "DEV_KEBAB_API_KEY" {
type = string
}
variable "DEV_SERVER_AUTH_TOKEN" {
type = string
}
2 changes: 1 addition & 1 deletion yarn-project/falafel/terraform/prod/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ resource "aws_ecs_task_definition" "falafel" {
},
{
"name": "ETHEREUM_HOST",
"value": "https://mainnet.infura.io/v3/15bcbe21bd5043b48eb5b60fb6c563b8"
"value": "https://mainnet.infura.io/v3/${var.PROD_FALAFEL_INFURA_API_KEY}"
},
{
"name": "ROLLUP_CONTRACT_ADDRESS",
Expand Down
4 changes: 4 additions & 0 deletions yarn-project/falafel/terraform/prod/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ variable "PROD_SERVER_AUTH_TOKEN" {
variable "DEPLOY_TAG" {
type = string
}

variable "PROD_FALAFEL_INFURA_API_KEY" {
type = string
}
2 changes: 1 addition & 1 deletion yarn-project/kebab/terraform/prod/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ resource "aws_ecs_task_definition" "kebab" {
},
{
"name": "ETHEREUM_HOST",
"value": "https://mainnet.infura.io/v3/a3135f474fad4ce3868e5b92fc30ac40"
"value": "https://mainnet.infura.io/v3/${var.PROD_KEBAB_INFURA_API_KEY}"
},
{
"name": "REDEPLOY",
Expand Down
6 changes: 5 additions & 1 deletion yarn-project/kebab/terraform/prod/variables.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
variable "DEPLOY_TAG" {
type = string
}
}

variable "PROD_KEBAB_INFURA_API_KEY" {
type = string
}

0 comments on commit 79cfff5

Please sign in to comment.