Skip to content
This repository was archived by the owner on Mar 1, 2023. It is now read-only.

Commit ae0171c

Browse files
committed
Updated all cdn urls
1 parent 49ae45a commit ae0171c

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

docs/resources/gcore_cdn_origingroup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ provider gcore {
1717
user_name = "test"
1818
password = "test"
1919
gcore_platform = "https://api.gcdn.co"
20-
gcore_cdn_api = "https://api.gcdn.co"
20+
gcore_cdn_api = "https://api.gcdn.co/cdn"
2121
}
2222
2323
resource "gcore_cdn_origingroup" "origin_group_1" {

docs/resources/gcore_cdn_resource.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ provider gcore {
1717
user_name = "test"
1818
password = "test"
1919
gcore_platform = "https://api.gcdn.co"
20-
gcore_cdn_api = "https://api.gcdn.co"
20+
gcore_cdn_api = "https://api.gcdn.co/cdn"
2121
}
2222
2323

docs/resources/gcore_cdn_rule.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ provider gcore {
1717
user_name = "test"
1818
password = "test"
1919
gcore_platform = "https://api.gcdn.co"
20-
gcore_cdn_api = "https://api.gcdn.co"
20+
gcore_cdn_api = "https://api.gcdn.co/cdn"
2121
}
2222
2323
resource "gcore_cdn_origingroup" "origin_group_1" {

docs/resources/gcore_cdn_sslcert.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ provider gcore {
1717
user_name = "test"
1818
password = "test"
1919
gcore_platform = "https://api.gcdn.co"
20-
gcore_cdn_api = "https://api.gcdn.co"
20+
gcore_cdn_api = "https://api.gcdn.co/cdn"
2121
}
2222
2323
variable "cert" {

examples/resources/gcore_cdn_origingroup/resource.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ provider gcore {
22
user_name = "test"
33
password = "test"
44
gcore_platform = "https://api.gcdn.co"
5-
gcore_cdn_api = "https://api.gcdn.co"
5+
gcore_cdn_api = "https://api.gcdn.co/cdn"
66
}
77

88
resource "gcore_cdn_origingroup" "origin_group_1" {

examples/resources/gcore_cdn_resource/resource.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ provider gcore {
22
user_name = "test"
33
password = "test"
44
gcore_platform = "https://api.gcdn.co"
5-
gcore_cdn_api = "https://api.gcdn.co"
5+
gcore_cdn_api = "https://api.gcdn.co/cdn"
66
}
77

88

examples/resources/gcore_cdn_rule/resource.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ provider gcore {
22
user_name = "test"
33
password = "test"
44
gcore_platform = "https://api.gcdn.co"
5-
gcore_cdn_api = "https://api.gcdn.co"
5+
gcore_cdn_api = "https://api.gcdn.co/cdn"
66
}
77

88
resource "gcore_cdn_origingroup" "origin_group_1" {

examples/resources/gcore_cdn_sslcert/resource.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ provider gcore {
22
user_name = "test"
33
password = "test"
44
gcore_platform = "https://api.gcdn.co"
5-
gcore_cdn_api = "https://api.gcdn.co"
5+
gcore_cdn_api = "https://api.gcdn.co/cdn"
66
}
77

88
variable "cert" {

gcore/provider.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ func Provider() *schema.Provider {
6666
Type: schema.TypeString,
6767
Optional: true,
6868
Description: "CDN API",
69-
DefaultFunc: schema.EnvDefaultFunc("GCORE_CDN_API", ""),
69+
DefaultFunc: schema.EnvDefaultFunc("GCORE_CDN_API", "https://api.gcdn.co/cdn"),
7070
},
7171
"gcore_storage_api": &schema.Schema{
7272
Type: schema.TypeString,

0 commit comments

Comments
 (0)