Closed TGM closed 1 year ago
Hello,
RCs are not released in the registry. Other RC has been released because of an issue on our side.
Alternatively, you can follow the CONTRIBUTING.md guide in order to run released RC binaries on your workstation.
If you need help on this please let me know. :)
Made it work with the following settings. I'll test and post my findings.
export tf_arch=linux_amd64
export tf_one_version=1.1.1-rc1
# Clone terraform-provider-opennebula
git clone git@github.com:OpenNebula/terraform-provider-opennebula.git
# Create directory under Terraform plugins directory
mkdir -p ${HOME}/.terraform.d/plugins/one.test/one/opennebula/${tf_one_version}/${tf_arch}
# Create a link to the Provider binary
ln -s $(pwd)/terraform-provider-opennebula/terraform-provider-opennebula ${HOME}/.terraform.d/plugins/one.test/one/opennebula/${tf_one_version}/${tf_arch}
# Build the Provider
cd terraform-provider-opennebula
go build
terraform {
required_providers {
opennebula = {
source = "one.test/one/opennebula"
version = "1.1.1-rc1"
}
}
Instead of cloning from master, you might download the binary already compiled for your arch:
export tf_arch=linux_amd64
export tf_one_version=1.1.1-rc1
mkdir -p terraform-provider-opennebula/${tf_one_version}
cd terraform-provider-opennebula/${tf_one_version}
# Download the release
wget https://github.com/OpenNebula/terraform-provider-opennebula/releases/download/${tf_one_version}/terraform-provider-opennebula_${tf_one_version}_${tf_arch}.zip
# Unzip
unzip terraform-provider-opennebula_${tf_one_version}_${tf_arch}.zip
rm terraform-provider-opennebula_${tf_one_version}_${tf_arch}.zip
mv terraform-provider-opennebula_${tf_one_version} terraform-provider-opennebula
# Create a link to the Provider binary
ln -s $(pwd)/terraform-provider-opennebula ${HOME}/.terraform.d/plugins/one.test/one/opennebula/${tf_one_version}/${tf_arch}
Hey guys,
What's the hold up? Can you release v1.1.1-rc1 on the registry?