Comments (3)
Hi @krdawid,
For fetching SITE24X7_CLIENT_ID, SITE24X7_CLIENT_SECRET and SITE24X7_REFRESH_TOKEN, visit https://api-console.zoho.com/ and choose the self client option. Copy the Client ID, Client Secret and paste them in the below command. Please give Site24x7.account.All,Site24x7.admin.All,Site24x7.reports.All,Site24x7.operations.All,Site24x7.msp.All,Site24x7.bu.All in the scope field and click the "Create" button. Copy the generated code, paste it in the below command and execute the same.
curl https://accounts.zoho.com/oauth/v2/token
-X POST
-d "client_id=<CLIENT_ID>"
-d "client_secret=<CLIENT_SECRET>"
-d "code=<GENERATED_CODE>"
-d "grant_type=authorization_code" --insecure
Command output will be similar to the one below
{"access_token":"1000.sdfsdf.sdfsdf","refresh_token":"1000.asdqwewqe.qweqwe","api_domain":"https://www.zohoapis.com","token_type":"Bearer","expires_in":3600}
In your terraform file, please configure the client ID, client secret and refresh token in the above command output.
Please let us know if you face any issues.
Note: Domain names vary based on your data center
-
United States - https://accounts.zoho.com and https://api-console.zoho.com
-
Europe - https://accounts.zoho.eu and https://api-console.zoho.eu
-
China - https://accounts.zoho.com.cn and https://api-console.zoho.com.cn
-
India - https://accounts.zoho.in and https://api-console.zoho.in
-
Australia - https://accounts.zoho.com.au and https://api-console.zoho.com.au
Thanks & Regards,
Jim
from terraform-provider-site24x7.
Hi @krdawid,
Can you enable debugging and then run "terraform apply". Please copy and send us your command prompt output to [email protected] along with your terraform file.
To enable debugging, execute the below command.
- export TF_LOG=trace
Thanks & Regards,
Jim
from terraform-provider-site24x7.
Can you please change data_center = "Europe" to data_center = "EU"
from terraform-provider-site24x7.
Related Issues (20)
- why is check_frequency a string instead of a number? HOT 1
- rest_api_monitor documentation duplicate reference
- `mobile_settings` Parameters Not Setting for `site24x7_user`
- `primary_response_time_trouble_threshold` Parameter Not Setting for `site24x7_threshold_profile` Resource.
- `lookup_type` Parameter Not Setting to "MX" for `search_config` Block in `site24x7_dns_server_monitor` Resource
- inconsistent value for template_id
- Unable to Import `site24x7_web_transaction_browser_monitor`
- location_profile outer_regions_location_consent is set always to false
- tag_names is not idempotent HOT 1
- response_headers_severity does not allow down value
- "Invalid data provided for the resource" when updating site24x7_web_transaction_browser_monitor HOT 1
- panic in terraform-provider-site24x7_v1.0.90 plugin
- match_xml not supported for site24x7_rest_api_monitor
- Cron Threshold - issues setting variable
- inconsistency in default value
- site24x7_monitor_group deletion is not recognized from state
- site24x7_ping_monitor does not support domain_name
- RestAPI resource weird behaviour with json_schema attribute
- feature request
- Data block not working for Credential Profile HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-provider-site24x7.