Skip to content

Commit 0552c28

Browse files
committed
add region for share-max
1 parent ac810a9 commit 0552c28

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11

22
variable "project_id" {}
3+
variable "region" {}
34
variable "name" {}
45
variable "rules" {}
5-
variable "region" {}
66

77
resource "stackit_sfs_export_policy" "exportpolicy" {
88
project_id = var.project_id
9+
region = var.region
910
name = var.name
1011
rules = var.rules
11-
region = var.region
1212
}

stackit/internal/services/sfs/testdata/resource-pool-max.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11

22
variable "project_id" {}
3+
variable "region" {}
34
variable "name" {}
45
variable "availability_zone" {}
56
variable "performance_class" {}
67
variable "size_gigabytes" {}
78
variable "acl" {}
89
variable "snapshots_are_visible" {}
9-
variable "region" {}
1010

1111
resource "stackit_sfs_resource_pool" "resourcepool" {
1212
project_id = var.project_id

stackit/internal/services/sfs/testdata/share-max.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11

22
variable "project_id" {}
3+
variable "region" {}
34
variable "resource_pool_name" {}
45
variable "export_policy_name" {}
56
variable "name" {}
@@ -21,6 +22,7 @@ resource "stackit_sfs_export_policy" "exportpolicy" {
2122

2223
resource "stackit_sfs_share" "share" {
2324
project_id = var.project_id
25+
region = var.region
2426
resource_pool_id = stackit_sfs_resource_pool.resourcepool.resource_pool_id
2527
name = var.name
2628
export_policy = stackit_sfs_export_policy.exportpolicy.name

0 commit comments

Comments
 (0)