File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
environments/skeleton/{{cookiecutter.environment}}/tofu Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -13,14 +13,22 @@ data "openstack_networking_subnet_v2" "cluster_subnet" {
13
13
name = each. value . subnet
14
14
}
15
15
16
+ data "openstack_identity_auth_scope_v3" "scope" {
17
+ # This is an arbitrary name which is only used as a unique identifier so an
18
+ # actual token isn't used as the ID.
19
+ name = " scope"
20
+ }
21
+
16
22
data "openstack_networking_secgroup_v2" "login" {
17
23
for_each = toset (var. login_security_groups )
18
24
19
25
name = each. key
26
+ tenant_id = data. openstack_identity_auth_scope_v3 . scope . project_id
20
27
}
21
28
22
29
data "openstack_networking_secgroup_v2" "nonlogin" {
23
30
for_each = toset (var. nonlogin_security_groups )
24
31
25
32
name = each. key
33
+ tenant_id = data. openstack_identity_auth_scope_v3 . scope . project_id
26
34
}
You can’t perform that action at this time.
0 commit comments