latest run 54 pass 0 fail 0 skipevidence →
HKB Operations: pages
HKB OperationsKnowledge space

Starred pages

Pages

Page directory · Labels · [ hides this

hkb-master-org-cfn

CloudFormation service role for hkb-org-mgmt-policies and hkb-org-declarative only, on hand-run change sets.

  • Lives in: Management. Trusted by: cloudformation.amazonaws.com.
  • Boundary: hkb-pipeline-boundary.
  • Reach: 10 named actions across 2 services (organizations, ssm); 2 statements on all resources.
  • Source: bootstrap/hkb-master-org-cfn.yaml, resource MasterOrgCfnRole.

Trust policy

AssumeRolePolicyDocument:
  Version: "2012-10-17"
  Statement:
    - Effect: Allow
      Principal:
        Service: cloudformation.amazonaws.com
      Action: sts:AssumeRole
      Condition:
        StringEquals:
          aws:SourceAccount: !Ref AWS::AccountId

Permissions

Policies:
  - PolicyName: hkb-master-org-cfn
    PolicyDocument:
      Version: "2012-10-17"
      Statement:
        - Sid: ManageTagAiOptOutAndDeclarativePolicies
          Effect: Allow
          Action:
            - organizations:CreatePolicy
            - organizations:UpdatePolicy
            - organizations:DeletePolicy
            - organizations:AttachPolicy
            - organizations:DetachPolicy
            - organizations:TagResource
            - organizations:UntagResource
          Resource: "*"
          Condition:
            StringEquals:
              "organizations:PolicyType":
                - TAG_POLICY
                - AISERVICES_OPT_OUT_POLICY
                - DECLARATIVE_POLICY_EC2
        - Sid: ReadOrganizations
          Effect: Allow
          Action:
            - organizations:Describe*
            - organizations:List*
          Resource: "*"
        - Sid: ResolveIdParameters
          Effect: Allow
          Action: ssm:GetParameters
          Resource: !Sub arn:${AWS::Partition}:ssm:${AWS::Region}:${AWS::AccountId}:parameter/hkb/aws/*

Sources: DQ-24

Page information

Owner
Identity and Access
Status
current Current: generated from the templates and records in the repository at this build.
Generated from
bootstrap/hkb-master-org-cfn.yaml
Linked from
Management, Access, Roles, Member and management roles
Plain markdown
/wiki/roles/machines/hkb-master-org-cfn/index.md