Skip to content

Commit

Permalink
amiの更新を無視
Browse files Browse the repository at this point in the history
  • Loading branch information
bigwheel committed Sep 18, 2020
1 parent 334a5a4 commit 550a18f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ resource "aws_instance" "bastion" {
var.additional_vpc_security_group_ids,
)

lifecycle {
ignore_changes = [ami]
}

# https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-connect-set-up.html#ec2-instance-connect-install
user_data = <<EOF
#!/bin/bash
Expand Down

0 comments on commit 550a18f

Please sign in to comment.