liveBook · Manning

Role

As explained in Effective Platform Engineering

A cloud role is a permission-bearing identity configuration that can be assumed by an authorized user, service, or pipeline.

A cloud role defines permissions that an authorized identity can assume. In AWS infrastructure pipelines, give each pipeline a role with the permissions needed for its intended changes; give its service account permission to assume that role rather than placing the resource permissions on the account itself. section 6.4.4

Manage pipeline roles through a dedicated first pipeline, and keep them consistent across product accounts. Even if only a few Terraform pipelines configure cloud resources, each needs a dedicated role scoped to the resources it manages. Kubernetes controllers and operators can handle many other platform resources without adding Terraform workflows. section 6.4.4

Figure 6.17 This diagram illustrates how service accounts and permissions are structured across multiple environments—state, sandbox, non-production, and production. Platform engineers interact with these accounts through a centralized SSO integration. Each environment contains a consistent set of roles that pipelines assume to execute changes, ensuring uniformity and security across the platform’s lifecycle.
A close-up of a white sheet

AI-generated content may be incorrect.

The account diagram shows service accounts assuming a consistent set of pipeline roles across environments. section 6.4.4

How Effective Platform Engineering covers it

How deep it goes
Defines role assumption and describes a dedicated role-management pipeline, without detailing individual permission policies.
Examples
Illustrates consistent pipeline roles across state, sandbox, non-production, and production accounts.
What you can do after
Operate/configure AWS pipeline roles so service accounts can assume permissions scoped to each pipeline’s resources.
How it connects
Connects IAM roles to service accounts, Terraform pipelines, AWS accounts, and Kubernetes controllers and operators.

Also explained in

Compare how 11 books explain role →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Effective Platform Engineering. The section links point to the parts of the book it draws on.