-
Notifications
You must be signed in to change notification settings - Fork 38
Issue when creating ServiceNow Crossplane Provider code #258
Comments
@gaurav218 could you check if you have any details in the following file https://github.com/crossplane-contrib/provider-jet-template/blob/main/Makefile#L91 |
Thnx for the response, the issue was with wrong source value. I did ran "make generate" and now getting below logs in /terraform-logs.txt file- Initializing the backend... Initializing provider plugins...
Partner and community providers are signed by their developers. Terraform has created a lock file .terraform.lock.hcl to record the provider Terraform has been successfully initialized! You may now begin working with Terraform. Try running "terraform plan" to see If you ever set or change modules or backend configuration for Terraform, But I received following error in cmd - build command-line-arguments: cannot load embed: malformed module path "embed": missing dot in first path element |
assume this error is due to old go version and need to upgrade to 1.16 or above |
@turkenh, thnx for your support. I am getting an error related to github repo not exist. When I checked in https://github.com/orgs/crossplane-contrib/repositories?q=&type=all&language=&sort=
|
@turkenh any pointers here on above issue. The target state is to manage this multicloud environment using Crossplane. We need custom servicenow provider to create managed resources for apps teams. Can you suggest what are the exact steps to achieve it. |
@gaurav218 it is a bit hard to follow here, any chance that you can share your latest state with a repo/PR so that I can check/reproduce the issue on my side? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This is not a bug due to Terra Jet provider but I am facing an issue while creating ServiceNow provider code using Terra Jet provider template. When I run make generate it displays below error -
14:18:25 [ .. ] verify dependencies have expected content
all modules verified
14:18:25 [ OK ] go modules dependencies verified
14:18:25 [ .. ] generating provider schema for integrations/servicenow 0.9.5
make[1]: *** [Makefile:90: config/schema.json] Error 1
make: *** [build/makelib/common.mk:418: generate] Error 2
My guess is this could be due to the fact that Terraform ServiceNow provider is a custom provider and thats why terra jet is unable to create a proper schema.json. I am only trying to create code for "application" managed resource in ServiceNow.
Can anyone suggest where I am doing wrong here -
Pl. find my makefile export section snippet.
export TERRAFORM_VERSION := 1.1.6
export TERRAFORM_PROVIDER_SOURCE := integrations/servicenow
export TERRAFORM_PROVIDER_VERSION := 0.9.5
export TERRAFORM_PROVIDER_DOWNLOAD_NAME := terraform-provider-servicenow
export TERRAFORM_PROVIDER_DOWNLOAD_URL_PREFIX := https://github.com/tylerhatton/terraform-provider-servicenow/releases/v0.9.5
schema.json format -
{"format_version":"1.0","provider_schemas":{"registry.terraform.io/hashicorp/null":{"provider":{"version":0,"block":{"description_kind":"plain"}},"resource_schemas":{"null_resource":{"version":0,"block":{"attributes":{"id":{"type":"string","description":"This is set to a random value at create time.","description_kind":"markdown","computed":true},"triggers":{"type":["map","string"],"description":"A map of arbitrary strings that, when changed, will force the null resource to be replaced, re-running any associated provisioners.","description_kind":"markdown","optional":true}},"description":"The
null_resource
resource implements the standard resource lifecycle but takes no further action.\n\nThetriggers
argument allows specifying an arbitrary set of values that, when changed, will cause the resource to be replaced.","description_kind":"markdown"}}},"data_source_schemas":{"null_data_source":{"version":0,"block":{"attributes":{"has_computed_default":{"type":"string","description":"If set, its literal value will be stored and returned. If not, its value defaults to\"default\"
. This argument exists primarily for testing and has little practical use.","description_kind":"markdown","optional":true,"computed":true},"id":{"type":"string","description":"This attribute is only present for some legacy compatibility issues and should not be used. It will be removed in a future version.","description_kind":"markdown","deprecated":true,"computed":true},"inputs":{"type":["map","string"],"description":"A map of arbitrary strings that is copied into theoutputs
attribute, and accessible directly for interpolation.","description_kind":"markdown","optional":true},"outputs":{"type":["map","string"],"description":"After the data source is "read", a copy of theinputs
map.","description_kind":"markdown","computed":true},"random":{"type":"string","description":"A random value. This is primarily for testing and has little practical use; prefer the hashicorp/random provider for more practical random number use-cases.","description_kind":"markdown","computed":true}},"description":"Thenull_data_source
data source implements the standard data source lifecycle but does not\ninteract with any external APIs.\n\nHistorically, thenull_data_source
was typically used to construct intermediate values to re-use elsewhere in configuration. The\nsame can now be achieved using locals.\n","description_kind":"markdown","deprecated":true}}}}}}The text was updated successfully, but these errors were encountered: