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" {
1313 name = each. value . subnet
1414}
1515
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+
1622data "openstack_networking_secgroup_v2" "login" {
1723 for_each = toset (var. login_security_groups )
1824
1925 name = each. key
26+ tenant_id = data. openstack_identity_auth_scope_v3 . scope . project_id
2027}
2128
2229data "openstack_networking_secgroup_v2" "nonlogin" {
2330 for_each = toset (var. nonlogin_security_groups )
2431
2532 name = each. key
33+ tenant_id = data. openstack_identity_auth_scope_v3 . scope . project_id
2634}
You can’t perform that action at this time.
0 commit comments