make org id optional
bharathkkb opened this issue · 2 comments
bharathkkb commented
TL;DR
Org id could be made optional when folder is used.
Terraform Resources
No response
Detailed design
No response
Additional information
No response
oliverboehme-ida commented
From what I see here, folder_id
is already preferred if both folder_id
and org_id
are given.
Only thing that is missing is a default
on org_id
so it would be optional.
And maybe some smart check that one of both variables has to be set, anything else?
bharathkkb commented
It is preferred but currently the input var is a required which we could make optional
terraform-google-project-factory/variables.tf
Lines 29 to 32 in 6b0412e