You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
When in provider-jet-azure - v0.10.0-preview I should provide custom_data as secret (by the way not clear why it should be secret and not path to file or ConfigMap):
I am trying to create secret with base64 encoded file and I am getting an error:
Message: create failed: cannot apply: apply failed: creating Linux Virtual Machine Scale Set "lior-vmss" (Resource Group "lior-rg"): compute.VirtualMachineScaleSetsClient#CreateOrUpdate: Failure sending request: StatusCode=0 -- Original Error: Code="InvalidParameter" Message="Custom data in OSProfile must be in Base64 encoding and with a maximum length of 87380 characters." Target="customData": : File name: main.tf.json
Hi,
I am trying to create Azure VMSS by using provider-jet-azure - v0.10.0-preview:
https://doc.crds.dev/github.com/crossplane-contrib/provider-jet-azure/compute.azure.jet.crossplane.io/LinuxVirtualMachineScaleSet/v1alpha1@v0.10.0-preview
And I have issue to create resource with custom_data like we have in Terraform module :
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/linux_virtual_machine_scale_set#custom_data
Based on TF docs we can use base64 encoded file (for example cloud-init.tpl file).
When in provider-jet-azure - v0.10.0-preview I should provide custom_data as secret (by the way not clear why it should be secret and not path to file or ConfigMap):
I am trying to create secret with base64 encoded file and I am getting an error:
Message: create failed: cannot apply: apply failed: creating Linux Virtual Machine Scale Set "lior-vmss" (Resource Group "lior-rg"): compute.VirtualMachineScaleSetsClient#CreateOrUpdate: Failure sending request: StatusCode=0 -- Original Error: Code="InvalidParameter" Message="Custom data in OSProfile must be in Base64 encoding and with a maximum length of 87380 characters." Target="customData": : File name: main.tf.json
Please assist or forward my question to technical specialist that can provide help.
Will be highly appreciated.
The text was updated successfully, but these errors were encountered: