crossplane / terrajet

Generate Crossplane Providers from any Terraform Provider
https://crossplane.io
Apache License 2.0
290 stars 38 forks source link

Reference network interface in VM creation #284

Open vishnujanardhanan opened 2 years ago

vishnujanardhanan commented 2 years ago

Hi, This is not a bug, but i need help with configuring the network interface in VM's spec. I'm using terrajet to create a VM in azure and it has a field called spec -> networkInterfaceIds. However I have defined Network interface and VM in the same composition file so not sure how i reference Network interface id in VM's spec? Attaching my compostion file for reference. Please help.

apiVersion: apiextensions.crossplane.io/v1 kind: Composition metadata: name: compositiont0services.vj.com labels: provider: azure vnet: crossplane-poc-new spec: compositeTypeRef: apiVersion: vj.com/v1alpha1 kind: crdt0service resources: