Skip to content

Commit

Permalink
Merge pull request #602 from rust-lang/fix-assign-bastion2-to-the-new…
Browse files Browse the repository at this point in the history
…-bastion-ec2

fix: assign bastion2 to the new bastion ec2
  • Loading branch information
MarcoIeni authored Oct 7, 2024
2 parents 25d5c85 + 8aa6fb7 commit 348f78a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions terraform/bastion/instance.tf
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,17 @@ data "aws_route53_zone" "rust_lang_org" {

resource "aws_route53_record" "bastion" {
zone_id = data.aws_route53_zone.rust_lang_org.id
name = "bastion1.infra.rust-lang.org"
name = "bastion.infra.rust-lang.org"
type = "A"
records = [aws_eip.bastion.public_ip]
ttl = 300
}

resource "aws_route53_record" "bastion2" {
zone_id = data.aws_route53_zone.rust_lang_org.id
name = "bastion.infra.rust-lang.org"
name = "bastion2.infra.rust-lang.org"
type = "A"
records = [aws_eip.bastion.public_ip]
records = [aws_eip.bastion2.public_ip]
ttl = 300
}

Expand Down

0 comments on commit 348f78a

Please sign in to comment.