From 77b996df6a0ec49d95e0172495de8b0b2e700581 Mon Sep 17 00:00:00 2001 From: Jake Champlin Date: Tue, 25 Apr 2017 15:23:35 -0400 Subject: [PATCH] provider/opc: Update documentation Updates documentation to add code-block tags, and populate the importability documentation page. --- .../source/docs/import/importability.html.md | 24 +++++++++++++++++++ ...pc_compute_network_interface.html.markdown | 2 +- .../opc/d/opc_compute_vnic.html.markdown | 2 +- .../docs/providers/opc/index.html.markdown | 2 +- .../opc/r/opc_compute_acl.html.markdown | 6 ++--- .../r/opc_compute_image_list.html.markdown | 6 ++--- ...opc_compute_image_list_entry.html.markdown | 6 ++--- .../opc/r/opc_compute_instance.html.markdown | 6 ++--- ...mpute_ip_address_association.html.markdown | 6 ++--- ...ompute_ip_address_prefix_set.html.markdown | 6 ++--- ...mpute_ip_address_reservation.html.markdown | 10 +++++++- .../opc_compute_ip_association.html.markdown | 6 ++--- .../r/opc_compute_ip_network.html.markdown | 10 +++++++- ..._compute_ip_network_exchange.html.markdown | 6 ++--- .../opc_compute_ip_reservation.html.markdown | 6 ++--- .../opc/r/opc_compute_route.html.markdown | 6 ++--- .../opc/r/opc_compute_sec_rule.html.markdown | 6 ++--- ...compute_security_application.html.markdown | 8 +++---- ...compute_security_association.html.markdown | 6 ++--- ...opc_compute_security_ip_list.html.markdown | 6 ++--- .../r/opc_compute_security_list.html.markdown | 6 ++--- ...pc_compute_security_protocol.html.markdown | 6 ++--- .../r/opc_compute_security_rule.html.markdown | 6 ++--- .../opc/r/opc_compute_ssh_key.html.markdown | 6 ++--- .../opc_compute_storage_volume.html.markdown | 8 +++---- ...pute_storage_volume_snapshot.html.markdown | 6 ++--- .../opc/r/opc_compute_vnic_set.html.markdown | 6 ++--- 27 files changed, 110 insertions(+), 70 deletions(-) diff --git a/website/source/docs/import/importability.html.md b/website/source/docs/import/importability.html.md index 8fbdb4878..b6b22e609 100644 --- a/website/source/docs/import/importability.html.md +++ b/website/source/docs/import/importability.html.md @@ -174,6 +174,30 @@ To make a resource importable, please see the * openstack_networking_secgroup_v2 * openstack_networking_subnet_v2 +### OPC (Oracle Public Cloud) + +* opc_compute_acl +* opc_compute_image_list +* opc_compute_instance +* opc_compute_ip_address_association +* opc_compute_ip_address_prefix_set +* opc_compute_ip_address_reservation +* opc_compute_ip_association +* opc_compute_ip_network_exchange +* opc_compute_ip_network +* opc_compute_ip_reservation +* opc_compute_route +* opc_compute_sec_rule +* opc_compute_security_application +* opc_compute_security_association +* opc_compute_security_ip_list +* opc_compute_security_list +* opc_compute_security_protocol +* opc_compute_security_rule +* opc_compute_ssh_key +* opc_compute_storage_volume_snapshot +* opc_compute_storage_volume + ### PostgreSQL * postgresql_database diff --git a/website/source/docs/providers/opc/d/opc_compute_network_interface.html.markdown b/website/source/docs/providers/opc/d/opc_compute_network_interface.html.markdown index ab924e5d4..8ab2d31cb 100644 --- a/website/source/docs/providers/opc/d/opc_compute_network_interface.html.markdown +++ b/website/source/docs/providers/opc/d/opc_compute_network_interface.html.markdown @@ -12,7 +12,7 @@ Use this data source to access the configuration of an instance's network interf ## Example Usage -``` +```hcl data "opc_compute_network_interface" "foo" { instance_id = "${opc_compute_instance.my_instance.id}" instance_name = "${opc_compute_instance.my_instance.name}" diff --git a/website/source/docs/providers/opc/d/opc_compute_vnic.html.markdown b/website/source/docs/providers/opc/d/opc_compute_vnic.html.markdown index 8656c85c2..bef1b5c66 100644 --- a/website/source/docs/providers/opc/d/opc_compute_vnic.html.markdown +++ b/website/source/docs/providers/opc/d/opc_compute_vnic.html.markdown @@ -12,7 +12,7 @@ Use this data source to access the configuration of a Virtual NIC. ## Example Usage -``` +```hcl data "opc_compute_vnic" "current" { name = "my_vnic_name" } diff --git a/website/source/docs/providers/opc/index.html.markdown b/website/source/docs/providers/opc/index.html.markdown index b23d54687..13c626ead 100644 --- a/website/source/docs/providers/opc/index.html.markdown +++ b/website/source/docs/providers/opc/index.html.markdown @@ -14,7 +14,7 @@ Use the navigation to the left to read about the available resources. ## Example Usage -``` +```hcl # Configure the Oracle Public Cloud provider "opc" { user = "..." diff --git a/website/source/docs/providers/opc/r/opc_compute_acl.html.markdown b/website/source/docs/providers/opc/r/opc_compute_acl.html.markdown index b69aab166..ffc37a29d 100644 --- a/website/source/docs/providers/opc/r/opc_compute_acl.html.markdown +++ b/website/source/docs/providers/opc/r/opc_compute_acl.html.markdown @@ -12,7 +12,7 @@ The ``opc_compute_acl`` resource creates and manages an ACL in an OPC identity d ## Example Usage -``` +```hcl resource "opc_compute_acl" "default" { name = "ACL1" description = "This is a description for an acl" @@ -40,6 +40,6 @@ In addition to the above, the following values are exported: ACL's can be imported using the `resource name`, e.g. -``` -terraform import opc_compute_acl.acl1 example +```shell +$ terraform import opc_compute_acl.acl1 example ``` diff --git a/website/source/docs/providers/opc/r/opc_compute_image_list.html.markdown b/website/source/docs/providers/opc/r/opc_compute_image_list.html.markdown index 727114c2e..1e10ec352 100644 --- a/website/source/docs/providers/opc/r/opc_compute_image_list.html.markdown +++ b/website/source/docs/providers/opc/r/opc_compute_image_list.html.markdown @@ -12,7 +12,7 @@ The ``opc_compute_image_list`` resource creates and manages an Image List in an ## Example Usage -``` +```hcl resource "opc_compute_image_list" "test" { name = "imagelist1" description = "This is a description of the Image List" @@ -34,6 +34,6 @@ The following arguments are supported: Image List's can be imported using the `resource name`, e.g. -``` -terraform import opc_compute_image_list.imagelist1 example +```shell +$ terraform import opc_compute_image_list.imagelist1 example ``` diff --git a/website/source/docs/providers/opc/r/opc_compute_image_list_entry.html.markdown b/website/source/docs/providers/opc/r/opc_compute_image_list_entry.html.markdown index b062773e8..293bb6c4b 100644 --- a/website/source/docs/providers/opc/r/opc_compute_image_list_entry.html.markdown +++ b/website/source/docs/providers/opc/r/opc_compute_image_list_entry.html.markdown @@ -12,7 +12,7 @@ The ``opc_compute_image_list_entry`` resource creates and manages an Image List ## Example Usage -``` +```hcl resource "opc_compute_image_list" "test" { name = "imagelist1" description = "This is a description of the Image List" @@ -53,6 +53,6 @@ In addition to the above arguments, the following attributes are exported Image List's can be imported using the `resource name`, e.g. -``` -terraform import opc_compute_image_list_entry.entry1 example +```shell +$ terraform import opc_compute_image_list_entry.entry1 example ``` diff --git a/website/source/docs/providers/opc/r/opc_compute_instance.html.markdown b/website/source/docs/providers/opc/r/opc_compute_instance.html.markdown index 881045b42..40dcd7167 100644 --- a/website/source/docs/providers/opc/r/opc_compute_instance.html.markdown +++ b/website/source/docs/providers/opc/r/opc_compute_instance.html.markdown @@ -18,7 +18,7 @@ on your instance resources as an extra safety measure. ## Example Usage -``` +```hcl resource "opc_compute_ip_network" "test" { name = "internal-network" description = "Terraform Provisioned Internal Network" @@ -193,6 +193,6 @@ For example, in the Web Console an instance's fully qualified name is: The instance can be imported as such: -``` -terraform import opc_compute_instance.instance1 instance_name/instance_id +```shell +$ terraform import opc_compute_instance.instance1 instance_name/instance_id ``` diff --git a/website/source/docs/providers/opc/r/opc_compute_ip_address_association.html.markdown b/website/source/docs/providers/opc/r/opc_compute_ip_address_association.html.markdown index 6b63ce55a..cffabad6a 100644 --- a/website/source/docs/providers/opc/r/opc_compute_ip_address_association.html.markdown +++ b/website/source/docs/providers/opc/r/opc_compute_ip_address_association.html.markdown @@ -12,7 +12,7 @@ The ``opc_compute_ip_address_association`` resource creates and manages an IP ad ## Example Usage -``` +```hcl resource "opc_compute_ip_address_association" "default" { name = "PrefixSet1" ip_address_reservation = "${opc_compute_ip_address_reservation.default.name}" @@ -43,6 +43,6 @@ In addition to the above, the following variables are exported: IP Address Associations can be imported using the `resource name`, e.g. -``` -terraform import opc_compute_ip_address_association.default example +```shell +$ terraform import opc_compute_ip_address_association.default example ``` diff --git a/website/source/docs/providers/opc/r/opc_compute_ip_address_prefix_set.html.markdown b/website/source/docs/providers/opc/r/opc_compute_ip_address_prefix_set.html.markdown index b4ff5c949..fa63f0794 100644 --- a/website/source/docs/providers/opc/r/opc_compute_ip_address_prefix_set.html.markdown +++ b/website/source/docs/providers/opc/r/opc_compute_ip_address_prefix_set.html.markdown @@ -12,7 +12,7 @@ The ``opc_compute_ip_address_prefix_set`` resource creates and manages an IP add ## Example Usage -``` +```hcl resource "opc_compute_ip_address_prefix_set" "default" { name = "PrefixSet1" prefixes = ["192.168.0.0/16", "172.120.0.0/24"] @@ -40,6 +40,6 @@ In addition to the above, the following variables are exported: IP Address Prefix Set can be imported using the `resource name`, e.g. -``` -terraform import opc_compute_ip_address_prefix_set.default example +```shell +$ terraform import opc_compute_ip_address_prefix_set.default example ``` diff --git a/website/source/docs/providers/opc/r/opc_compute_ip_address_reservation.html.markdown b/website/source/docs/providers/opc/r/opc_compute_ip_address_reservation.html.markdown index 6a92b8cae..30aed5c62 100644 --- a/website/source/docs/providers/opc/r/opc_compute_ip_address_reservation.html.markdown +++ b/website/source/docs/providers/opc/r/opc_compute_ip_address_reservation.html.markdown @@ -12,7 +12,7 @@ The ``opc_compute_ip_address_reservation`` resource creates and manages an IP ad ## Example Usage -``` +```hcl resource "opc_compute_ip_address_reservation" "default" { name = "IPAddressReservation1" ip_address_pool = "public-ippool" @@ -36,3 +36,11 @@ In addition to the above, the following attributes are exported: * `ip_address` - Reserved NAT IPv4 address from the IP address pool. * `uri` - The Uniform Resource Identifier of the ip address reservation + +## Import + +IP Address Reservations can be imported using the `resource name`, e.g. + +```shell +$ terraform import opc_compute_ip_address_reservation.default example +``` diff --git a/website/source/docs/providers/opc/r/opc_compute_ip_association.html.markdown b/website/source/docs/providers/opc/r/opc_compute_ip_association.html.markdown index 8a7c073a2..8ed8334c6 100644 --- a/website/source/docs/providers/opc/r/opc_compute_ip_association.html.markdown +++ b/website/source/docs/providers/opc/r/opc_compute_ip_association.html.markdown @@ -13,7 +13,7 @@ an OPC identity domain, for the Shared Network. ## Example Usage -``` +```hcl resource "opc_compute_ip_association" "instance1_reservation1" { vcable = "${opc_compute_instance.test_instance.vcable}" parentpool = "ipreservation:${opc_compute_ip_reservation.reservation1.name}" @@ -41,6 +41,6 @@ The following attributes are exported: IP Associations can be imported using the `resource name`, e.g. -``` -terraform import opc_compute_ip_association.association1 example +```shell +$ terraform import opc_compute_ip_association.association1 example ``` diff --git a/website/source/docs/providers/opc/r/opc_compute_ip_network.html.markdown b/website/source/docs/providers/opc/r/opc_compute_ip_network.html.markdown index 6a8885337..5b843219d 100644 --- a/website/source/docs/providers/opc/r/opc_compute_ip_network.html.markdown +++ b/website/source/docs/providers/opc/r/opc_compute_ip_network.html.markdown @@ -12,7 +12,7 @@ The ``opc_compute_ip_network`` resource creates and manages an IP Network. ## Example Usage -``` +```hcl resource "opc_compute_ip_network" "foo" { name = "my-ip-network" description = "my IP Network" @@ -52,3 +52,11 @@ The following attributes are exported: * `public_napt_enabled` - Whether public internet access using NAPT for VNICs without any public IP Reservation or not. * `uri` - Uniform Resource Identifier for the IP Network + +## Import + +IP Networks can be imported using the `resource name`, e.g. + +```shell +$ terraform import opc_compute_ip_network.default example +``` diff --git a/website/source/docs/providers/opc/r/opc_compute_ip_network_exchange.html.markdown b/website/source/docs/providers/opc/r/opc_compute_ip_network_exchange.html.markdown index 0f07781f6..e0ab547b1 100644 --- a/website/source/docs/providers/opc/r/opc_compute_ip_network_exchange.html.markdown +++ b/website/source/docs/providers/opc/r/opc_compute_ip_network_exchange.html.markdown @@ -12,7 +12,7 @@ The ``opc_compute_ip_network_exchange`` resource creates and manages an IP netwo ## Example Usage -``` +```hcl resource "opc_compute_ip_network_exchange" "default" { name = "NetworkExchange1" } @@ -32,6 +32,6 @@ The following arguments are supported: IP Network Exchange's can be imported using the `resource name`, e.g. -``` -terraform import opc_compute_ip_network_exchange.exchange1 example +```shell +$ terraform import opc_compute_ip_network_exchange.exchange1 example ``` diff --git a/website/source/docs/providers/opc/r/opc_compute_ip_reservation.html.markdown b/website/source/docs/providers/opc/r/opc_compute_ip_reservation.html.markdown index 67632c92d..b1462261b 100644 --- a/website/source/docs/providers/opc/r/opc_compute_ip_reservation.html.markdown +++ b/website/source/docs/providers/opc/r/opc_compute_ip_reservation.html.markdown @@ -12,7 +12,7 @@ The ``opc_compute_ip_reservation`` resource creates and manages an IP reservatio ## Example Usage -``` +```hcl resource "opc_compute_ip_reservation" "reservation1" { parent_pool = "/oracle/public/ippool" permanent = true @@ -38,6 +38,6 @@ deleted and recreated (if false). IP Reservations can be imported using the `resource name`, e.g. -``` -terraform import opc_compute_ip_reservations.reservation1 example +```shell +$ terraform import opc_compute_ip_reservations.reservation1 example ``` diff --git a/website/source/docs/providers/opc/r/opc_compute_route.html.markdown b/website/source/docs/providers/opc/r/opc_compute_route.html.markdown index f7bfe7e63..ccb3d0dac 100644 --- a/website/source/docs/providers/opc/r/opc_compute_route.html.markdown +++ b/website/source/docs/providers/opc/r/opc_compute_route.html.markdown @@ -12,7 +12,7 @@ The ``opc_compute_route`` resource creates and manages a route for an IP Network ## Example Usage -``` +```hcl resource "opc_compute_route" "foo" { name = "my-route" description = "my IP Network route" @@ -55,6 +55,6 @@ The following attributes are exported: Route's can be imported using the `resource name`, e.g. -``` -terraform import opc_compute_route.route1 example +```shell +$ terraform import opc_compute_route.route1 example ``` diff --git a/website/source/docs/providers/opc/r/opc_compute_sec_rule.html.markdown b/website/source/docs/providers/opc/r/opc_compute_sec_rule.html.markdown index 2593ad007..96a46b919 100644 --- a/website/source/docs/providers/opc/r/opc_compute_sec_rule.html.markdown +++ b/website/source/docs/providers/opc/r/opc_compute_sec_rule.html.markdown @@ -12,7 +12,7 @@ The ``opc_compute_sec_rule`` resource creates and manages a sec rule in an OPC i ## Example Usage -``` +```hcl resource "opc_compute_sec_rule" "test_rule" { name = "test" source_list = "seclist:${opc_compute_security_list.sec-list1.name}" @@ -52,6 +52,6 @@ In addition to the above, the following values are exported: Sec Rule's can be imported using the `resource name`, e.g. -``` -terraform import opc_compute_sec_rule.rule1 example +```shell +$ terraform import opc_compute_sec_rule.rule1 example ``` diff --git a/website/source/docs/providers/opc/r/opc_compute_security_application.html.markdown b/website/source/docs/providers/opc/r/opc_compute_security_application.html.markdown index 0949f9467..2bf7fec5e 100644 --- a/website/source/docs/providers/opc/r/opc_compute_security_application.html.markdown +++ b/website/source/docs/providers/opc/r/opc_compute_security_application.html.markdown @@ -12,7 +12,7 @@ The ``opc_compute_security_application`` resource creates and manages a security ## Example Usage (TCP) -``` +```hcl resource "opc_compute_security_application" "tomcat" { name = "tomcat" protocol = "tcp" @@ -22,7 +22,7 @@ resource "opc_compute_security_application" "tomcat" { ## Example Usage (ICMP) -``` +```hcl resource "opc_compute_security_application" "tomcat" { name = "tomcat" protocol = "icmp" @@ -52,6 +52,6 @@ The following arguments are supported: Security Application's can be imported using the `resource name`, e.g. -``` -terraform import opc_compute_security_application.application1 example +```shell +$ terraform import opc_compute_security_application.application1 example ``` diff --git a/website/source/docs/providers/opc/r/opc_compute_security_association.html.markdown b/website/source/docs/providers/opc/r/opc_compute_security_association.html.markdown index 0cbe442ef..2d711d589 100644 --- a/website/source/docs/providers/opc/r/opc_compute_security_association.html.markdown +++ b/website/source/docs/providers/opc/r/opc_compute_security_association.html.markdown @@ -13,7 +13,7 @@ list in an OPC identity domain. ## Example Usage -``` +```hcl resource "opc_compute_security_association" "test_instance_sec_list_1" { name = "association1" vcable = "${opc_compute_instance.test_instance.vcable}" @@ -35,6 +35,6 @@ The following arguments are supported: Security Association's can be imported using the `resource name`, e.g. -``` -terraform import opc_compute_security_association.association1 example +```shell +$ terraform import opc_compute_security_association.association1 example ``` diff --git a/website/source/docs/providers/opc/r/opc_compute_security_ip_list.html.markdown b/website/source/docs/providers/opc/r/opc_compute_security_ip_list.html.markdown index 286ba5f9e..503c93efe 100644 --- a/website/source/docs/providers/opc/r/opc_compute_security_ip_list.html.markdown +++ b/website/source/docs/providers/opc/r/opc_compute_security_ip_list.html.markdown @@ -12,7 +12,7 @@ The ``opc_compute_security_ip_list`` resource creates and manages a security IP ## Example Usage -``` +```hcl resource "opc_compute_security_ip_list" "sec_ip_list1" { name = "sec-ip-list1" ip_entries = ["217.138.34.4"] @@ -33,6 +33,6 @@ The following arguments are supported: IP List's can be imported using the `resource name`, e.g. -``` -terraform import opc_compute_ip_list.list1 example +```shell +$ terraform import opc_compute_ip_list.list1 example ``` diff --git a/website/source/docs/providers/opc/r/opc_compute_security_list.html.markdown b/website/source/docs/providers/opc/r/opc_compute_security_list.html.markdown index a7b84e692..461e6603e 100644 --- a/website/source/docs/providers/opc/r/opc_compute_security_list.html.markdown +++ b/website/source/docs/providers/opc/r/opc_compute_security_list.html.markdown @@ -12,7 +12,7 @@ The ``opc_compute_security_list`` resource creates and manages a security list i ## Example Usage -``` +```hcl resource "opc_compute_security_list" "sec_list1" { name = "sec-list-1" policy = "permit" @@ -36,6 +36,6 @@ The following arguments are supported: Security List's can be imported using the `resource name`, e.g. -``` -terraform import opc_compute_security_list.list1 example +```shell +$ terraform import opc_compute_security_list.list1 example ``` diff --git a/website/source/docs/providers/opc/r/opc_compute_security_protocol.html.markdown b/website/source/docs/providers/opc/r/opc_compute_security_protocol.html.markdown index 46449a899..00208321a 100644 --- a/website/source/docs/providers/opc/r/opc_compute_security_protocol.html.markdown +++ b/website/source/docs/providers/opc/r/opc_compute_security_protocol.html.markdown @@ -12,7 +12,7 @@ The ``opc_compute_security_protocol`` resource creates and manages a security pr ## Example Usage -``` +```hcl resource "opc_compute_security_protocol" "default" { name = "security-protocol-1" dst_ports = ["2045-2050"] @@ -60,6 +60,6 @@ In addition to the above, the following values are exported: ACL's can be imported using the `resource name`, e.g. -``` -terraform import opc_compute_security_protocol.default example +```shell +$ terraform import opc_compute_security_protocol.default example ``` diff --git a/website/source/docs/providers/opc/r/opc_compute_security_rule.html.markdown b/website/source/docs/providers/opc/r/opc_compute_security_rule.html.markdown index d2462980a..0a44150e7 100644 --- a/website/source/docs/providers/opc/r/opc_compute_security_rule.html.markdown +++ b/website/source/docs/providers/opc/r/opc_compute_security_rule.html.markdown @@ -12,7 +12,7 @@ The ``opc_compute_security_rule`` resource creates and manages a security rule i ## Example Usage -``` +```hcl resource "opc_compute_security_rule" "default" { name = "SecurityRule1" flow_direction = "ingress" @@ -57,6 +57,6 @@ In addition to the above, the following attributes are exported: Security Rule's can be imported using the `resource name`, e.g. -``` -terraform import opc_compute_security_rule.rule1 example +```shell +$ terraform import opc_compute_security_rule.rule1 example ``` diff --git a/website/source/docs/providers/opc/r/opc_compute_ssh_key.html.markdown b/website/source/docs/providers/opc/r/opc_compute_ssh_key.html.markdown index 2969ebea2..e982b935a 100644 --- a/website/source/docs/providers/opc/r/opc_compute_ssh_key.html.markdown +++ b/website/source/docs/providers/opc/r/opc_compute_ssh_key.html.markdown @@ -12,7 +12,7 @@ The ``opc_compute_ssh_key`` resource creates and manages an SSH key in an OPC id ## Example Usage -``` +```hcl resource "opc_compute_ssh_key" "%s" { name = "test-key" key = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCqw6JwbjIk..." @@ -35,6 +35,6 @@ without removing it entirely from your Terraform resource definition. Defaults t SSH Key's can be imported using the `resource name`, e.g. -``` -terraform import opc_compute_ssh_key.key1 example +```shell +$ terraform import opc_compute_ssh_key.key1 example ``` diff --git a/website/source/docs/providers/opc/r/opc_compute_storage_volume.html.markdown b/website/source/docs/providers/opc/r/opc_compute_storage_volume.html.markdown index a71a5b249..cfa19a2ad 100644 --- a/website/source/docs/providers/opc/r/opc_compute_storage_volume.html.markdown +++ b/website/source/docs/providers/opc/r/opc_compute_storage_volume.html.markdown @@ -14,7 +14,7 @@ The ``opc_compute_storage_volume`` resource creates and manages a storage volume ## Example Usage -``` +```hcl resource "opc_compute_storage_volume" "test" { name = "storageVolume1" description = "Description for the Storage Volume" @@ -24,7 +24,7 @@ resource "opc_compute_storage_volume" "test" { ``` ## Example Usage (Bootable Volume) -``` +```hcl resource "opc_compute_image_list" "test" { name = "imageList1" description = "Description for the Image List" @@ -77,6 +77,6 @@ The following attributes are exported: Storage Volume's can be imported using the `resource name`, e.g. -``` -terraform import opc_compute_storage_volume.volume1 example +```shell +$ terraform import opc_compute_storage_volume.volume1 example ``` diff --git a/website/source/docs/providers/opc/r/opc_compute_storage_volume_snapshot.html.markdown b/website/source/docs/providers/opc/r/opc_compute_storage_volume_snapshot.html.markdown index 7a167080c..885739762 100644 --- a/website/source/docs/providers/opc/r/opc_compute_storage_volume_snapshot.html.markdown +++ b/website/source/docs/providers/opc/r/opc_compute_storage_volume_snapshot.html.markdown @@ -12,7 +12,7 @@ The ``opc_compute_storage_volume_snapshot`` resource creates and manages a stora ## Example Usage -``` +```hcl resource "opc_compute_storage_volume_snapshot" "test" { name = "storageVolume1" description = "Description for the Storage Volume" @@ -54,6 +54,6 @@ In addition to the attributes above, the following attributes are exported: Storage Volume Snapshot's can be imported using the `resource name`, e.g. -``` -terraform import opc_compute_storage_volume_snapshot.volume1 example +```shell +$ terraform import opc_compute_storage_volume_snapshot.volume1 example ``` diff --git a/website/source/docs/providers/opc/r/opc_compute_vnic_set.html.markdown b/website/source/docs/providers/opc/r/opc_compute_vnic_set.html.markdown index c5cf9c455..191ffa159 100644 --- a/website/source/docs/providers/opc/r/opc_compute_vnic_set.html.markdown +++ b/website/source/docs/providers/opc/r/opc_compute_vnic_set.html.markdown @@ -12,7 +12,7 @@ The ``opc_compute_vnic_set`` resource creates and manages a virtual NIC set in a ## Example Usage -``` +```hcl resource "opc_compute_vnic_set" "test_set" { name = "test_vnic_set" description = "My vnic set" @@ -40,6 +40,6 @@ The following arguments are supported: VNIC Set's can be imported using the `resource name`, e.g. -``` -terraform import opc_compute_vnic_set.set1 example +```shell +$ terraform import opc_compute_vnic_set.set1 example ```