File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ export AWS_ACCESS_KEY_ID="<your_access_key>"
7
7
export AWS_SECRET_ACCESS_KEY="<your_secret_access_key>"
8
8
```
9
9
10
+ To define the region (depending on our needs), follow this guide:
11
+ https://help.ovhcloud.com/csm/en-gb-public-cloud-storage-s3-location?id=kb_article_view&sysparm_article=KB0047382
12
+
13
+ And then update the region variable in the ` variables.tf ` file.
10
14
11
15
Run the TF command ` terraform apply ` :
12
16
``` bash
Original file line number Diff line number Diff line change @@ -8,14 +8,14 @@ terraform {
8
8
9
9
# Configure the AWS Provider
10
10
provider "aws" {
11
- region = " gra "
11
+ region = " ${ var . region } "
12
12
13
13
# OVH implementation has no STS service
14
14
skip_credentials_validation = true
15
15
skip_requesting_account_id = true
16
16
# the gra region is unknown to AWS hence skipping is needed.
17
17
skip_region_validation = true
18
18
endpoints {
19
- s3 = " https://s3.gra .io.cloud.ovh.net"
19
+ s3 = " https://s3.${ var . region } .io.cloud.ovh.net"
20
20
}
21
21
}
Original file line number Diff line number Diff line change
1
+ variable "region" {
2
+ default = " gra"
3
+ }
You can’t perform that action at this time.
0 commit comments