-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add a lien for the seed project #136
feat: add a lien for the seed project #136
Conversation
Thanks for the PR! 🚀 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR @cagataygurturk
This makes sense to me. Let's expose this as a variable so users have control. In the next breaking release we can flip this variable to a default of true. /cc @rjerrems
@bharathkkb I'm not sure we need to make this a variable, since Terraform will handle tearing down the lien properly. It also doesn't need to be a breaking release since AFAIK it won't break anything. |
I have considered making this a variable but I then thought there is not a situation where a user wouldn't want a lien. After all this module is encouraging a secure design based on IaC and a lien makes 100% sure that the very important seed project can't be shut down easily out of IaC. |
@cagataygurturk makes sense, for some reason I thought TF deleting the lien was a no-op. But @morgante is right, we can keep as is. |
/gcbrun |
Hi! There seems to be a permission that my service account does not have, which makes my pipelines fail as I get the following error message:
In my module "seed_bootstrap" {
source = "terraform-google-modules/bootstrap/google"
version = "5.0.0"
sa_org_iam_permissions = [
"roles/accesscontextmanager.policyAdmin",
"roles/billing.user",
"roles/compute.networkAdmin",
"roles/compute.xpnAdmin",
"roles/compute.xpnAdmin",
"roles/iam.securityAdmin",
"roles/iam.serviceAccountAdmin",
"roles/iam.serviceAccountTokenCreator",
"roles/logging.configWriter",
"roles/orgpolicy.policyAdmin",
"roles/resourcemanager.folderAdmin",
"roles/resourcemanager.organizationViewer",
"roles/resourcemanager.projectCreator",
"roles/securitycenter.notificationConfigEditor",
"roles/storage.admin",
"roles/storage.objectAdmin"
] What am I missing ? |
@bdubaut please try with roles/resourcemanager.lienModifier |
Thanks! I just tried and unfortunately I get the same error:
|
Fixes #135