Skip to content

Commit 1b2b684

Browse files
modular-magicianslevenick
authored andcommitted
Add note on source_ranges tracking changes (#5412) (#3819)
Signed-off-by: Modular Magician <[email protected]>
1 parent 8ece13a commit 1b2b684

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.changelog/5412.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:none
2+
3+
```

website/docs/guides/version_4_upgrade.html.markdown

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,12 @@ The provider will now enforce at plan time that one of these fields be set.
241241

242242
Previously, if all of these fields were left empty, the firewall defaulted to allowing traffic from 0.0.0.0/0, which is a suboptimal default.
243243

244+
### `source_ranges` will track changes when unspecified in a config
245+
246+
In `3.X`, `source_ranges` wouldn't cause a diff if it was undefined in
247+
config but was set on the firewall itself. With 4.0.0 Terraform will now
248+
track changes on the block when it is not specified in a user's config.
249+
244250
## Resource: `google_compute_instance`
245251

246252
### `metadata_startup_script` is no longer set on import

0 commit comments

Comments
 (0)