Skip to content

Migrating to v0.4

Ashish Kumar Thakur edited this page Jun 23, 2017 · 6 revisions

Changes from previous versions

Earlier versions of the driver are available at https://github.com/IBM-BLuemix/terraform/releases which includes all the versions up-to v0.3.

We have simplified the resource names in the current v0.4.0. The provider name has been changed from ibmcloud to ibm Here is a list of old vs new names. You can use the migration file provided here to make the changes to your current configuration files

Cloud Foundry

Old New
ibmcloud_cf_app ibm_app
ibmcloud_cf_private_domain ibm_app_domain_private
ibmcloud_cf_shared_domain ibm_app_domain_shared
ibmcloud_cf_route ibm_app_route
ibmcloud_cf_service_instance ibm_service_instance
ibmcloud_cf_service_key ibm_service_key
ibmcloud_cf_space ibm_space

Container Resource

Old New
ibmcloud_cs_cluster ibm_container_cluster
ibmcloud_cs_cluster_service_bind ibm_container_bind_service
ibmcloud_cs_worker ibm_container_cluster_worker
ibmcloud_cs_cluster_config ibm_container_cluster_config

Compute Resource

Old New
ibmcloud_infra_bare_metal ibm_compute_bare_metal
ibmcloud_infra_virtual_guest ibm_compute_vm_instance
ibmcloud_infra_ssh_key ibm_compute_ssh_key
ibmcloud_infra_user ibm_compute_user
ibmcloud_infra_scale_group ibm_compute_autoscale_group
ibmcloud_infra_scale_policy ibm_compute_autoscale_policy
ibmcloud_infra_provisioning_hook ibm_compute_provisioning_hook
ibmcloud_infra_basic_monitor ibm_compute_monitor

Firewall Resource

Old New
ibmcloud_infra_fw_hardware_dedicated ibm_firewall
ibmcloud_infra_fw_hardware_dedicated_rules ibm_firewall_policy

Image Resource

Old New
ibmcloud_infra_image_template ibm_compute_image_template

Network Resource

Old New
ibmcloud_infra_global_ip ibm_network_public_ip
ibmcloud_infra_vlan ibm_network_vlan

DNS Resource

Old New
ibmcloud_infra_dns_domain ibm_dns_domain
ibmcloud_infra_dns_domain_record ibm_dns_record

Storage Resource

Old New
ibmcloud_infra_block_storage ibm_storage_block
ibmcloud_infra_file_storage ibm_storage_file
ibmcloud_infra_objectstorage_account ibm_object_storage_account

Load Balancer Resource

Old New
ibmcloud_infra_lb_local ibm_lb
ibmcloud_infra_lb_local_service ibm_lb_service
ibmcloud_infra_lb_local_service_group ibm_lb_service_group
ibmcloud_infra_lb_vpx ibm_lb_vpx
ibmcloud_infra_lb_vpx_ha ibm_lb_vpx_ha
ibmcloud_infra_lb_vpx_service ibm_lb_vpx_service
ibmcloud_infra_lb_vpx_vip ibm_lb_vpx_vip
Clone this wiki locally