Skip to content

Commit 49cb5b8

Browse files
authored
chore: Add note about null resource changes (#475)
1 parent fff4272 commit 49cb5b8

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

docs/upgrading_to_v7.0.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,25 @@ Updating to this new format requires running a state migration. Note that this m
6161
```
6262

6363
4. Run `terraform plan` to confirm no changes are expected.
64+
65+
## Null Resource Updates
66+
67+
As part of the upgrade, Terraform might indicate that the `wait_for_cluster` null_resource must be recreated.
68+
This is a no-op which can be safely applied:
69+
70+
```
71+
# module.gke.null_resource.wait_for_cluster[0] must be replaced
72+
-/+ resource "null_resource" "wait_for_cluster" {
73+
~ id = "8404887862418893500" -> (known after apply)
74+
+ triggers = {
75+
+ "name" = "REDACTED"
76+
+ "project_id" = "REDACTED"
77+
} # forces replacement
78+
}
79+
```
80+
81+
Alternatively, if you run into changes with this update, you can remove the original resource from the state entirely:
82+
83+
```
84+
terraform state rm module.gke.null_resource.wait_for_cluster
85+
```

0 commit comments

Comments
 (0)