diff --git a/website/source/docs/providers/oneandone/index.html.markdown b/website/source/docs/providers/oneandone/index.html.markdown index 6a215ee36..7b4c6e2b9 100644 --- a/website/source/docs/providers/oneandone/index.html.markdown +++ b/website/source/docs/providers/oneandone/index.html.markdown @@ -18,7 +18,7 @@ Use the navigation to the left to read about the available resources. The provider needs to be configured with proper credentials before it can be used. -``` +```text $ export ONEANDONE_TOKEN="oneandone_token" ``` @@ -30,7 +30,7 @@ The credentials provided in `.tf` file will override credentials in the environm ## Example Usage -``` +```hcl provider "oneandone"{ token = "oneandone_token" endpoint = "oneandone_endpoint" diff --git a/website/source/docs/providers/oneandone/r/oneandone_firewall_policy.html.markdown b/website/source/docs/providers/oneandone/r/firewall_policy.html.markdown similarity index 95% rename from website/source/docs/providers/oneandone/r/oneandone_firewall_policy.html.markdown rename to website/source/docs/providers/oneandone/r/firewall_policy.html.markdown index 594ef7ffa..c5e2eb32f 100644 --- a/website/source/docs/providers/oneandone/r/oneandone_firewall_policy.html.markdown +++ b/website/source/docs/providers/oneandone/r/firewall_policy.html.markdown @@ -1,7 +1,7 @@ --- layout: "oneandone" page_title: "1&1: oneandone_firewall_policy" -sidebar_current: "docs-oneandone-resource-firwall-policy" +sidebar_current: "docs-oneandone-resource-firewall-policy" description: |- Creates and manages 1&1 Firewall Policy. --- @@ -12,7 +12,7 @@ Manages a Firewall Policy on 1&1 ## Example Usage -``` +```hcl resource "oneandone_firewall_policy" "fw" { name = "test_fw_011" rules = [ diff --git a/website/source/docs/providers/oneandone/r/oneandone_loadbalancer.html.markdown b/website/source/docs/providers/oneandone/r/loadbalancer.html.markdown similarity index 99% rename from website/source/docs/providers/oneandone/r/oneandone_loadbalancer.html.markdown rename to website/source/docs/providers/oneandone/r/loadbalancer.html.markdown index e77d66169..35dc4e7e2 100644 --- a/website/source/docs/providers/oneandone/r/oneandone_loadbalancer.html.markdown +++ b/website/source/docs/providers/oneandone/r/loadbalancer.html.markdown @@ -12,7 +12,7 @@ Manages a Load Balancer on 1&1 ## Example Usage -``` +```hcl resource "oneandone_loadbalancer" "lb" { name = "test_lb" method = "ROUND_ROBIN" diff --git a/website/source/docs/providers/oneandone/r/oneandone_monitoring_policy.html.markdown b/website/source/docs/providers/oneandone/r/monitoring_policy.html.markdown similarity index 99% rename from website/source/docs/providers/oneandone/r/oneandone_monitoring_policy.html.markdown rename to website/source/docs/providers/oneandone/r/monitoring_policy.html.markdown index 2e3b6cfa2..71e0f5120 100644 --- a/website/source/docs/providers/oneandone/r/oneandone_monitoring_policy.html.markdown +++ b/website/source/docs/providers/oneandone/r/monitoring_policy.html.markdown @@ -12,7 +12,7 @@ Manages a Monitoring Policy on 1&1 ## Example Usage -``` +```hcl resource "oneandone_monitoring_policy" "mp" { name = "test_mp" agent = true diff --git a/website/source/docs/providers/oneandone/r/oneandone_private_network.html.markdown b/website/source/docs/providers/oneandone/r/private_network.html.markdown similarity index 99% rename from website/source/docs/providers/oneandone/r/oneandone_private_network.html.markdown rename to website/source/docs/providers/oneandone/r/private_network.html.markdown index 0a0456127..1ea270356 100644 --- a/website/source/docs/providers/oneandone/r/oneandone_private_network.html.markdown +++ b/website/source/docs/providers/oneandone/r/private_network.html.markdown @@ -12,7 +12,7 @@ Manages a Private Network on 1&1 ## Example Usage -``` +```hcl resource "oneandone_private_network" "pn" { name = "pn_test", description = "new stuff001" diff --git a/website/source/docs/providers/oneandone/r/oneandone_public_ip.html.markdown b/website/source/docs/providers/oneandone/r/public_ip.html.markdown similarity index 98% rename from website/source/docs/providers/oneandone/r/oneandone_public_ip.html.markdown rename to website/source/docs/providers/oneandone/r/public_ip.html.markdown index cb00d222a..7fd01cd74 100644 --- a/website/source/docs/providers/oneandone/r/oneandone_public_ip.html.markdown +++ b/website/source/docs/providers/oneandone/r/public_ip.html.markdown @@ -12,7 +12,7 @@ Manages a Public IP on 1&1 ## Example Usage -``` +```hcl resource "oneandone_vpn" "vpn" { datacenter = "GB" name = "test_vpn_01" diff --git a/website/source/docs/providers/oneandone/r/oneandone_server.html.markdown b/website/source/docs/providers/oneandone/r/server.html.markdown similarity index 99% rename from website/source/docs/providers/oneandone/r/oneandone_server.html.markdown rename to website/source/docs/providers/oneandone/r/server.html.markdown index 7e88b972a..5a5f88b73 100644 --- a/website/source/docs/providers/oneandone/r/oneandone_server.html.markdown +++ b/website/source/docs/providers/oneandone/r/server.html.markdown @@ -12,7 +12,7 @@ Manages a Server on 1&1 ## Example Usage -``` +```hcl resource "oneandone_server" "server" { name = "Example" description = "Terraform 1and1 tutorial" diff --git a/website/source/docs/providers/oneandone/r/oneandone_shared_storage.html.markdown b/website/source/docs/providers/oneandone/r/shared_storage.html.markdown similarity index 99% rename from website/source/docs/providers/oneandone/r/oneandone_shared_storage.html.markdown rename to website/source/docs/providers/oneandone/r/shared_storage.html.markdown index a8fe8224f..0c7730b9b 100644 --- a/website/source/docs/providers/oneandone/r/oneandone_shared_storage.html.markdown +++ b/website/source/docs/providers/oneandone/r/shared_storage.html.markdown @@ -12,7 +12,7 @@ Manages a Shared Storage on 1&1 ## Example Usage -``` +```hcl resource "oneandone_shared_storage" "storage" { name = "test_storage1" description = "1234" diff --git a/website/source/docs/providers/oneandone/r/oneandone_vpn.html.markdown b/website/source/docs/providers/oneandone/r/vpn.html.markdown similarity index 98% rename from website/source/docs/providers/oneandone/r/oneandone_vpn.html.markdown rename to website/source/docs/providers/oneandone/r/vpn.html.markdown index 4b79e0ca7..7f9aecf78 100644 --- a/website/source/docs/providers/oneandone/r/oneandone_vpn.html.markdown +++ b/website/source/docs/providers/oneandone/r/vpn.html.markdown @@ -12,7 +12,7 @@ Manages a VPN on 1&1 ## Example Usage -``` +```hcl resource "oneandone_public_ip" "ip" { "ip_type" = "IPV4" "reverse_dns" = "test.1and1.com" diff --git a/website/source/layouts/docs.erb b/website/source/layouts/docs.erb index 16a74494c..5ffc5e230 100644 --- a/website/source/layouts/docs.erb +++ b/website/source/layouts/docs.erb @@ -340,6 +340,10 @@ MySQL +