mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Changed output type of ips variable of ip_block ProfitBricks resource (#13290)
This commit is contained in:
parent
eb249693c9
commit
6c40112946
@ -26,7 +26,8 @@ func resourceProfitBricksIPBlock() *schema.Resource {
|
|||||||
ForceNew: true,
|
ForceNew: true,
|
||||||
},
|
},
|
||||||
"ips": {
|
"ips": {
|
||||||
Type: schema.TypeString,
|
Type: schema.TypeList,
|
||||||
|
Elem: &schema.Schema{Type: schema.TypeString},
|
||||||
Computed: true,
|
Computed: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@ -68,7 +69,7 @@ func resourceProfitBricksIPBlockRead(d *schema.ResourceData, meta interface{}) e
|
|||||||
|
|
||||||
log.Printf("[INFO] IPS: %s", strings.Join(ipblock.Properties.Ips, ","))
|
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("location", ipblock.Properties.Location)
|
||||||
d.Set("size", ipblock.Properties.Size)
|
d.Set("size", ipblock.Properties.Size)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user