Conversation
Contributor
Author
Update niv dependencies
bolt12
commented
Jun 21, 2022
Comment on lines
+18
to
+25
| af-south-1 = ""; | ||
| us-west-1 = ""; | ||
| sa-east-1 = ""; | ||
| us-east-2 = ""; | ||
| ap-southeast-1 = ""; | ||
| ap-southeast-2 = ""; | ||
| ap-northeast-1 = ""; | ||
| eu-west-3 = ""; |
Contributor
Author
There was a problem hiding this comment.
In terraform run:
terraform show -json | jq '.values.root_module.child_modules[].resources[].values | "\(.availability_zone) : \(.public_ip)"' | grep -v "null : null"
to a file and import it here
Contributor
Author
There was a problem hiding this comment.
unfortunately I don't think this can be done reliably due to the existence of availability zones. For example the output of the command above looks something like:
"af-south-1b : ..."
"us-west-1c : ..."
"eu-west-3c : ..."
"us-east-2c : ..."
"ap-southeast-2c : ..."
"ap-southeast-1a : ..."
"sa-east-1c : ..."
"ap-northeast-1d : ..."
so there's information about the Region + Availability Zone and from what I gathered these are logical and can depend from user to user. So I am not sure these can change throughout the time.
Small refactor of the Terraform configuration. It now fetches the AMI ids automatically. Small refactor of the nixops configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note: Please read the README for a thorough guide line on the whole deployment process.
This PR refurbishes the current deployment process of IOHK's networking team. Brief summary of the highlights:
cardano-node.cardano-node(1 mainnet and 1 testnet) and customize, if needed, each one.As one could understand the deployment process consists on 2 phases: Terraform deployment and Nixops deployment. The Terraform deployment process depends on a particular patch of this script file which is not included in this PR because one would have to fork the entirety of the Nixpkgs repository to do so. A better solution would be to clone the repository and apply the patch locally in the machine that is going to perform the deployment. This is needed for the reasons mentioned above and detailed in the README.