Skip to content

Commit 59ca567

Browse files
authored
fix(ipam): expand private network id (#2374)
1 parent b24596e commit 59ca567

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scaleway/data_source_ipam_ip.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ func dataSourceScalewayIPAMIPRead(ctx context.Context, d *schema.ResourceData, m
154154
MacAddress: expandStringPtr(d.Get("mac_address")),
155155
Tags: expandStrings(d.Get("tags")),
156156
OrganizationID: expandStringPtr(d.Get("organization_id")),
157-
PrivateNetworkID: expandStringPtr(d.Get("private_network_id")),
157+
PrivateNetworkID: expandStringPtr(expandID(d.Get("private_network_id"))),
158158
}
159159

160160
ipType, ipTypeExist := d.GetOk("type")

0 commit comments

Comments
 (0)