Skip to content

Commit b82e64a

Browse files
authored
[#170425434] Ignore AMI changes (#3)
1 parent 52aa814 commit b82e64a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
repos:
2-
- repo: git://github.com/antonbabenko/pre-commit-terraform
2+
- repo: https://github.com/antonbabenko/pre-commit-terraform
33
rev: v1.62.3
44
hooks:
55
- id: terraform_fmt
66
- id: terraform_docs
7-
- repo: git://github.com/pre-commit/pre-commit-hooks
7+
- repo: https://github.com/pre-commit/pre-commit-hooks
88
rev: v4.1.0
99
hooks:
1010
- id: check-merge-conflict

main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ resource "aws_instance" "this" {
9999

100100
lifecycle {
101101
ignore_changes = [
102+
ami,
102103
key_name,
103104
user_data,
104105
ebs_optimized

0 commit comments

Comments
 (0)