cloud-foundation-fabric icon indicating copy to clipboard operation
cloud-foundation-fabric copied to clipboard

Apigee Control Plane created with IaC with least priveledge. Update in Read me

Open aramkrishna opened this issue 2 years ago • 4 comments

Per https://www.googlecloudcommunity.com/gc/Apigee/Apigee-Organization-Admin-roles-apigee-admin-IIAM-role-when/m-p/488427#M72897 creating the FR Looks like for Apigee Hybrid Control Plane creation using cloud-foundation-fabric/modules/apigee-organization at master · GoogleCloudPlatform/cloud-foundation... will require additional roles and don't define required Roles

Please update what type of CRUD permissions on the following resources is required ? to justify .. I am not sure, if those details may be also included to cloud-foundation-fabric/README.md at master · GoogleCloudPlatform/cloud-foundation-fabric (github.co... as a best practice ?

Listed link provides predefined roles for Apigee IAM basic and predefined roles reference | IAM Documentation | Google Cloud

For Such use cases what should be the such role (to be defined) if specifically required by terraform ? If read only is not enough.

apigee.organization apigee.envgroups apigee.environments apigee.envgroupattachments

aramkrishna avatar Nov 12 '22 02:11 aramkrishna

I'm not sure I understand what's the ask here. Do you want README to mention the roles required to deploy an Apigee Hybrid instance?

juliocc avatar Nov 12 '22 11:11 juliocc

It should indicate required service account roles based on least privilege principle

aramkrishna avatar Nov 12 '22 12:11 aramkrishna

Great idea. Can you send a PR with those changes?

juliocc avatar Nov 12 '22 17:11 juliocc

Can I just semi-seriously comment that RTFM is always a good practice? What is the better link to add to our docs, for people who don't follow that practice?

ludoo avatar Nov 14 '22 09:11 ludoo