mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-03-13 01:00:50 -04:00
Changed output type of ips variable of ip_block ProfitBricks resource (#13290)
This commit is contained in:
@@ -26,7 +26,8 @@ func resourceProfitBricksIPBlock() *schema.Resource {
|
||||
ForceNew: true,
|
||||
},
|
||||
"ips": {
|
||||
Type: schema.TypeString,
|
||||
Type: schema.TypeList,
|
||||
Elem: &schema.Schema{Type: schema.TypeString},
|
||||
Computed: true,
|
||||
},
|
||||
},
|
||||
@@ -68,7 +69,7 @@ func resourceProfitBricksIPBlockRead(d *schema.ResourceData, meta interface{}) e
|
||||
|
||||
log.Printf("[INFO] IPS: %s", strings.Join(ipblock.Properties.Ips, ","))
|
||||
|
||||
d.Set("ips", strings.Join(ipblock.Properties.Ips, ","))
|
||||
d.Set("ips", ipblock.Properties.Ips)
|
||||
d.Set("location", ipblock.Properties.Location)
|
||||
d.Set("size", ipblock.Properties.Size)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user