-
Notifications
You must be signed in to change notification settings - Fork 6
Create projects without default owner role #69
Copy link
Copy link
Open
Labels
area:acceleratorAccelerator Terraform/OpenTofu roots, modules and examplesAccelerator Terraform/OpenTofu roots, modules and exampleseffort:lArchitecture, lifecycle or multiple systems; split before implementationArchitecture, lifecycle or multiple systems; split before implementationenhancementNew feature or requestNew feature or requestneeds-investigationValidate API/provider behavior or product contract before implementationValidate API/provider behavior or product contract before implementationpriority:p1High impact correctness, security or required product capability; schedule firstHigh impact correctness, security or required product capability; schedule first
Description
Activity
Metadata
Metadata
Assignees
Labels
area:acceleratorAccelerator Terraform/OpenTofu roots, modules and examplesAccelerator Terraform/OpenTofu roots, modules and exampleseffort:lArchitecture, lifecycle or multiple systems; split before implementationArchitecture, lifecycle or multiple systems; split before implementationenhancementNew feature or requestNew feature or requestneeds-investigationValidate API/provider behavior or product contract before implementationValidate API/provider behavior or product contract before implementationpriority:p1High impact correctness, security or required product capability; schedule firstHigh impact correctness, security or required product capability; schedule first
We are using stackit-landing-zone together with a multi-cloud management platform. We don't want to hand out owner permissions to our application teams as it allows them to perform various privileged operations that the platform team wants exclusive control over (e.g. project lifecycle, tags, for some landing zone variants also IAM).
Currently the terraform provider forces us to provide an
owner_emailwhich ends up as amemberon the project create payload.The docs for the project create endpoint https://docs.api.eu01.stackit.cloud/documentation/resource-manager/version/unversioned#tag/Projects/operation/create-project
say of
members:The doc is wrong, as it works just fine with a service account. I've filed this under a support ticket
SSD-25050to request clarification of the docs.However, I'd like to set no initial owner member at all (ie empty
membersparameter). I'm happy with having an SA + org level permissions to manage the project. What I'd like to request for the stackit-landing-zone reference implementation is to support a "owner-less" projects by default (in the sense of: projects without a member that has the owner role assigned, only custom roles). I understand supporting this feature request requires the interplay of multiple components (resource-manager API, tofu provider, this repo), so I'm posting this here to document the use case from the landing zone side.