How to connect Terraform from ServiceNow

anilkumarsharma
Giga Guru

Hi Team

i am trying to connect with ServiceNow instance with Terraform  but i have confused on some points.

install CPG module in PDI instance.

Install Terraform connector.

login in azure portal and created window vm machine.

on VM, I have installed the terraform which is executing .tf file and creating resource and VM

 

But problem is here that, i am not able to understand how i connect with ServiceNow when i click on create config provider

URL: which URL or IP address do I need to configure ?

Base Directory : I have installed the terrforam.exe in C drive. do i need to update the same directory here?

Server Type: Window.

Credential: i created windows credential and update  user name and password which i login on VM machine but it is not working. Please help on this.

find_real_file.png

 

 

 

 

7 REPLIES 7

Yousaf
Giga Sage

Hi Anil,

Check this link 

https://www.terraform.io/cloud-docs/integrations/service-now

 

Mark Correct or helpful if it helps.

Thanks,
Yousaf


***Mark Correct or Helpful if it helps.***

Thanks for the update. i have seen the document which is shared by you but terraform is runing on windows VM  hence i want to make the connecton based on windows machine.

 

 

this is wrong document as it is referring to the Hashicorp app - not the ServiceNow app.

Ram Devanathan1
ServiceNow Employee
ServiceNow Employee

in the config provider creation dialog -

for url you need to give full hostname or ip address of your windows machine.

please test your windows credentials with this once, in the credential record page.

credential - pick the windows credential you just setup

version - doesn't matter - just select 1.0