Skip to content
This repository was archived by the owner on Mar 1, 2023. It is now read-only.

Commit 582611a

Browse files
committed
security group resource update method fixed
1 parent c326d07 commit 582611a

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ terraform {
1818
required_providers {
1919
gcore = {
2020
source = "G-Core/gcorelabs"
21-
version = "0.1.9"
21+
version = "0.1.11"
2222
}
2323
}
2424
}

examples/provider/provider.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ terraform {
33
required_providers {
44
gcore = {
55
source = "G-Core/gcorelabs"
6-
version = "0.1.10"
6+
version = "0.1.11"
77
}
88
}
99
}

gcore/utils.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,7 @@ func secGroupUniqueID(i interface{}) int {
508508
io.WriteString(h, strconv.Itoa(e["port_range_min"].(int)))
509509
io.WriteString(h, strconv.Itoa(e["port_range_max"].(int)))
510510
io.WriteString(h, e["description"].(string))
511+
io.WriteString(h, e["remote_ip_prefix"].(string))
511512

512513
return int(binary.BigEndian.Uint64(h.Sum(nil)))
513514
}

0 commit comments

Comments
 (0)