From 7ae21aba7e2468d35796f59c9800b1e09d1616c6 Mon Sep 17 00:00:00 2001 From: Alireza Karami Date: Tue, 22 Nov 2022 21:59:36 +0330 Subject: [PATCH] using .ir instead of .com for API. --- README.md | 6 +++--- internal/api/api.go | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 615fe37..8d1ae3d 100644 --- a/README.md +++ b/README.md @@ -5,14 +5,14 @@ # Terraform Provider for ArvanCloud ### How to use -1. Get an API Key from [ArvanCloud Dashboard](https://panel.arvancloud.com/profile/api-keys) +1. Get an API Key from [ArvanCloud Dashboard](https://panel.arvancloud.ir/profile/api-keys) 2. Create a `main.tf` file and put the following content into (boilerplate): ```tf terraform { required_providers { arvan = { source = "arvancloud/arvan" - version = "0.6.3" # put the version here + version = "0.6.4" # put the version here } } } @@ -35,7 +35,7 @@ terraform { required_providers { arvan = { source = "arvancloud/arvan" - version = "0.6.3" + version = "0.6.4" } } } diff --git a/internal/api/api.go b/internal/api/api.go index 947d9b7..f06c3f4 100644 --- a/internal/api/api.go +++ b/internal/api/api.go @@ -11,7 +11,7 @@ import ( ) const ( - BasePath = "https://napi.arvancloud.com" + BasePath = "https://napi.arvancloud.ir" DefaultTimeout = 1 * time.Minute RequesterContext = "requesterContext" )