From 41069fe8b03c2105b4e14336560e9f9abbcb16d8 Mon Sep 17 00:00:00 2001 From: Mohit Hooda Date: Thu, 28 Sep 2023 17:57:52 +0530 Subject: [PATCH] Modified dir name from hw_documentation ro documentation_resource, changed topology values in resource.tf, changed resoruce name from documentation to test_documentation --- .../resource.tf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename examples/resources/{hw_documentation => documentation_resource}/resource.tf (62%) diff --git a/examples/resources/hw_documentation/resource.tf b/examples/resources/documentation_resource/resource.tf similarity index 62% rename from examples/resources/hw_documentation/resource.tf rename to examples/resources/documentation_resource/resource.tf index baeb48b..6446069 100644 --- a/examples/resources/hw_documentation/resource.tf +++ b/examples/resources/documentation_resource/resource.tf @@ -12,13 +12,13 @@ provider "dcloud" { } resource "dcloud_topology" "test_topology" { - name = "My Terraformed Topology" - description = "A topology created from terraform" - notes = "Programmatic clients rule!" + name = "Documentation Resource Test" + description = "Testing Topology Documentation Resource Management" + notes = "Created via Terraform Test" datacenter = "LON" } -resource "dcloud_documentation" "documentation" { +resource "dcloud_documentation" "test_documentation" { topology_uid = dcloud_topology.test_topology.id doc_url = "https://johndoe.com" } \ No newline at end of file