Skip to content

Commit

Permalink
fix: Added registry contract address to node terraform (#2851)
Browse files Browse the repository at this point in the history
This PR simply adds the environment variable for the Registry Contract
Address to the Aztec Node Terraform

# Checklist:
Remove the checklist to signal you've completed it. Enable auto-merge if
the PR is ready to merge.
- [ ] If the pull request requires a cryptography review (e.g.
cryptographic algorithm implementations) I have added the 'crypto' tag.
- [ ] I have reviewed my diff in github, line by line and removed
unexpected formatting changes, testing logs, or commented-out code.
- [ ] Every change is related to the PR description.
- [ ] I have
[linked](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue)
this pull request to relevant issues (if any exist).
  • Loading branch information
PhilWindle authored Oct 13, 2023
1 parent 1d7bd26 commit bfc5feb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions yarn-project/aztec-node/terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,10 @@ resource "aws_ecs_task_definition" "aztec-node-1" {
"name": "INBOX_CONTRACT_ADDRESS",
"value": "${var.INBOX_CONTRACT_ADDRESS}"
},
{
"name": "REGISTRY_CONTRACT_ADDRESS",
"value": "${var.REGISTRY_CONTRACT_ADDRESS}"
},
{
"name": "API_KEY",
"value": "${var.API_KEY}"
Expand Down Expand Up @@ -448,6 +452,10 @@ resource "aws_ecs_task_definition" "aztec-node-2" {
"name": "INBOX_CONTRACT_ADDRESS",
"value": "${var.INBOX_CONTRACT_ADDRESS}"
},
{
"name": "REGISTRY_CONTRACT_ADDRESS",
"value": "${var.REGISTRY_CONTRACT_ADDRESS}"
},
{
"name": "API_KEY",
"value": "${var.API_KEY}"
Expand Down
4 changes: 4 additions & 0 deletions yarn-project/aztec-node/terraform/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ variable "INBOX_CONTRACT_ADDRESS" {
type = string
}

variable "REGISTRY_CONTRACT_ADDRESS" {
type = string
}

variable "SEQ_1_PUBLISHER_PRIVATE_KEY" {
type = string
}
Expand Down

0 comments on commit bfc5feb

Please sign in to comment.