Open gthieleb opened 1 year ago
Are you trying to run a 2nd custom cloudinit config? By looking at the code, it seems that the resources input is "read only".
@an2ane yes, the deployment of the Linux VM ships already with a cloudconfig. I want to inject additional cloudconfig commands. What property should i use instead of the resource property?
@an2ane Hi do you have any idea how to inject cloudinit Code? I recently discovered the 'blueprint_content' property [1]. This has the side effect that one needs to inject the whole blueprint instead of only the cloudinit part.
@gthieleb No, this is a work I have to do as well on my side. I know you can have 3 kind of cloud init.
On my side, I don't use the 2. Our OS team have theirs, which I don't change. And I have my own inside the cloud template.
Two ways I was thinking about, are:
Either way, not the greatest solution.
Hope it could help.
@an2ane thanks for your suggestions. I tend to using 1. as I think I have access to the cloud template and using the catalog blue print datasource [2] as an input.
@an2ane It seems I need some permissions to access the catalog source blueprint. Currently I do not have access.
Code of Conduct
This project has a Code of Conduct that all participants are expected to understand and follow:
vRA Version
Version 8.11.2.30052 (21452955)
Terraform Version
Terraform v1.4.0 on linux_amd64
vRA Terraform Provider Version
Affected Resource(s)
vra_deployment
Terraform Configuration Files
Expected Behavior
The deployment (Ubuntu/SLES) should be deployed with a custom cloud init configuration.
An example yaml used in vRA deployment blueprint:
Actual Behavior
Steps to Reproduce
terraform apply
Community Note