This release add support to new Azure Load Balancer API. Now Azure have two Load Balancer types: Basic and Standard. More information about Azure Load Balancer here
Full example to how use this load balancer package here
This release fixes a bug where dependencies where missing on the snapshot package.
This release just increases the timeout of the read grant access when copying snapshots to guarantee we won't have problems with copying big snapshots.
This release breaks compatibility of the vm package.
The functions that have changed are:
- azure_vm_backup_create
- azure_snapshot_create
To be more compatible with azure behavior of not allowing snapshots to be on a different location than the source disks used to generate them.
We also added new functionality to enable backups to be copied through different locations, check the functions:
- azure_vm_backup_copy
- azure_snapshot_copy
There are examples provided on the project for both functionalities.
This release breaks compatibility of the storage package to match it better with how Azure works.
Removes:
- azure_storage_account_create
Breaking changes:
- azure_storage_account_get_keys
And adds the new/tested:
- azure_storage_account_create_storage
- azure_storage_account_create_blob
- azure_storage_blob_upload
- azure_storage_blob_upload_by_resgroup
- azure_storage_blob_download
- azure_storage_blob_download_by_resgroup
Now it is easier to create Azure Blob containers and upload/download files from it.
It also updates nash to 0.6 and protects against invalid parameters when restoring a VM backup.
The following functions should not be called anymore when recovering a VM backup:
- azure_vm_set_username
- azure_vm_set_publickeyfile
- azure_vm_set_password
This release removes the broken function:
- azure_vm_get_ip_address
And adds the new/tested:
- azure_vm_get_private_ip_addrs
This release breaks the API of the following functions:
- Add cache policy to klb azure_vm_disk_attach_new
- Add cache policy to azure_vm_backup_recover
- Add cache policy to azure_vm_disk_attach_lun
- add cache policy to azure_vm_disk_attach
- Attach disks on recovered backup guaranteeing same LUN
Fix snapshot creation to allow the storage sku to be passed as a parameter.
Fix backup creation API to allow the storage sku of the snapshots to be configured.
This release adds support to backup with snapshots.
This release added support to work with Azure Postgres Servers.
Now we can create a new PostgreSQL Server managed by Azure: https://azure.microsoft.com/pt-br/services/postgresql/
azure_postgres_new(name, group, location, username, password) creates a new server of "managed Postgres".
name
is the name of the server.group
is name of resource group.location
is the Azure Region.username
is the login name of a server.password
is the postgres server login password.
azure_postgres_set_compute_units(instance, units) sets the number of compute units for the new Postgres server.
instance
is the postgres server instance.units
is the number of compute units desired. Default: 100
azure_postgres_set_performance_tier(instance, tier) sets the performance tier for the new Postgres server.
instance
is the postgres server instance.tier
is the performance tier desired for the server. Allowed values: Basic, Standard. Default: Basic
azure_postgres_disable_ssl(instance) disables the ssl enforcement for the new Postgres server.
instance
is the postgres server instance.
azure_postgres_set_max_size(instance, size) sets the max storage size for the server.
instance
is the postgres server instance.size
is the postgres server storage size (in MB). Default: 51200
azure_postgres_set_version(instance, version) sets the Postgres version of a new server.
instance
is the postgres server instance.version
is the postgres server version. Default: 9.5
azure_postgres_server_create(instance) creates a new "managed Postgres server".
instance
is the postgres server instance.
This release added support to work with managed disks. It added a dependency on the new azure cli tool az since manages disks can only be created using it.
We have new tooling on the project to cleanup test resources that sometimes leak. Infrastructure is not free ;-).
We need set new var AZURE_SERVICE_PRINCIPAL to authenticate with Azure CLI 2.0
By default now KLB use "Managed Disks" when create Virtual Machines.
We need remove azure_vm_set_storageaccount() or add azure_vm_set_unmanageddisk()
When specifying an existing NIC, do not specify NSG, public IP, VNet or subnet.
We need create Availset before and pass to azure_vm_create()
We need change azure_vm_set_nic() to azure_vm_set_nics().
We need remove azure_vm_set_datadiskvhd() because this function doesn't exist anymore.
We need remove azure_vm_set_disablebootdiagnostics() because this function doesn't exist anymore.
We need remove azure_vm_set_bootdiagnosticsstorage() because this function doesn't exist anymore.
azure_vm_set_storagesku(sku) sets the SKU storage account of "Virtual Machine".
instance
is the name of the instance.storagesku
is the the sku of storage account to persist VM. By default, only Standard_LRS and Premium_LRS are allowed.
azure_disk_new(name, group, location) creates a new instance of "managed disk".
name
is the name of the managed disk.group
is name of resource group.location
is the Azure Region.
azure_disk_set_size(instance, size) sets the size of "managed disk".
instance
is the name of the instance.size
is the size in Gb of managed disk.
azure_disk_set_sku(instance, sku) sets the kind of "managed disk".
instance
is the name of the instance.sku
is the underlying storage sku.
azure_disk_set_source(instance, source) sets the source of "managed disk".
instance
is the name of the instance.source
is the source to create the disk from, including a sas uri to a blob, managed disk id or name, or snapshot id or name.
azure_disk_create(instance) creates a new "managed disk".
instance
is the name of the instance.
azure_vm_availset_new(name, group, location) creates a new instance of Availset.
name
is the name of the Availset.group
is name of resource group.location
is the Azure Region.
azure_vm_availset_set_faultdomain(instance, count) sets Fault Domain of Availset.
instance
is the name of the instance.count
is the Fault Domain count. Example: 2.
azure_vm_availset_set_updatedomain(instance, count) sets Update Domain of Availset.
instance
is the name of the instance.count
is the Update Domain count. Example: 2.
azure_vm_availset_set_unmanaged(instance) sets Contained VMs should use unmanaged disks.
instance
is the name of the instance.
azure_vm_availset_create(instance) creates a Availset.
instance
is the name of the instance.
azure_vm_availset_delete(name, group) deletes a Availset.
name
is the name of the Availset.group
is name of resource group.