Skip to content

Commit

Permalink
chore(release): 1.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
semantic-release-bot committed Jun 19, 2023
1 parent 675e9f3 commit 505a57c
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [1.12.0](https://github.com/terraform-routeros/terraform-provider-routeros/compare/v1.11.0...v1.12.0) (2023-06-19)


### Features

* Add IP Cloud ([#234](https://github.com/terraform-routeros/terraform-provider-routeros/issues/234)) ([675e9f3](https://github.com/terraform-routeros/terraform-provider-routeros/commit/675e9f3b57735ca035af34b43a0568fe2ee71c28)), closes [#231](https://github.com/terraform-routeros/terraform-provider-routeros/issues/231)

## [1.11.0](https://github.com/terraform-routeros/terraform-provider-routeros/compare/v1.10.4...v1.11.0) (2023-06-19)


Expand Down
35 changes: 35 additions & 0 deletions docs/resources/ip_cloud.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# routeros_ip_cloud (Resource)


## Example Usage
```terraform
resource "routeros_ip_cloud" "test" {
ddns_enabled = true
update_time = false
ddns_update_interval = "11m"
}
```

<!-- schema generated by tfplugindocs -->
## Schema

### Optional

- `ddns_enabled` (Boolean) If set to yes, then the device will send an encrypted message to the MikroTik's Cloud server. The server will then decrypt the message and verify that the sender is an authentic MikroTik device. If all is OK, then the MikroTik's Cloud server will create a DDNS record for this device and send a response to the device. Every minute the IP/Cloud service on the router will check if WAN IP address matches the one sent to MikroTik's Cloud server and will send encrypted update to cloud server if IP address changes.
- `ddns_update_interval` (String) If set DDNS will attempt to connect IP Cloud servers at the set interval. If set to none it will continue to internally check IP address update and connect to IP Cloud servers as needed. Useful if IP address used is not on the router itself and thus, cannot be checked as a value internal to the router.
- `update_time` (Boolean) If set to yes then router clock will be set to time, provided by cloud server IF there is no NTP or SNTP client enabled. If set to no, then IP/Cloud service will never update the device's clock. If update-time is set to yes, Clock will be updated even when ddns-enabled is set to no.

### Read-Only

- `dns_name` (String) Shows DNS name assigned to the rdevice. Name consists of 12 character serial number appended by .sn.mynetname.net. This field is visible only after at least one ddns-request is successfully completed.
- `id` (String) The ID of this resource.
- `public_address` (String) Shows device's IPv4 address that was sent to cloud server. This field is visible only after at least one IP Cloud request was successfully completed.
- `public_address_ivp6` (String) Shows device's IPv6 address that was sent to cloud server. This field is visible only after at least one IP Cloud request was successfully completed.
- `status` (String) Contains text string that describes current dns-service state. The messages are self explanatory updating... updated Error: no Internet connection Error: request timed out Error: REJECTED. Contact MikroTik support Error: internal error - should not happen. One possible cause is if router runs out of memory.
- `warning` (String) Shows a warning message if IP address sent by the device differs from the IP address in UDP packet header as visible by the MikroTik's Cloud server. Typically this happens if the device is behind NAT. Example: 'DDNS server received request from IP 123.123.123.123 but your local IP was 192.168.88.23; DDNS service might not work'

## Import
Import is supported using the following syntax:
```shell
terraform import routeros_ip_cloud.test .
```
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "terraform-provider-routeros",
"version": "1.11.0",
"version": "1.12.0",
"repository": {
"type": "git",
"url": "https://github.com/terraform-routeros/terraform-provider-routeros"
Expand Down

0 comments on commit 505a57c

Please sign in to comment.