Skip to content

Commit

Permalink
Merge pull request #626 from rust-lang/docs-bastion-explain-why-we-ha…
Browse files Browse the repository at this point in the history
…ve-the-2-in-the-name-of-resources

docs(bastion): explain why we have the `2` in the name of resources
  • Loading branch information
MarcoIeni authored Oct 28, 2024
2 parents 9d21602 + cfd5bd7 commit 47be7ce
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions terraform/bastion/instance.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

// Associate an elastic IP to the instance.

// Some resources are named as "bastion2" because when we updated from ubuntu 20 to ubuntu 24
// we created a new instance (bastion2) and kept the old one (bastion) around for a while.
// When you migrate to a new bastion instance (e.g. to update to ubuntu 26),
// you can name the new resources as "bastion" (instead of "bastion3"), to go back to the original name.

resource "aws_eip" "bastion2" {
domain = "vpc"
tags = {
Expand Down

0 comments on commit 47be7ce

Please sign in to comment.