mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-03-13 19:01:09 -04:00
42 lines
824 B
Markdown
42 lines
824 B
Markdown
---
|
|
layout: "scaleway"
|
|
page_title: "Scaleway: ip"
|
|
sidebar_current: "docs-scaleway-resource-ip"
|
|
description: |-
|
|
Manages Scaleway IPs.
|
|
---
|
|
|
|
# scaleway\_ip
|
|
|
|
Provides IPs for servers. This allows IPs to be created, updated and deleted.
|
|
For additional details please refer to [API documentation](https://developer.scaleway.com/#ips).
|
|
|
|
## Example Usage
|
|
|
|
```hcl
|
|
resource "scaleway_ip" "test_ip" {}
|
|
```
|
|
|
|
## Argument Reference
|
|
|
|
The following arguments are supported:
|
|
|
|
* `server` - (Optional) ID of server to associate IP with
|
|
|
|
Field `server` is editable.
|
|
|
|
## Attributes Reference
|
|
|
|
The following attributes are exported:
|
|
|
|
* `id` - id of the new resource
|
|
* `ip` - IP of the new resource
|
|
|
|
## Import
|
|
|
|
Instances can be imported using the `id`, e.g.
|
|
|
|
```
|
|
$ terraform import scaleway_ip.jump_host 5faef9cd-ea9b-4a63-9171-9e26bec03dbc
|
|
```
|