项目作者: cloud-design-dev

项目描述 :
Terraform module for deploying an IBM Cloud IaaS Compute Instance
高级语言: HCL
项目地址: git://github.com/cloud-design-dev/IBM-Cloud-IaaS-Compute-Module.git
创建时间: 2019-04-01T17:10:29Z
项目社区:https://github.com/cloud-design-dev/IBM-Cloud-IaaS-Compute-Module

开源协议:MIT License

下载


IBM Cloud IaaS Compute Module

Terraform module for deploying with IBM Cloud IaaS (SoftLayer) compute instances

Usage

  1. module instance {
  2. source = "git::https://github.com/cloud-design-dev/IBM-Cloud-IaaS-Compute-Module.git"
  3. transient = var.transient
  4. hostname = var.hostname
  5. domain = var.domain
  6. os_reference_code = var.os_reference_code
  7. datacenter = var.datacenter
  8. network_speed = 1000
  9. hourly_billing = true
  10. private_network_only = false
  11. user_metadata = var.user_metadata
  12. flavor_key_name = var.flavor_key_name
  13. local_disk = var.localdisk
  14. }

Inputs

Name Description Type Default Required
vpc_id ID of the VPC where to create the virtual server instance string n/a yes
subnet_cidr The CIDR for the subnet being created. string n/a yes
name Name of the virtual server instance string n/a yes
zone VPC zone where the virtual server instance will be created. string n/a yes
network_acl Network ACL to attach to subnet string "" no
public_gateway Public Gateway to attach to the subnet string "" no
transient boolean no no

Outputs

Name Description
id ID of the created Subnet
ipv4_cidr_block IPv4 CIDR block for the subnet
available_ipv4_address_count Number of IPs in the subnet