Skip to content

Commit

Permalink
internal/vpc_peering: set peer_cidr_blocks attribute during state ref…
Browse files Browse the repository at this point in the history
…reash

Partially fixes #107.
  • Loading branch information
rjeczalik committed Jan 30, 2024
1 parent bbacc8d commit a924867
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/provider/vpc_peering.go
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ lookup:

if c.Meta.GCPBlocks[r.ExternalID] != vpcPeering.CIDRList[0] {
_ = d.Set("peer_cidr_block", vpcPeering.CIDRList[0])
_ = d.Set("peer_cidr_blocks", vpcPeering.CIDRList)
}

return nil
Expand Down

0 comments on commit a924867

Please sign in to comment.