Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: ignore changes in image #423

Merged
merged 1 commit into from
Apr 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,11 @@ resource "ibm_is_instance" "vsi" {
user_data = var.user_data
keys = var.ssh_key_ids
tags = var.tags
lifecycle {
ignore_changes = [
image
]
}

primary_network_interface {
subnet = each.value.subnet_id
Expand Down
4 changes: 2 additions & 2 deletions module-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@
},
"pos": {
"filename": "main.tf",
"line": 127
"line": 132
}
},
"ibm_is_floating_ip.vsi_fip": {
Expand All @@ -391,7 +391,7 @@
},
"pos": {
"filename": "main.tf",
"line": 120
"line": 125
}
},
"ibm_is_instance.vsi": {
Expand Down