Closed mikebollandajw closed 2 years ago
@mikebollandajw please see external name configuration section: https://github.com/crossplane/terrajet/blob/main/docs/configuring-a-resource.md#external-name
Hi, i believe you are saying this needs to be adjusted in GO from name to the import description on the application page?
https://registry.terraform.io/providers/hashicorp/azuread/latest/docs/resources/application#import
Ie this appears to be a guid of type id so i presume im replacing NameAsIdentifier with IdentifierFromProvider but it wasnt clear where that needs to be changed
provider-jet-azuread$ grep "NameAsIdentifier" * -R
this has been resolved by following the guide for defining custom provider https://github.com/crossplane/terrajet/blob/28422508962842a1e455eaf7879d16599644715b/docs/generating-a-provider.md?plain=1#L147
thanks again
What happened?
There is an error when trying to generate an azuread resource
How can we reproduce it?
Follow the generating a provider guide on the website and use azuread as your terraform provider
What environment did it happen in?
Crossplane version: crossplane/provider-aws:v0.24.1 k8s: v1.21.5-eks-bc4871b