<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Dell Technologies – Examples</title>
    <link>https://dell.github.io/terraform-docs/v1.0.0/storage/platforms/powermax/product_guide/examples/</link>
    <description>Recent content in Examples on Dell Technologies</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    
	  <atom:link href="https://dell.github.io/terraform-docs/v1.0.0/storage/platforms/powermax/product_guide/examples/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>V1.0.0: Creating Multiple Volumes</title>
      <link>https://dell.github.io/terraform-docs/v1.0.0/storage/platforms/powermax/product_guide/examples/create_multiple_volumes/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://dell.github.io/terraform-docs/v1.0.0/storage/platforms/powermax/product_guide/examples/create_multiple_volumes/</guid>
      <description>
        
        
        &lt;!--
Copyright (c) 2023 Dell Inc., or its subsidiaries. All Rights Reserved.

Licensed under the Mozilla Public License Version 2.0 (the &#34;License&#34;);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://mozilla.org/MPL/2.0/


Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an &#34;AS IS&#34; BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
--&gt;
&lt;p&gt;You can use the for_each meta-argument to create multiple volumes.&lt;/p&gt;
&lt;h2 id=&#34;example&#34;&gt;Example&lt;/h2&gt;
&lt;p&gt;To create 3 different volumes using terraform_for_each using the following configuration:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-terraform&#34; data-lang=&#34;terraform&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;resource&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;powermax_volume&amp;#34;&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;test&amp;#34;&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#c4a000&#34;&gt;for_each&lt;/span&gt; = &lt;span style=&#34;color:#204a87&#34;&gt;toset&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;([&lt;/span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;vol_1&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;vol_2&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;vol_3&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;])&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#c4a000&#34;&gt;vol_name&lt;/span&gt; = &lt;span style=&#34;color:#204a87&#34;&gt;each&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;.&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;key&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#c4a000&#34;&gt;size&lt;/span&gt; = &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;2&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;.&lt;/span&gt;&lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;45&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#c4a000&#34;&gt;sg_name&lt;/span&gt; = &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;terraform_sg&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#c4a000&#34;&gt;cap_unit&lt;/span&gt; = &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;GB&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;You can use the count meta-argument to create multiple volumes.&lt;/p&gt;
&lt;h2 id=&#34;example-1&#34;&gt;Example&lt;/h2&gt;
&lt;p&gt;To create 3 different volumes using the following configuration:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-terraform&#34; data-lang=&#34;terraform&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;resource&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;powermax_volume&amp;#34;&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;test&amp;#34;&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#c4a000&#34;&gt;count&lt;/span&gt; = &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;3&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#c4a000&#34;&gt;vol_name&lt;/span&gt; = &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;terraform_volume-&lt;/span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;${&lt;/span&gt;&lt;span style=&#34;color:#204a87&#34;&gt;count&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;.&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;index&lt;/span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#c4a000&#34;&gt;size&lt;/span&gt; = &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;2&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;.&lt;/span&gt;&lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;45&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#c4a000&#34;&gt;sg_name&lt;/span&gt; = &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;terraform_sg&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#c4a000&#34;&gt;cap_unit&lt;/span&gt; = &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;GB&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
      </description>
    </item>
    
    <item>
      <title>V1.0.0: How to use our Provider</title>
      <link>https://dell.github.io/terraform-docs/v1.0.0/storage/platforms/powermax/product_guide/examples/provider_example/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://dell.github.io/terraform-docs/v1.0.0/storage/platforms/powermax/product_guide/examples/provider_example/</guid>
      <description>
        
        
        &lt;!--
Copyright (c) 2023 Dell Inc., or its subsidiaries. All Rights Reserved.

Licensed under the Mozilla Public License Version 2.0 (the &#34;License&#34;);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://mozilla.org/MPL/2.0/


Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an &#34;AS IS&#34; BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
--&gt;
&lt;p&gt;This provider gives Terraform the ablility to work with a PowerMax Storage System.
It can be used to manage many aspects of the PowerMax including hosts, host groups, masking views, port groups, snapshots, storage groups and volumes.
For more information about each particular resource or datasource view those specific examples and documentation.&lt;/p&gt;
&lt;p&gt;Below is an example of the PowerMax Provider and how to use it.&lt;/p&gt;
&lt;h2 id=&#34;example&#34;&gt;Example&lt;/h2&gt;
&lt;p&gt;The following example demonstrates basic usage of the provider to provision a volume to a storage group.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;terraform {
  required_providers {
    powermax = {
      source = &amp;#34;dell/powermax&amp;#34;
    }
  }
}

provider &amp;#34;powermax&amp;#34; {
  username      = var.username
  password      = var.password
  endpoint      = var.endpoint
  serial_number = var.serial_number
  pmax_version  = var.pmax_version
  insecure      = true
}

resource &amp;#34;powermax_volume&amp;#34; &amp;#34;test&amp;#34; {

  # Required name of the volume to be created
  vol_name = &amp;#34;terraform_volume&amp;#34;

  # Required size of the volume
  size = 2.45

  # Required name of the storage group which the volume will be created with
  sg_name = &amp;#34;terraform_sg&amp;#34;

  # Optional Default Unit is GB
  # Possible units are MB, GB, TB, and CYL
  cap_unit = &amp;#34;GB&amp;#34;

  # Optional enable the mobility id 
  mobility_id_enabled = false

}
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;em&gt;Refer to the specific provider and resource documetation for more information&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;argument-reference&#34;&gt;Argument Reference&lt;/h2&gt;
&lt;p&gt;The following arguments are used to configure the provider&lt;/p&gt;
&lt;h3 id=&#34;required&#34;&gt;Required&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;endpoint&lt;/code&gt; (String) IP or FQDN of the PowerMax host&lt;/li&gt;
&lt;li&gt;&lt;code&gt;password&lt;/code&gt; (String, Sensitive) The password of the PowerMax host.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;pmax_version&lt;/code&gt; (String) The version of the PowerMax host.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;serial_number&lt;/code&gt; (String) The serial_number of the PowerMax host.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;username&lt;/code&gt; (String) The username of the PowerMax host.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;optional&#34;&gt;Optional&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;insecure&lt;/code&gt; (Boolean) Boolean variable to specify whether to validate SSL certificate or not.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;bug-reports-and-contributing&#34;&gt;Bug Reports and Contributing&lt;/h2&gt;
&lt;p&gt;If you need to sumbit a bug please do so on our github issues page &lt;a href=&#34;https://github.com/dell/terraform-provider-powermax/issues&#34;&gt;https://github.com/dell/terraform-provider-powermax/issues&lt;/a&gt;
If you would like to contribute please follow the README here: &lt;a href=&#34;https://github.com/dell/terraform-provider-powermax&#34;&gt;https://github.com/dell/terraform-provider-powermax&lt;/a&gt;&lt;/p&gt;

      </description>
    </item>
    
  </channel>
</rss>
