Skip to content

Commit

Permalink
Merge pull request #334 from stackhpc/feat/image-lifecycle
Browse files Browse the repository at this point in the history
Don't ignore image changes in skeleton terraform lifecycle
  • Loading branch information
sjpb authored Dec 7, 2023
2 parents 6b0cc36 + eb4e907 commit c18dbd5
Showing 1 changed file with 0 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,12 +141,6 @@ resource "openstack_compute_instance_v2" "control" {
- [LABEL=home, /exports/home, auto, "x-systemd.required-by=nfs-server.service,x-systemd.before=nfs-server.service"]
EOF

lifecycle{
ignore_changes = [
image_name,
]
}

}

resource "openstack_compute_instance_v2" "login" {
Expand Down Expand Up @@ -184,12 +178,6 @@ resource "openstack_compute_instance_v2" "login" {
fqdn: ${var.cluster_name}-${each.key}.${var.cluster_name}.${var.cluster_domain_suffix}
EOF

lifecycle{
ignore_changes = [
image_name,
]
}

}

resource "openstack_compute_instance_v2" "compute" {
Expand Down Expand Up @@ -227,10 +215,4 @@ resource "openstack_compute_instance_v2" "compute" {
fqdn: ${var.cluster_name}-${each.key}.${var.cluster_name}.${var.cluster_domain_suffix}
EOF

lifecycle{
ignore_changes = [
image_name,
]
}

}

0 comments on commit c18dbd5

Please sign in to comment.