Skip to content

Commit

Permalink
add comment to diff suppress func
Browse files Browse the repository at this point in the history
  • Loading branch information
megan07 committed Sep 4, 2019
1 parent 918c84f commit 9721593
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/terraform/constants/address.go.erb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// All internal addresses default to a purpose of `GCE_ENDPOINT`, but it is not
// allowed on external addresses, so we can't set the default on the field.
func addressDiffSuppress(k, old, new string, d *schema.ResourceData) bool {
if k == "purpose" {
addressType := d.Get("address_type")
Expand Down

0 comments on commit 9721593

Please sign in to comment.