{"id":9254,"date":"2023-12-19T08:00:28","date_gmt":"2023-12-19T16:00:28","guid":{"rendered":"https:\/\/blogs.infoblox.com\/?p=9254"},"modified":"2023-12-19T08:05:11","modified_gmt":"2023-12-19T16:05:11","slug":"terraform-import-your-existing-nios-ddi-infrastructure","status":"publish","type":"post","link":"https:\/\/www.infoblox.com\/blog\/community\/terraform-import-your-existing-nios-ddi-infrastructure\/","title":{"rendered":"TERRAFORM: Import Your Existing NIOS\/DDI Infrastructure"},"content":{"rendered":"<h3><strong>Author: Mrigank Gupta<\/strong><\/h3>\n<p>&nbsp;<\/p>\n<h3>TERRAFORM: Import Multiple Resources to Your Network Infrastructure With a Single Command<\/h3>\n<p style=\"margin-bottom:0;\"><b>Terraform<\/b> is a term usually seen in the context of science fiction. When we translate it to its literal meaning, terraform means to transform a planet to <a href=\"https:\/\/www.google.com\/search?sca_esv=585920721&amp;rlz=1C5GCEM_enIN997IN997&amp;q=resemble&amp;si=ALGXSlaYxyllm14_NEvUA9w95SVcrU1obIsBTYes0gig6gpnSDNHY5SWSzuUWhFcDeKlo-ANpgJFcDTnKIZBJLFIV6xhB6GFK31gc_FQrGt6iSdjT59e_hY%3D&amp;expnd=1\">resemble<\/a> the earth, especially so that it can support human life. But in our context, Terraform is an <a href=\"https:\/\/en.wikipedia.org\/wiki\/Open-source\">open-source<\/a> <a href=\"https:\/\/en.wikipedia.org\/wiki\/Infrastructure_as_code\">infrastructure-as-code<\/a> software tool created by <a href=\"https:\/\/en.wikipedia.org\/wiki\/HashiCorp\">HashiCorp<\/a>. It lets you define both cloud and on-prem resources in human-readable configuration files that you can version, reuse, and share. You can then use a consistent workflow to provision and manage your infrastructure throughout its lifecycle.Users define and provide data center infrastructure using a declarative configuration language known as HashiCorp Configuration Language (HCL), or optionally <a href=\"https:\/\/en.wikipedia.org\/wiki\/JSON\">JSON.<\/a><\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/infoblox-blog-terraform-import-your-existing-nios-ddi-infrastructure-cover-image-one.png\" \/><br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/infoblox-blog-terraform-import-your-existing-nios-ddi-infrastructure-cover-image-two.png\" \/><\/p>\n<p>Terraform manages external resources (such as public cloud infrastructure, private cloud infrastructure, network appliances, <a href=\"https:\/\/en.wikipedia.org\/wiki\/Software_as_a_service\">software as a service<\/a>, and <a href=\"https:\/\/en.wikipedia.org\/wiki\/Platform_as_a_service\">platform as a service<\/a>) with &#8220;providers.&#8221; HashiCorp maintains an extensive list of official providers and can also integrate with community-developed providers. Users can interact with Terraform providers by declaring resources or calling data sources. Rather than using <a href=\"https:\/\/en.wikipedia.org\/wiki\/Imperative_programming\">imperative commands<\/a> to provision resources, Terraform uses declarative configuration to describe the desired final state. Once a user invokes Terraform on a given resource, Terraform will perform <a href=\"https:\/\/en.wikipedia.org\/wiki\/Create,_read,_update_and_delete\">CRUD<\/a> actions on the user&#8217;s behalf to accomplish the desired state. The infrastructure as code can be written as modules, promoting reusability and maintainability.<\/p>\n<h3>Terraforming and Infoblox NIOS DDI<\/h3>\n<p>While readers of this blog are likely to be very familiar with the capabilities of Infoblox NIOS DDI, let\u2019s just do a quick recap. Infoblox NIOS is the world&#8217;s leading on-premises platform for automating DNS (Domain Name System), DHCP (Dynamic Host Configuration Protocol) and IPAM (IP address management)\u2014collectively known as\u00a0 DDI. The platform is highly regarded among networking professionals for its ability to simplify complex, dynamic network services for enterprises of any size.<\/p>\n<p>Provisioning infrastructure through point-and-click GUIs or custom scripts is slow, error-prone, inefficient and doesn&#8217;t scale. But with HashiCorp\u2019s Terraform, provisioning and security can be automated with declarative infrastructure and policy as code. Infrastructure and policies are codified, shared, versioned and executed within a workflow that is consistent across all infrastructure.<\/p>\n<p>The benefits of using Terraform as your Infrastructure-as-a-code tool are:<\/p>\n<ul>\n<li>Orchestration, not merely configuration<\/li>\n<li>Immutable infrastructure<\/li>\n<li>Declarative, not procedural code<\/li>\n<li>Client-only architecture<\/li>\n<\/ul>\n<h3>Terraform-Infoblox Integration\u00a0<\/h3>\n<p>A provider plugin for Terraform that makes it possible to manage Infoblox NIOS (Network Identity Operating System) resources using Terraform infrastructure-as-code solutions is now available. The plugin enables lifecycle management of Infoblox NIOS DDI resources.The Infoblox IPAM Plugin for Terraform interfaces with Infoblox vNIOS through REST API to provide IP Address Management and DNS Services. Instead of manually provisioning IP addresses and DNS records for network devices and interfaces in your infrastructure, the Infoblox IPAM Plugin for Terraform automates\u00a0 IPAM processes. The latest version of Infoblox provider is <a href=\"https:\/\/github.com\/infobloxopen\/terraform-provider-infoblox\/releases\/tag\/v2.4.1\">v2.4.1<\/a>.<\/p>\n<h3>Available Resources<\/h3>\n<p>Currently, Terraform resources can be broadly divided into two categories: Terraform Resources and Data Sources. A Terraform resource constitutes a resource block that describes one or more NIOS Grid objects, such as a network container. A Terraform Data Source allows data to be fetched or computed for use elsewhere in the Terraform configuration. With Data Sources, Terraform configuration is built on information defined outside of Terraform or defined by a separate Terraform configuration.<\/p>\n<p>To perform a fetch, create, read, update or delete operation on a NIOS object, you must define the appropriate resource block in the Terraform configuration (.tf) file.The following topics detail the resources and data sources supported by Infoblox IPAM Plug-In version 2.4.1 for Terraform and include appropriate examples of blocks that must be defined in the configuration file. For more details on Terraform available resources and Data Sources visit <a href=\"https:\/\/github.com\/infobloxopen\/terraform-provider-infoblox#infoblox-nios-terraform-provider\">Terraform Provider Infoblox GitHub. <\/a>\u00a0<\/p>\n<h3>What is Terraform Import?<\/h3>\n<p>You can import pre-existing cloud or NIOS resources into your Terraform state by using the Terraform Import command. It allows you to use Infrastructure as Code to consistently manage all of your resources by bridging the gap between your Terraform configurations and your present resources.<\/p>\n<h3>Why Import?<\/h3>\n<p>Since Terraform is a relatively new technology, it may take some time and effort to implement in order to manage an organization&#8217;s cloud resources. Teams are utilizing cloud infrastructure directly via their individual web consoles due to a shortage of human resources and the challenging learning curve associated with efficiently utilizing Terraform.<\/p>\n<p>Any IaC technique, for that matter\u2014CloudFormation, Azure ARM templates, Pulumi, etc.\u2014requires some training and hands-on experience managing real-time scenarios. When dealing with ideas like states and remote backends, things associated with Terraform processes can get difficult. In the worst situation, the terraform.tfstate file can disappear. Fortunately, you may reconstruct it by using the import functionality.<\/p>\n<p>Terraform Import makes it easier to bring pre-existing cloud resources under Terraform administration. In order to apply updates to the same set of infrastructure via IaC in the future, the Terraform CLI command import is used to read real-world infrastructure and update the state.<\/p>\n<p><b>Configuration Consistency:<\/b> Terraform Import ensures that all your resources, regardless of origin, are managed and tracked consistently. This tracking approach helps avoid manual configuration drift and maintains a single source of truth for your infrastructure.<\/p>\n<p><b>Incremental Adoption:<\/b> Terraform Import allows you to adopt Terraform for existing resources incrementally. You don\u2019t need to start from scratch, and you can gradually manage your infrastructure with Terraform without disruption.<\/p>\n<p><b>Collaboration and Version Control:<\/b> By importing resources, you can collaborate with your team using a shared version-controlled Terraform state. In this way you\u2019ll enhance team collaboration and ensure everyone works with the same infrastructure definitions.<\/p>\n<h3>Importing Existing NIOS Objects to Terraform<\/h3>\n<p>Now let\u2019s discuss the most exciting feature of this provider, i.e. Importing Existing NIOS Objects to Terraform. Terraform has the capability to import existing infrastructure. This capability allows users to take resources created by some other means and bring them under Terraform management. Infoblox IPAM Plug-in for Terraform allows you to import resources (NIOS objects) that already exist in NIOS. For the list of supported resources, see <a href=\"https:\/\/docs.infoblox.com\/space\/ipamdriverterraform\/53154076\"><i>Resources Supported by Infoblox IPAM Plug-In for Terraform<\/i><\/a>.<\/p>\n<p>The import operation includes the following steps:<\/p>\n<ol>\n<li>Creating a Terraform configuration file for the resource you want to import.<\/li>\n<li>Obtaining a reference for the NIOS object you want to import.<\/li>\n<li>Importing the resource using the obtained reference.<\/li>\n<\/ol>\n<p>To import a resource to Terraform, do the following:<\/p>\n<ol>\n<li style=\"margin-bottom: 30px;\">Create a Terraform configuration (.tf) file for the resource you want to import. You must include all attributes and their values configured in NIOS. For example, the following resource block is for an object with name <span class=\"code-text\">a_rec_1_imported<\/span> and the attributes defined in NIOS: <span class=\"code-text\">resource &#8220;infoblox_a_record&#8221; &#8220;a_rec_1_imported&#8221; { fqdn = &#8220;rec-a-1.imported.test.com&#8221; ip_addr = &#8220;192.168.1.2&#8221; ttl = 10 comment = &#8220;A-record to be imported&#8221; ext_attrs = jsonencode({ &#8220;Location&#8221; = &#8220;New office&#8221; }) }<\/span><\/li>\n<li>Based on the type of object that you want to import, obtain a reference for the NIOS object as follows:\n<ul>\n<li>To import a resource other than a host record, use an appropriate tool to get a reference for the NIOS object. The following example shows a cURL command that can be run in a fully trusted environment to get a reference for an A record object in NIOS:<br \/>\n<span class=\"code-text\">curl -k -u username:password https:\/\/172.17.0.2:443\/wapi\/v2.11.1\/record:a<\/span><\/li>\n<li>To import a host record, which is represented by the <span class=\"code-text\">infoblox_ip_allocation and infoblox_ip_association<\/span> resources in Terraform, add the <b>Terraform Internal ID<\/b> extensible attribute with a randomly generated value in the form of a UUID to the record.<br \/>\n&#8211; For steps for adding the extensible attribute in NIOS, refer to the <a href=\"https:\/\/docs.infoblox.com\/\"><i>Infoblox NIOS Documentation<\/i><\/a>.<br \/>\n&#8211; To generate a UUID, you may use the command-line tool uuid for Linux-based systems or any other appropriate tool.<\/p>\n<p>Note that the <b>Terraform Internal ID <\/b>extensible attribute does not show in the terraform.tfstate file. Use it to create or import the <span class=\"code-text\">infoblox_ip_allocation<\/span> and <span class=\"code-text\">infoblox_ip_association<\/span> resources. Do not add it in a resource block with other extensible attributes.<\/li>\n<\/ul>\n<\/li>\n<li>Run the import command as follows:\n<ul>\n<li>For a resource other than a host record, use the format:<br \/>\n<span class=\"code-text\">terraform import RESOURCE_TYPE.RESOURCE_NAME RESOURCE_REFERENCE<\/span><br \/>\nExample:<br \/>\n<span class=\"code-text\">terraform import infoblox_a_record.a_rec_1_imported record:a\/ZG5zLmJpbmRfYSQuX2RlZmF1bHQub3JnLmV4YW1wbGUsc3RhdGljMSwxLjIuMy40:rec-a-1.imported.test.com\/default<\/span><\/li>\n<li>For a host record, use the format:<br \/>\n<span class=\"code-text\">terraform import RESOURCE_TYPE.RESOURCE_NAME TERRAFORM_INTERNAL_ID<\/span><br \/>\nExample:<br \/>\n<span class=\"code-text\">terraform import infoblox_ip_allocation.ip_allocation_import\u00a0 841d2d08-698a-11ed-8ebb-87cc2c60a394<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p>Consider the following when using the import functionality:<\/p>\n<ul>\n<li>The import operation does not support fields with dynamically allocated values such as <span class=\"code-text\">cidr<\/span>, <span class=\"code-text\">allocate_prefix_len<\/span>, <span class=\"code-text\">reserve_ip<\/span>, and <span class=\"code-text\">reserve_ipv6<\/span> that are supposed to be used only when creating Terraform resources. If configured in an object being imported, the import operation sets the values of such fields to <span class=\"code-text\">null<\/span> in the terraform.tfstate file.<\/li>\n<li>To remove the imported allocation and association resources from Terraform by using the <span class=\"code-text\">terraform destroy<\/span> command, you must do the following:\n<ol>\n<li>Run the <span class=\"code-text\">terraform apply<\/span> command for Terraform, to identify the dependencies between the resources and to determine the order in which the resources must be managed.<\/li>\n<li>Run the <span class=\"code-text\">terraform destroy<\/span> command.<\/li>\n<\/ol>\n<\/li>\n<\/ul>\n<h2>Conclusion\/Summary<\/h2>\n<p>In this blog post, we explored the power of Terraform as an infrastructure as a code (IaC) tool for provisioning and managing cloud resources. At this point, you should have a basic idea about the new import feature of Terraform with the configuration-generating process for existing resources. With Terraform you can manage an entire infrastructure that has a bunch of Cloud services within a single configuration file. If you have any questions or would like to share your common practices, feel free to tell us by leaving a comment below!<\/p>\n<p>With this new Terraform Import feature, you can import existing or manually created resources into a Terraform configuration file without writing any Terraform configuration scripts manually, and also you can import multiple resources with a single command and mention them in a single configuration file. Again, for more information on how you can use Terraform to optimize your Infoblox implementation, please consult the list of supported resources: <a href=\"https:\/\/docs.infoblox.com\/space\/ipamdriverterraform\/53154076\"><i>Resources Supported by Infoblox IPAM Plug-In for Terraform<\/i><\/a>.<\/p>\n<style>\n.code-text {\n\tfont-family: 'Courier New';\n\tbackground:#f0f0f0;\n}\n<\/style>\n","protected":false},"excerpt":{"rendered":"<p>Author: Mrigank Gupta &nbsp; TERRAFORM: Import Multiple Resources to Your Network Infrastructure With a Single Command Terraform is a term usually seen in the context of science fiction. When we translate it to its literal meaning, terraform means to transform a planet to resemble the earth, especially so that it can support human life. But [&hellip;]<\/p>\n","protected":false},"author":381,"featured_media":9264,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[3],"tags":[81,705,52,159,28],"class_list":{"0":"post-9254","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-community","8":"tag-ansible","9":"tag-terraform","10":"tag-nios","11":"tag-automation","12":"tag-ddi","13":"entry"},"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.3 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>TERRAFORM: Import Your Existing NIOS\/DDI Infrastructure | Infoblox<\/title>\n<meta name=\"description\" content=\"Discover the transformative power of Terraform in managing your network infrastructure. Learn how to import multiple resources effortlessly with a single command. Explore the integration with Infoblox NIOS DDI, understand the benefits, and master the step-by-step guide to importing existing NIOS objects. Optimize your infrastructure with Terraform&#039;s declarative, consistent, and collaborative approach to infrastructure-as-code (IaC).\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.infoblox.com\/blog\/community\/terraform-import-your-existing-nios-ddi-infrastructure\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"TERRAFORM: Import Your Existing NIOS\/DDI Infrastructure | Infoblox\" \/>\n<meta property=\"og:description\" content=\"Discover the transformative power of Terraform in managing your network infrastructure. Learn how to import multiple resources effortlessly with a single command. Explore the integration with Infoblox NIOS DDI, understand the benefits, and master the step-by-step guide to importing existing NIOS objects. Optimize your infrastructure with Terraform&#039;s declarative, consistent, and collaborative approach to infrastructure-as-code (IaC).\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.infoblox.com\/blog\/community\/terraform-import-your-existing-nios-ddi-infrastructure\/\" \/>\n<meta property=\"og:site_name\" content=\"Infoblox Blog\" \/>\n<meta property=\"article:published_time\" content=\"2023-12-19T16:00:28+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-19T16:05:11+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.infoblox.com\/blog\/wp-content\/uploads\/infoblox-blog-terraform-import-your-existing-nios-ddi-infrastructure-cover.png\" \/>\n\t<meta property=\"og:image:width\" content=\"512\" \/>\n\t<meta property=\"og:image:height\" content=\"351\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Infoblox Technical Marketing Engineering Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"TERRAFORM: Import Your Existing NIOS\/DDI Infrastructure | Infoblox\" \/>\n<meta name=\"twitter:description\" content=\"Discover the transformative power of Terraform in managing your network infrastructure. Learn how to import multiple resources effortlessly with a single command. Explore the integration with Infoblox NIOS DDI, understand the benefits, and master the step-by-step guide to importing existing NIOS objects. Optimize your infrastructure with Terraform&#039;s declarative, consistent, and collaborative approach to infrastructure-as-code (IaC).\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/www.infoblox.com\/blog\/wp-content\/uploads\/infoblox-blog-terraform-import-your-existing-nios-ddi-infrastructure-cover.png\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Infoblox Technical Marketing Engineering Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/community\\\/terraform-import-your-existing-nios-ddi-infrastructure\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/community\\\/terraform-import-your-existing-nios-ddi-infrastructure\\\/\"},\"author\":{\"name\":\"Infoblox Technical Marketing Engineering Team\",\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/#\\\/schema\\\/person\\\/e3ac3e77dcba80e09473e902f9db015b\"},\"headline\":\"TERRAFORM: Import Your Existing NIOS\\\/DDI Infrastructure\",\"datePublished\":\"2023-12-19T16:00:28+00:00\",\"dateModified\":\"2023-12-19T16:05:11+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/community\\\/terraform-import-your-existing-nios-ddi-infrastructure\\\/\"},\"wordCount\":1708,\"publisher\":{\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/community\\\/terraform-import-your-existing-nios-ddi-infrastructure\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/wp-content\\\/uploads\\\/infoblox-blog-terraform-import-your-existing-nios-ddi-infrastructure-cover.png\",\"keywords\":[\"Ansible\",\"Terraform\",\"NIOS\",\"automation\",\"DDI\"],\"articleSection\":[\"Community\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/community\\\/terraform-import-your-existing-nios-ddi-infrastructure\\\/\",\"url\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/community\\\/terraform-import-your-existing-nios-ddi-infrastructure\\\/\",\"name\":\"TERRAFORM: Import Your Existing NIOS\\\/DDI Infrastructure | Infoblox\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/community\\\/terraform-import-your-existing-nios-ddi-infrastructure\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/community\\\/terraform-import-your-existing-nios-ddi-infrastructure\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/wp-content\\\/uploads\\\/infoblox-blog-terraform-import-your-existing-nios-ddi-infrastructure-cover.png\",\"datePublished\":\"2023-12-19T16:00:28+00:00\",\"dateModified\":\"2023-12-19T16:05:11+00:00\",\"description\":\"Discover the transformative power of Terraform in managing your network infrastructure. Learn how to import multiple resources effortlessly with a single command. Explore the integration with Infoblox NIOS DDI, understand the benefits, and master the step-by-step guide to importing existing NIOS objects. Optimize your infrastructure with Terraform's declarative, consistent, and collaborative approach to infrastructure-as-code (IaC).\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/community\\\/terraform-import-your-existing-nios-ddi-infrastructure\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/community\\\/terraform-import-your-existing-nios-ddi-infrastructure\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/community\\\/terraform-import-your-existing-nios-ddi-infrastructure\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/wp-content\\\/uploads\\\/infoblox-blog-terraform-import-your-existing-nios-ddi-infrastructure-cover.png\",\"contentUrl\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/wp-content\\\/uploads\\\/infoblox-blog-terraform-import-your-existing-nios-ddi-infrastructure-cover.png\",\"width\":512,\"height\":351},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/community\\\/terraform-import-your-existing-nios-ddi-infrastructure\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Community\",\"item\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/category\\\/community\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"TERRAFORM: Import Your Existing NIOS\\\/DDI Infrastructure\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/\",\"name\":\"infoblox.com\\\/blog\\\/\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/#organization\",\"name\":\"Infoblox\",\"url\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/wp-content\\\/uploads\\\/infoblox-logo-2.svg\",\"contentUrl\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/wp-content\\\/uploads\\\/infoblox-logo-2.svg\",\"width\":137,\"height\":30,\"caption\":\"Infoblox\"},\"image\":{\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/#\\\/schema\\\/person\\\/e3ac3e77dcba80e09473e902f9db015b\",\"name\":\"Infoblox Technical Marketing Engineering Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/blogs.infoblox.com\\\/wp-content\\\/uploads\\\/avatar-thumbnail-tme-96x96.png\",\"url\":\"https:\\\/\\\/blogs.infoblox.com\\\/wp-content\\\/uploads\\\/avatar-thumbnail-tme-96x96.png\",\"contentUrl\":\"https:\\\/\\\/blogs.infoblox.com\\\/wp-content\\\/uploads\\\/avatar-thumbnail-tme-96x96.png\",\"caption\":\"Infoblox Technical Marketing Engineering Team\"},\"description\":\"The TME team has responsibility in several areas from building demonstrations that showcase Infoblox products and integrations with 3rd party solutions, competitive intelligence and testing, along with producing deployment guides and video\u2019s. All of this is to help customers maximize their investment in Infoblox technology and improving their ability to secure their business.\",\"sameAs\":[\"http:\\\/\\\/www.infoblox.com\"],\"url\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/author\\\/tme-team\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"TERRAFORM: Import Your Existing NIOS\/DDI Infrastructure | Infoblox","description":"Discover the transformative power of Terraform in managing your network infrastructure. Learn how to import multiple resources effortlessly with a single command. Explore the integration with Infoblox NIOS DDI, understand the benefits, and master the step-by-step guide to importing existing NIOS objects. Optimize your infrastructure with Terraform's declarative, consistent, and collaborative approach to infrastructure-as-code (IaC).","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.infoblox.com\/blog\/community\/terraform-import-your-existing-nios-ddi-infrastructure\/","og_locale":"en_US","og_type":"article","og_title":"TERRAFORM: Import Your Existing NIOS\/DDI Infrastructure | Infoblox","og_description":"Discover the transformative power of Terraform in managing your network infrastructure. Learn how to import multiple resources effortlessly with a single command. Explore the integration with Infoblox NIOS DDI, understand the benefits, and master the step-by-step guide to importing existing NIOS objects. Optimize your infrastructure with Terraform's declarative, consistent, and collaborative approach to infrastructure-as-code (IaC).","og_url":"https:\/\/www.infoblox.com\/blog\/community\/terraform-import-your-existing-nios-ddi-infrastructure\/","og_site_name":"Infoblox Blog","article_published_time":"2023-12-19T16:00:28+00:00","article_modified_time":"2023-12-19T16:05:11+00:00","og_image":[{"width":512,"height":351,"url":"https:\/\/www.infoblox.com\/blog\/wp-content\/uploads\/infoblox-blog-terraform-import-your-existing-nios-ddi-infrastructure-cover.png","type":"image\/png"}],"author":"Infoblox Technical Marketing Engineering Team","twitter_card":"summary_large_image","twitter_title":"TERRAFORM: Import Your Existing NIOS\/DDI Infrastructure | Infoblox","twitter_description":"Discover the transformative power of Terraform in managing your network infrastructure. Learn how to import multiple resources effortlessly with a single command. Explore the integration with Infoblox NIOS DDI, understand the benefits, and master the step-by-step guide to importing existing NIOS objects. Optimize your infrastructure with Terraform's declarative, consistent, and collaborative approach to infrastructure-as-code (IaC).","twitter_image":"https:\/\/www.infoblox.com\/blog\/wp-content\/uploads\/infoblox-blog-terraform-import-your-existing-nios-ddi-infrastructure-cover.png","twitter_misc":{"Written by":"Infoblox Technical Marketing Engineering Team","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.infoblox.com\/blog\/community\/terraform-import-your-existing-nios-ddi-infrastructure\/#article","isPartOf":{"@id":"https:\/\/www.infoblox.com\/blog\/community\/terraform-import-your-existing-nios-ddi-infrastructure\/"},"author":{"name":"Infoblox Technical Marketing Engineering Team","@id":"https:\/\/www.infoblox.com\/blog\/#\/schema\/person\/e3ac3e77dcba80e09473e902f9db015b"},"headline":"TERRAFORM: Import Your Existing NIOS\/DDI Infrastructure","datePublished":"2023-12-19T16:00:28+00:00","dateModified":"2023-12-19T16:05:11+00:00","mainEntityOfPage":{"@id":"https:\/\/www.infoblox.com\/blog\/community\/terraform-import-your-existing-nios-ddi-infrastructure\/"},"wordCount":1708,"publisher":{"@id":"https:\/\/www.infoblox.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.infoblox.com\/blog\/community\/terraform-import-your-existing-nios-ddi-infrastructure\/#primaryimage"},"thumbnailUrl":"https:\/\/www.infoblox.com\/blog\/wp-content\/uploads\/infoblox-blog-terraform-import-your-existing-nios-ddi-infrastructure-cover.png","keywords":["Ansible","Terraform","NIOS","automation","DDI"],"articleSection":["Community"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.infoblox.com\/blog\/community\/terraform-import-your-existing-nios-ddi-infrastructure\/","url":"https:\/\/www.infoblox.com\/blog\/community\/terraform-import-your-existing-nios-ddi-infrastructure\/","name":"TERRAFORM: Import Your Existing NIOS\/DDI Infrastructure | Infoblox","isPartOf":{"@id":"https:\/\/www.infoblox.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.infoblox.com\/blog\/community\/terraform-import-your-existing-nios-ddi-infrastructure\/#primaryimage"},"image":{"@id":"https:\/\/www.infoblox.com\/blog\/community\/terraform-import-your-existing-nios-ddi-infrastructure\/#primaryimage"},"thumbnailUrl":"https:\/\/www.infoblox.com\/blog\/wp-content\/uploads\/infoblox-blog-terraform-import-your-existing-nios-ddi-infrastructure-cover.png","datePublished":"2023-12-19T16:00:28+00:00","dateModified":"2023-12-19T16:05:11+00:00","description":"Discover the transformative power of Terraform in managing your network infrastructure. Learn how to import multiple resources effortlessly with a single command. Explore the integration with Infoblox NIOS DDI, understand the benefits, and master the step-by-step guide to importing existing NIOS objects. Optimize your infrastructure with Terraform's declarative, consistent, and collaborative approach to infrastructure-as-code (IaC).","breadcrumb":{"@id":"https:\/\/www.infoblox.com\/blog\/community\/terraform-import-your-existing-nios-ddi-infrastructure\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.infoblox.com\/blog\/community\/terraform-import-your-existing-nios-ddi-infrastructure\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.infoblox.com\/blog\/community\/terraform-import-your-existing-nios-ddi-infrastructure\/#primaryimage","url":"https:\/\/www.infoblox.com\/blog\/wp-content\/uploads\/infoblox-blog-terraform-import-your-existing-nios-ddi-infrastructure-cover.png","contentUrl":"https:\/\/www.infoblox.com\/blog\/wp-content\/uploads\/infoblox-blog-terraform-import-your-existing-nios-ddi-infrastructure-cover.png","width":512,"height":351},{"@type":"BreadcrumbList","@id":"https:\/\/www.infoblox.com\/blog\/community\/terraform-import-your-existing-nios-ddi-infrastructure\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.infoblox.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Community","item":"https:\/\/www.infoblox.com\/blog\/category\/community\/"},{"@type":"ListItem","position":3,"name":"TERRAFORM: Import Your Existing NIOS\/DDI Infrastructure"}]},{"@type":"WebSite","@id":"https:\/\/www.infoblox.com\/blog\/#website","url":"https:\/\/www.infoblox.com\/blog\/","name":"infoblox.com\/blog\/","description":"","publisher":{"@id":"https:\/\/www.infoblox.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.infoblox.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.infoblox.com\/blog\/#organization","name":"Infoblox","url":"https:\/\/www.infoblox.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.infoblox.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.infoblox.com\/blog\/wp-content\/uploads\/infoblox-logo-2.svg","contentUrl":"https:\/\/www.infoblox.com\/blog\/wp-content\/uploads\/infoblox-logo-2.svg","width":137,"height":30,"caption":"Infoblox"},"image":{"@id":"https:\/\/www.infoblox.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.infoblox.com\/blog\/#\/schema\/person\/e3ac3e77dcba80e09473e902f9db015b","name":"Infoblox Technical Marketing Engineering Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blogs.infoblox.com\/wp-content\/uploads\/avatar-thumbnail-tme-96x96.png","url":"https:\/\/blogs.infoblox.com\/wp-content\/uploads\/avatar-thumbnail-tme-96x96.png","contentUrl":"https:\/\/blogs.infoblox.com\/wp-content\/uploads\/avatar-thumbnail-tme-96x96.png","caption":"Infoblox Technical Marketing Engineering Team"},"description":"The TME team has responsibility in several areas from building demonstrations that showcase Infoblox products and integrations with 3rd party solutions, competitive intelligence and testing, along with producing deployment guides and video\u2019s. All of this is to help customers maximize their investment in Infoblox technology and improving their ability to secure their business.","sameAs":["http:\/\/www.infoblox.com"],"url":"https:\/\/www.infoblox.com\/blog\/author\/tme-team\/"}]}},"_links":{"self":[{"href":"https:\/\/www.infoblox.com\/blog\/wp-json\/wp\/v2\/posts\/9254","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.infoblox.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.infoblox.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.infoblox.com\/blog\/wp-json\/wp\/v2\/users\/381"}],"replies":[{"embeddable":true,"href":"https:\/\/www.infoblox.com\/blog\/wp-json\/wp\/v2\/comments?post=9254"}],"version-history":[{"count":18,"href":"https:\/\/www.infoblox.com\/blog\/wp-json\/wp\/v2\/posts\/9254\/revisions"}],"predecessor-version":[{"id":9321,"href":"https:\/\/www.infoblox.com\/blog\/wp-json\/wp\/v2\/posts\/9254\/revisions\/9321"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.infoblox.com\/blog\/wp-json\/wp\/v2\/media\/9264"}],"wp:attachment":[{"href":"https:\/\/www.infoblox.com\/blog\/wp-json\/wp\/v2\/media?parent=9254"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.infoblox.com\/blog\/wp-json\/wp\/v2\/categories?post=9254"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.infoblox.com\/blog\/wp-json\/wp\/v2\/tags?post=9254"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}