-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #186 from alrayyes/feat/ip-reverse-lookup
feat: implement publiccloud ip resource
- Loading branch information
Showing
10 changed files
with
520 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "leaseweb_public_cloud_ip Resource - leaseweb" | ||
subcategory: "" | ||
description: |- | ||
Note: | ||
This resource cannot be created, only imported.Once imported, this resource cannot be deleted. | ||
--- | ||
|
||
# leaseweb_public_cloud_ip (Resource) | ||
|
||
**Note:** | ||
- This resource cannot be created, only imported. | ||
- Once imported, this resource cannot be deleted. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
# Manage example Public Cloud ip | ||
resource "leaseweb_public_cloud_ip" "example" { | ||
instance_id = "695ddd91-051f-4dd6-9120-938a927a47d0" | ||
ip = "10.0.0.1" | ||
reverse_lookup = "example.com" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `instance_id` (String) | ||
- `ip` (String) | ||
- `reverse_lookup` (String) | ||
|
||
## Import | ||
|
||
Import is supported using the following syntax: | ||
|
||
```shell | ||
# Public Cloud ip can be imported by specifying <instance_id>,<ip>. | ||
terraform import leaseweb_public_cloud_ip.example 695ddd91-051f-4dd6-9120-938a927a47d0,10.0.0.1 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Public Cloud ip can be imported by specifying <instance_id>,<ip>. | ||
terraform import leaseweb_public_cloud_ip.example 695ddd91-051f-4dd6-9120-938a927a47d0,10.0.0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Manage example Public Cloud ip | ||
resource "leaseweb_public_cloud_ip" "example" { | ||
instance_id = "695ddd91-051f-4dd6-9120-938a927a47d0" | ||
ip = "10.0.0.1" | ||
reverse_lookup = "example.com" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.