apex_apex_navigator_block_storage (Resource)
Example Usage
/*
Copyright (c) 2024 Dell Inc., or its subsidiaries. All Rights Reserved.
Licensed under the Mozilla Public License Version 2.0 (the "License");
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 "AS IS" 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.
*/
terraform {
required_providers {
apex = {
version = "~> 0.0.0"
source = "dell/apex"
}
}
}
provider "apex" {
host = var.HOST
token = var.JWT_TOKEN
jms_endpoint = var.JMS_ENDPOINT
}
variable "JWT_TOKEN" {
type = string
}
variable "HOST" {
type = string
}
variable "JMS_ENDPOINT" {
type = string
}
resource "apex_navigator_block_storage" "cloud_instance" {
system_type = "POWERFLEX"
name = "apex-navigator-terraform"
product_version = "4.5.1"
deployment_details = {
system_public_cloud = {
deployment_type = "PUBLIC_CLOUD"
cloud_type = "AWS"
cloud_account = "123456789012"
cloud_region = "us-east-1"
availability_zone_topology = "SINGLE_AVAILABILITY_ZONE"
minimum_iops = "100"
minimum_capacity = "8"
tier_type = "BALANCED"
ssh_key_name = "apex-navigator-terraform-key"
vpc = {
is_new_vpc = false
vpc_id = "vpc-12345678901234567"
# vpc_name = "my-vpc"
}
subnet_options = [
{
subnet_id = "subnet-12345678901234567"
#cidr_block = "30.0.8.0/22"
subnet_type = "EXTERNAL"
},
{
#subnet_id = "subnet-2"
cidr_block = "10.0.16.0/21"
subnet_type = "INTERNAL"
}
]
}
}
}
output "navigator_block_storage" {
value = apex_navigator_block_storage.cloud_instance
}
Schema
Required
name
(String)product_version
(String)system_type
(String)
Optional
bandwidth
(Number)capacity_impact
(Number)capacity_issue_count
(Number)cirrus_deployed
(Boolean)compression_savings
(Number)configuration_impact
(Number)configuration_issue_count
(Number)configured_size
(Number)connectivity_status
(String)contract_coverage_type
(String)contract_expiration_date_timestamp
(String)data_protection_impact
(Number)data_protection_issue_count
(Number)deployment_details
(Attributes) (see below for nested schema)display_identifier
(String)free_percent
(Number)free_size
(Number)health_connectivity_status
(String)health_issue_count
(Number)health_score
(Number)health_state
(String)iops
(Number)ipv4_address
(String)ipv6_address
(String)last_contact_timestamp
(String)latency
(Number)license_expiration_date_timestamp
(String)license_type
(String)logical_size
(Number)model
(String)overall_efficiency
(Number)performance_impact
(Number)performance_issue_count
(Number)serial_number
(String)site_name
(String)snaps_savings
(Number)system_health_impact
(Number)system_health_issue_count
(Number)system_id
(String)thin_savings
(Number)total_size
(Number)unconfigured_size
(Number)used_percent
(Number)used_size
(Number)vendor
(String)
Read-Only
id
(String) The ID of this resource.version
(String)
Nested Schema for deployment_details
Optional:
system_on_prem
(Attributes) (see below for nested schema)system_public_cloud
(Attributes) (see below for nested schema)
Nested Schema for deployment_details.system_on_prem
Optional:
city
(String)country
(String)deployment_type
(String)location
(String)site_name
(String)state
(String)street_address_1
(String)street_address_2
(String)zip_code
(String)
Nested Schema for deployment_details.system_public_cloud
Required:
cloud_account
(String)cloud_region
(String)cloud_type
(String)minimum_capacity
(Number)minimum_iops
(Number)ssh_key_name
(String)subnet_options
(Attributes List) (see below for nested schema)tier_type
(String)vpc
(Attributes) (see below for nested schema)
Optional:
availability_zone_topology
(String)cloud_management_address
(String)deployment_type
(String)virtual_private_cloud
(String)
Nested Schema for deployment_details.system_public_cloud.subnet_options
Optional:
cidr_block
(String)subnet_id
(String)subnet_type
(String)
Nested Schema for deployment_details.system_public_cloud.vpc
Optional:
is_new_vpc
(Boolean)vpc_id
(String)vpc_name
(String)