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

fix(ci): more tf variable references #3522

Merged
merged 3 commits into from
Dec 1, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix(ci): more tf variable references
spypsy committed Dec 1, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 898022c3f6d0530c4d4482a5ed515ade671f71a6
2 changes: 1 addition & 1 deletion yarn-project/aztec-faucet/terraform/main.tf
Original file line number Diff line number Diff line change
@@ -115,7 +115,7 @@ resource "aws_ecs_task_definition" "aztec-faucet" {
},
{
"name": "API_PREFIX",
"value": "/${var.DEPLOY_TAG}/aztec-faucet/${API_PREFIX}"
"value": "/${var.DEPLOY_TAG}/aztec-faucet/${var.API_PREFIX}"
},
{
"name": "CHAIN_ID",
3 changes: 2 additions & 1 deletion yarn-project/aztec-faucet/terraform/variables.tf
Original file line number Diff line number Diff line change
@@ -11,7 +11,8 @@ variable "API_KEY" {
}

variable "API_PREFIX" {
type = string
type = string
default = ""
}

variable "CHAIN_ID" {
2 changes: 1 addition & 1 deletion yarn-project/aztec-node/terraform/main.tf
Original file line number Diff line number Diff line change
@@ -65,7 +65,7 @@ locals {
node_p2p_private_keys = [var.NODE_1_PRIVATE_KEY, var.NODE_2_PRIVATE_KEY]
node_count = length(local.publisher_private_keys)
bootnodes = [for i in range(0, local.node_count) :
"/dns4/${var.DEPLOY_TAG}-aztec-bootstrap-${i + 1}.local/tcp/${var.BOOTNODE_LISTEN_PORT + i}/p2p/${bootnode_ids[i]}"
"/dns4/${var.DEPLOY_TAG}-aztec-bootstrap-${i + 1}.local/tcp/${var.BOOTNODE_LISTEN_PORT + i}/p2p/${local.bootnode_ids[i]}"
]
combined_bootnodes = join(",", local.bootnodes)
}