Grab the heat admin password from file

This commit is contained in:
Arif Ali 2023-09-13 16:51:11 +01:00
parent dfc62310d6
commit 5c13e4d5f6
Signed by: arif
GPG Key ID: 369608FBA1353A70
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,6 @@
resource "openstack_identity_project_v3" "heat_domain" {
name = "heat"
description = "(tf managed) Domain for heat"
description = "Stack projects and users"
enabled = true
is_domain = true
}
@ -9,7 +9,7 @@ resource "openstack_identity_user_v3" "heat_domain_admin" {
domain_id = openstack_identity_project_v3.heat_domain.id
name = "heat_domain_admin"
password = "Ht8NdKTGdpJjRsS4V33tsVW4mSztgZMs" # leader-get heat-domain-admin-passwd
password = file("heat-domain-admin-passwd")
}
resource "openstack_identity_role_assignment_v3" "heat_admin_role_assignment" {

View File

@ -0,0 +1 @@
Ht8NdKTGdpJjRsS4V33tsVW4mSztgZMs